STLVNUB Posted February 25, 2020 Share Posted February 25, 2020 (edited) Trying to compile with GCC5 build.py... /Users/stlvnub/OpenCorePkg/edk2/OpenCorePkg/OpenCorePkg.dsc(...): error 4000: Instance of library class [FrameBufferBltLib] is not found in [/Users/stlvnub/OpenCorePkg/edk2/OcSupportPkg/Library/OcConsoleLib/OcConsoleLib.inf] [X64] consumed by module [/Users/stlvnub/OpenCorePkg/edk2/OpenCorePkg/Platform/OpenCore/OpenCore.inf] This is from clean build edit: Give up trying to build with my modified script and GCC5/XCODE5, both error out. Using stock standard builds fine, weird. Edited February 25, 2020 by STLVNUB Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709730 Share on other sites More sharing options...
bayard Posted February 25, 2020 Share Posted February 25, 2020 (edited) 1 hour ago, n.d.k said: Ok, I just pushed out a new commit which address a couple issues: - Fixed the Install MacOS not show up due to existing custom entry. ( no need to disable custom entry before update any more) - Use custom font.png instead of HiiFont protocol which use system font. (So, please don't forget to copy font.png from Icons folder to EFI\OC\Icons). I confirm this build 0.1.1 debug is working well on an iMac A1312. Just had to load NdkBootPicker.efi in config.plist and copy font.png to EFI\OC\Icons, no others changes needed. Great. On Catalina 10.5.3 the compilation fails for me. I used your debug version. opencore-2020-02-25-043845.txt config.plist.zip Compil_failed.txt Edited February 25, 2020 by bayard Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709731 Share on other sites More sharing options...
n.d.k Posted February 25, 2020 Author Share Posted February 25, 2020 48 minutes ago, bayard said: I confirm this build 0.1.1 debug is working well on an iMac A1312. Just had to load NdkBootPicker.efi in config.plist and copy font.png to EFI\OC\Icons, no others changes needed. Great. On Catalina 10.5.3 the compilation fails for me. I used your debug version. opencore-2020-02-25-043845.txt config.plist.zip Compil_failed.txt OC was updating some of the functions which required changes on this end as well, It should be Ok now...you can recompile. Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709738 Share on other sites More sharing options...
n.d.k Posted February 25, 2020 Author Share Posted February 25, 2020 1 hour ago, TAGE said: Hi there, Trying to compile using Xcode 10.13.1 fresh install and I've compiled other xcode projects. Any ideas what's wrong? /Volumes/Home/Desktop/OpenCorePkg-master/edk2/OpenCorePkg/Platform/OpenCore/OpenCoreUefi.c:435:26: error: too few arguments to function call, single argument 'Route' was not specified OcProvideConsoleGop (); ~~~~~~~~~~~~~~~~~~~ ^ /Volumes/Home/Desktop/OpenCorePkg-master/edk2/OcSupportPkg/Include/Library/OcConsoleLib.h:132:1: note: 'OcProvideConsoleGop' declared here VOID ^ /Volumes/Home/Desktop/OpenCorePkg-master/edk2/MdePkg/Include/Base.h:278:19: note: expanded from macro 'VOID' #define VOID void ^ 1 error generated. make: *** [/Volumes/Home/Desktop/OpenCorePkg-master/edk2/Build/OpenCorePkg/DEBUG_XCODE5/X64/OpenCorePkg/Platform/OpenCore/OpenCore/OUTPUT/OpenCoreUefi.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Volumes/Home/Desktop/OpenCorePkg-master/edk2/Build/OpenCorePkg/DEBUG_XCODE5/X64/OpenCorePkg/Platform/OpenCore/OpenCore] build.py... : error F002: Failed to build module /Volumes/Home/Desktop/OpenCorePkg-master/edk2/OpenCorePkg/Platform/OpenCore/OpenCore.inf [X64, XCODE5, DEBUG] - Failed - Build end time: 23:07:28, Feb.24 2020 Build total time: 00:00:04 You didn't update the OpenCorePkg itself... always do a git pull first then build git pull ./nk-macbuild.tool 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709740 Share on other sites More sharing options...
Matgen84 Posted February 25, 2020 Share Posted February 25, 2020 1 hour ago, n.d.k said: You didn't update the OpenCorePkg itself... always do a git pull first then build git pull ./nk-macbuild.tool It is possible to integrate git pull command at the beginning of ndk-macbuild.tool to avoid do it manually. Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709748 Share on other sites More sharing options...
STLVNUB Posted February 25, 2020 Share Posted February 25, 2020 That explains problem I was having, script should git pull itself off Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709750 Share on other sites More sharing options...
eng_redaesm Posted February 25, 2020 Share Posted February 25, 2020 (edited) @n.d.k Dear I think there is aproblem here with NDKbootbicker release 12 the system requires password : before starting the graphical bootbicker Edited February 25, 2020 by eng_redaesm 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709751 Share on other sites More sharing options...
Matgen84 Posted February 25, 2020 Share Posted February 25, 2020 Hi @n.d.k I follow yours instructions: git pull ./ndk-macbuild.tool But I've this issue at the moment: /Users/mathieu/Desktop/NDK_OC_056-93723b7_16_02_2020/OpenCorePkg/edk2/OpenCorePkg/Platform/OpenCore/OpenCoreUefi.c:435:26: error: too few arguments to function call, single argument 'Route' was not specified OcProvideConsoleGop (); ~~~~~~~~~~~~~~~~~~~ ^ /Users/mathieu/Desktop/NDK_OC_056-93723b7_16_02_2020/OpenCorePkg/edk2/OcSupportPkg/Include/Library/OcConsoleLib.h:132:1: note: 'OcProvideConsoleGop' declared here VOID ^ /Users/mathieu/Desktop/NDK_OC_056-93723b7_16_02_2020/OpenCorePkg/edk2/MdePkg/Include/Base.h:278:19: note: expanded from macro 'VOID' #define VOID void ^ 1 error generated. make: *** [/Users/mathieu/Desktop/NDK_OC_056-93723b7_16_02_2020/OpenCorePkg/edk2/Build/OpenCorePkg/DEBUG_XCODE5/X64/OpenCorePkg/Platform/OpenCore/OpenCore/OUTPUT/OpenCoreUefi.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/mathieu/Desktop/NDK_OC_056-93723b7_16_02_2020/OpenCorePkg/edk2/Build/OpenCorePkg/DEBUG_XCODE5/X64/OpenCorePkg/Platform/OpenCore/OpenCore] build.py... : error F002: Failed to build module /Users/mathieu/Desktop/NDK_OC_056-93723b7_16_02_2020/OpenCorePkg/edk2/OpenCorePkg/Platform/OpenCore/OpenCore.inf [X64, XCODE5, DEBUG] - Failed - Build end time: 08:26:35, Feb.25 2020 Build total time: 00:00:03 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709753 Share on other sites More sharing options...
aylamrin Posted February 25, 2020 Share Posted February 25, 2020 Could someone kind enough to create a BootCamp or a Blackcamp based theme, complete with selector arrows? Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709758 Share on other sites More sharing options...
btwise Posted February 25, 2020 Share Posted February 25, 2020 @ndk Update to the latest fork, boot requires password, what is this design? Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709761 Share on other sites More sharing options...
btwise Posted February 25, 2020 Share Posted February 25, 2020 2 hours ago, eng_redaesm said: @n.d.k Dear I think there is aproblem here with NDKbootbicker release 12 the system requires password : before starting the graphical bootbicker The same is true with the latest fork, which is caused by the original OC adding some audio related code, but we don't know how to use it 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709764 Share on other sites More sharing options...
Awesome Donkey Posted February 25, 2020 Share Posted February 25, 2020 (edited) 1 hour ago, btwise said: @ndk Update to the latest fork, boot requires password, what is this design? Getting the same issue, OC is asking for a password now. Already tried adding Misc -> Security -> EnablePassword and setting it to false. Also tried setting Misc -> Security -> AuthRestart to true but nothing fixes it. Reverted to the previous working version. Edited February 25, 2020 by Awesome Donkey Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709770 Share on other sites More sharing options...
btwise Posted February 25, 2020 Share Posted February 25, 2020 31 minutes ago, Awesome Donkey said: Getting the same issue, OC is asking for a password now. Maybe you need to consult vit9696! Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709772 Share on other sites More sharing options...
Awesome Donkey Posted February 25, 2020 Share Posted February 25, 2020 He already responded hours ago here: https://github.com/acidanthera/bugtracker/issues/737 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709773 Share on other sites More sharing options...
btwise Posted February 25, 2020 Share Posted February 25, 2020 2 minutes ago, Awesome Donkey said: He already responded hours ago here: https://github.com/acidanthera/bugtracker/issues/737 The answer does not solve the actual problem, and there is no EnablePassword option in our config file! 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709774 Share on other sites More sharing options...
Awesome Donkey Posted February 25, 2020 Share Posted February 25, 2020 (edited) 14 minutes ago, btwise said: The answer does not solve the actual problem, and there is no EnablePassword option in our config file! Yes, I'm aware of that. You can add that option if you want, but it setting it to false doesn't fix it. So we'll just have to wait and see if any developer encounters the issue and hopefully fixes it. In the meantime, build this older version (pre-OpenCoreUefiAudio) and replace BOOTx64.efi and OpenCore.efi if you want a working system again: https://github.com/n-d-k/OpenCorePkg/tree/565f1d29072fe783066473365ef12a5f34bb0303 Edited February 25, 2020 by Awesome Donkey 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709776 Share on other sites More sharing options...
Matgen84 Posted February 25, 2020 Share Posted February 25, 2020 13 minutes ago, btwise said: The answer does not solve the actual problem, and there is no EnablePassword option in our config file! Right! There is no such key in sample.plist, sample-full.plist or Difference.pdf Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709777 Share on other sites More sharing options...
Awesome Donkey Posted February 25, 2020 Share Posted February 25, 2020 24 minutes ago, Matgen84 said: Right! There is no such key in sample.plist, sample-full.plist or Difference.pdf Just add it to Misc -> Security in config.plist, like this... <key>Security</key> <dict> <key>AllowNvramReset</key> <true/> <key>AllowSetDefault</key> <true/> <key>AuthRestart</key> <false/> <key>EnablePassword</key> <false/> <key>ExposeSensitiveData</key> <integer>3</integer> <key>HaltLevel</key> <integer>2147483648</integer> <key>ScanPolicy</key> <integer>983299</integer> <key>Vault</key> <string>Optional</string> </dict> But like I said, adding it and setting it to false doesn't make any difference. Just gotta wait and hope one of the developers either encounters the issue or can reproduce it. Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709781 Share on other sites More sharing options...
pitrysha Posted February 25, 2020 Share Posted February 25, 2020 29 minutes ago, Matgen84 said: Right! There is no such key in sample.plist, sample-full.plist or Difference.pdf 0.5.6 still in development, there was no release, so some functions may not work. I think N-D-K needs to release their builds based on official releases not test ones that haven’t been finalized. 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709782 Share on other sites More sharing options...
btwise Posted February 25, 2020 Share Posted February 25, 2020 20 minutes ago, pitrysha said: 0.5.6 still in development, there was no release, so some functions may not work. I think N-D-K needs to release their builds based on official releases not test ones that haven’t been finalized. I think @n.d.k is capable of solving these problems! 27 minutes ago, Awesome Donkey said: Just add it to Misc -> Security in config.plist, like this... <key>Security</key> <dict> <key>AllowNvramReset</key> <true/> <key>AllowSetDefault</key> <true/> <key>AuthRestart</key> <false/> <key>EnablePassword</key> <false/> <key>ExposeSensitiveData</key> <integer>3</integer> <key>HaltLevel</key> <integer>2147483648</integer> <key>ScanPolicy</key> <integer>983299</integer> <key>Vault</key> <string>Optional</string> </dict> But like I said, adding it and setting it to false doesn't make any difference. Just gotta wait and hope one of the developers either encounters the issue or can reproduce it. I tested the same problem with the original OC, but developers will admit it only if they encounter the same phenomenon. Let's hope @n.d.k is brilliant! 2 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709783 Share on other sites More sharing options...
Awesome Donkey Posted February 25, 2020 Share Posted February 25, 2020 Well, considering the issue exists in the original upstream OpenCore, it likely needs to be fixed there. That said, as a temporary workaround @n.d.k could revert and remove the OpenCoreUefiAudio stuff from the fork until it's fixed. I can confirm the issue first occurs with the OpenCoreUefiAudio: Initial version commit and every commit after that. 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709784 Share on other sites More sharing options...
btwise Posted February 25, 2020 Share Posted February 25, 2020 5 minutes ago, Awesome Donkey said: Well, considering the issue exists in the original upstream OpenCore, it likely needs to be fixed there. That said, as a temporary workaround @n.d.k could revert and remove the OpenCoreUefiAudio stuff from the fork until it's fixed. I can confirm the issue first occurs with the OpenCoreUefiAudio: Initial version commit and every commit after that. Yes, the UefiAudio Support function doesn't know how to use it, so it adds to the bug! 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709785 Share on other sites More sharing options...
Matgen84 Posted February 25, 2020 Share Posted February 25, 2020 (edited) Hello guys I don't know how you can build, but me I can't: the issues come from Opencoreuefi? both NDK and Official OC of course. /Users/mathieu/Desktop/OpenCorePkg_056/OpenCorePkg/edk2/OpenCorePkg/Platform/OpenCore/OpenCoreUefi.c:408:26: error: too few arguments to function call, single argument 'Route' was not specified OcProvideConsoleGop (); ~~~~~~~~~~~~~~~~~~~ ^ /Users/mathieu/Desktop/OpenCorePkg_056/OpenCorePkg/edk2/OcSupportPkg/Include/Library/OcConsoleLib.h:132:1: note: 'OcProvideConsoleGop' declared here VOID ^ /Users/mathieu/Desktop/OpenCorePkg_056/OpenCorePkg/edk2/MdePkg/Include/Base.h:278:19: note: expanded from macro 'VOID' #define VOID void ^ 1 error generated. make: *** [/Users/mathieu/Desktop/OpenCorePkg_056/OpenCorePkg/edk2/Build/OpenCorePkg/DEBUG_XCODE5/X64/OpenCorePkg/Platform/OpenCore/OpenCore/OUTPUT/OpenCoreUefi.obj] Error 1 build.py... : error 7000: Failed to execute command make tbuild [/Users/mathieu/Desktop/OpenCorePkg_056/OpenCorePkg/edk2/Build/OpenCorePkg/DEBUG_XCODE5/X64/OpenCorePkg/Platform/OpenCore/OpenCore] build.py... : error F002: Failed to build module /Users/mathieu/Desktop/OpenCorePkg_056/OpenCorePkg/edk2/OpenCorePkg/Platform/OpenCore/OpenCore.inf [X64, XCODE5, DEBUG] - Failed - Build end time: 13:28:57, Feb.25 2020 Build total time: 00:00:10 Edited February 25, 2020 by Matgen84 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709787 Share on other sites More sharing options...
eng_redaesm Posted February 25, 2020 Share Posted February 25, 2020 @btwise and @Awesome Donkey For your information latest opencore upstream is working with NDKbootpicker release 11 (the problem with rel 12) except one issue custom entries is vanished so i revered back to older stream Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709788 Share on other sites More sharing options...
Awesome Donkey Posted February 25, 2020 Share Posted February 25, 2020 12 minutes ago, btwise said: Yes, the UefiAudio Support function doesn't know how to use it, so it adds to the bug! Don't think that's entirely accurate, if you look at the changes in Sample.plist on the repo when the OpenCoreUefiAudio stuff landed, you'll see new additions like the Audio section. https://github.com/n-d-k/OpenCorePkg/commit/77dc10b9716faf8c2161c6e539cda704401f6617 That said, even though you can probably guess what they do, those new additions to config.plist haven't been documented yet so in that regard you're correct. 1 Link to comment https://www.insanelymac.com/forum/topic/341402-customized-opencore-with-additional-features/page/21/#findComment-2709789 Share on other sites More sharing options...
Recommended Posts