18 Star 62 Fork 27

btwise / OpenCore_NO_ACPI

 / 详情

Compilation error and new clone UDK missing?

待办的
创建于  
2022-12-03 11:42

Hello
Thank you for your debelopment effors.
First.
I git pull,./bulid_oc.tool
My rig said compiration error such as follow.
----bigin----
开始编译...
使用 XCODE5 工具链和??志在 DEBUG 版本中为 X64 架构构建 OpenCorePkg/OpenCorePkg.dsc ...
构建失败!
^
In file included from /Users/alpha/OpenCore_NO_ACPI/UDK/OpenCorePkg/Library/OcSmbiosLib/SmbiosPatch.c:33:
In file included from /Users/alpha/OpenCore_NO_ACPI/UDK/OpenCorePkg/Include/Acidanthera/Library/OcVariableLib.h:12:
/Users/alpha/OpenCore_NO_ACPI/UDK/OpenCorePkg/Include/Acidanthera/Library/OcConfigurationLib.h:350:102: error: type specifier missing, defaults to 'int' [-Werror,-Wimplicit-int]
_(OC_STRING , ShowPicker , , OC_STRING_CONSTR ("Always", _, __) , OC_DESTR (OC_STRING) )
^
---- end ----
So,
I think UDK have to be updated(or redownload),So make directory other and
git clone https://gitee.com/btwise/OpenCore_NO_ACPI.git
And try ./build_oc.tool
(I try form Japan and also VPN from honkong)
I see that senetence

开始下载/更新UDK资源,资源文件较大,根据你的网速会有不同的完成速度,请耐心等候...

but my rig do not begin downloading and exit soon (No error dumping).

Do you prepared UDK now?

Thank you.

评论 (8)

mifjpn 创建了任务

fixed,please git pull and rebuild it

Thank you.
Did you git push? :dizzy_face:
The code is already 2days old,not several hours.
I see Already up dated, when git pull. :sob:

Hello.
Thank you for developments very much.
I do "git pull" and "./build_oc.tool"
I see that senetence

开始下载/更新UDK资源,资源文件较大,根据你的网速会有不同的完成速度,请耐心等候...

And soon return to terminal prompt.
On my computer (Monterey) I can't download the UDK.
Please help me.
What is the cause?
(Using the old commit's UDK will result in a compilation error.)

HELP! Please!

Hello
I found the place that caused the ssh error.
on your gitcode,
"https://gitcode.net/btwise/ocbuild/-/raw/master/efibuild.sh"
among,
"updaterepo "https://codechina.csdn.net/btwise/audk.git" UDK master || exit 1"
"https://codechina.csdn.net/btwise/audk.git" is said to lack ssh certification.
(And stop soon)

Please fix it.

Thank you.

How to fix it:

  1. Download efibuild.sh and put it in the repo folder.
  2. Replace https://codechina.csdn.net/btwise/audk.git with https://gitcode.net/btwise/audk.git
  3. Edit build_oc.tool file at line 310 and put there ./efibuild.sh instead of the curl command
  4. Now run build_oc.tool

Alternative is to run the official OC package build and copy the UDK folder from there or just git clone --recurse-submodules https://gitcode.net/btwise/audk.git and then rename the folder audk to UDK and move to this repo folder

@btwise can you please fix this on your end? thank you

already fix it!

thank you for your work

Thank you!
and en-buildtool is nice! :laughing:

But littile bug exist・・・
Run the check schema script......
./CheckSchema.py: line 6:
Validates schema files (e.g. OcConfigurationLib.c) for being sorted.
: command not found
./CheckSchema.py: line 8: import: command not found
./CheckSchema.py: line 9: import: command not found
./CheckSchema.py: line 11: syntax error near unexpected token sys.argv' ./CheckSchema.py: line 11: if len(sys.argv) < 2:'
ERROR: OccConfigurationLib.c error!

Thnak you

登录 后才可以发表评论

状态
负责人
里程碑
Pull Requests
关联的 Pull Requests 被合并后可能会关闭此 issue
分支
开始日期   -   截止日期
-
置顶选项
优先级
参与者(3)
1
https://gitee.com/btwise/OpenCore_NO_ACPI.git
git@gitee.com:btwise/OpenCore_NO_ACPI.git
btwise
OpenCore_NO_ACPI
OpenCore_NO_ACPI

搜索帮助

53164aa7 5694891 3bd8fe86 5694891