thenickdude / KVM-Opencore

OpenCore disk image for running macOS VMs on Proxmox/QEMU

Home Page:https://www.nicksherlock.com/2021/10/installing-macos-12-monterey-on-proxmox-7/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build from source

netanelc305 opened this issue · comments

Hello,

I am encountering errors while attempting to build from the source code. Is there a tutorial available that can guide me through this process? Additionally, do I need to install any dependencies before building the project?

To provide more context, I have cloned the repository and executed the make command. However, I'm running into the following compilation errors:

ImageTool.c:445:3: error: use of undeclared identifier '_PCD_GET_MODE_8_PcdUefiImageFormatSupportNonFv'
  PcdGet8 (PcdUefiImageFormatSupportNonFv) = 0x00;
  ^
../../MdePkg/Include/Library/PcdLib.h:336:29: note: expanded from macro 'PcdGet8'
#define PcdGet8(TokenName)  _PCD_GET_MODE_8_##TokenName
                            ^
<scratch space>:77:1: note: expanded from here
_PCD_GET_MODE_8_PcdUefiImageFormatSupportNonFv
^
ImageTool.c:446:3: error: use of undeclared identifier '_PCD_GET_MODE_8_PcdUefiImageFormatSupportFv'
  PcdGet8 (PcdUefiImageFormatSupportFv)    = 0x03;
  ^
../../MdePkg/Include/Library/PcdLib.h:336:29: note: expanded from macro 'PcdGet8'
#define PcdGet8(TokenName)  _PCD_GET_MODE_8_##TokenName
                            ^
<scratch space>:78:1: note: expanded from here
_PCD_GET_MODE_8_PcdUefiImageFormatSupportFv
^
../../MdePkg/Library/BasePeCoffLib2/PeCoffInit.c:488:14: error: use of undeclared identifier '_PCD_GET_MODE_32_PcdImageProtectionPolicy'
    Policy = PcdGet32 (PcdImageProtectionPolicy);
             ^
../../MdePkg/Include/Library/PcdLib.h:362:30: note: expanded from macro 'PcdGet32'
#define PcdGet32(TokenName)  _PCD_GET_MODE_32_##TokenName
                             ^
<scratch space>:66:1: note: expanded from here
_PCD_GET_MODE_32_PcdImageProtectionPolicy
^

Any guidance or assistance would be greatly appreciated. Thank you!

Which version of Xcode do you have installed?

Which version of Xcode do you have installed?

Tried 15.1,14.3,13.4.1