Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to build? #3

Open
harrywangca opened this issue Aug 24, 2021 · 3 comments
Open

How to build? #3

harrywangca opened this issue Aug 24, 2021 · 3 comments

Comments

@harrywangca
Copy link

Totally new to edk and this. Please help me to do my very first build on Ubuntu.

I untar edk2-edk2-stable202108-rc1.tar on my ubuntu and put UefiToolsPkg into edk2-edk2-stable202108-rc1.

My steps to build:

cd edk2-edk2-stable202108-rc1
source edksetup.sh
build -p UefiToolsPkg/trunk/UefiToolsPkg.dsc
edk2-edk2-stable202108-rc1/UefiToolsPkg/trunk/UefiToolsPkg.dsc(44): error 000E: File/directory not found in workspace
edk2-edk2-stable202108-rc1/UefiToolsPkg/trunk/StdLib/StdLib.inc
edk2-edk2-stable202108-rc1/StdLib/StdLib.inc

I searched edk2-edk2-stable202108-rc1 and only found these:
./UefiToolsPkg/trunk/Library/StdLibDevConsole
./UefiToolsPkg/trunk/Library/StdLibUefi
./UefiToolsPkg/trunk/Library/StdLibInteractiveIO

In README.md under StdLibDevConsole:
This is a fixed-up version of edk2's StdLib/LibC/Uefi/Devices/Console.

Do I need do some changes in UefiToolsPkg.dsc?

Thank you
Harry

@kocoman1
Copy link

do you still need help? I was able to complie it.. but needed to remove qemuvideo in drivers because of error.. but I didn't need qemuvideo anyway for now

@yyh-yyh-yyh
Copy link

i only build to come out ShellPlatVars.efi, the others no come out .efi, the environment is win11 wsl ubuntu22.04("git clone https://github.com/tianocore/edk2)

@yyh-yyh-yyh
Copy link

Totally new to edk and this. Please help me to do my very first build on Ubuntu.

I untar edk2-edk2-stable202108-rc1.tar on my ubuntu and put UefiToolsPkg into edk2-edk2-stable202108-rc1.

My steps to build:

cd edk2-edk2-stable202108-rc1
source edksetup.sh
build -p UefiToolsPkg/trunk/UefiToolsPkg.dsc
edk2-edk2-stable202108-rc1/UefiToolsPkg/trunk/UefiToolsPkg.dsc(44): error 000E: File/directory not found in workspace
edk2-edk2-stable202108-rc1/UefiToolsPkg/trunk/StdLib/StdLib.inc
edk2-edk2-stable202108-rc1/StdLib/StdLib.inc

I searched edk2-edk2-stable202108-rc1 and only found these: ./UefiToolsPkg/trunk/Library/StdLibDevConsole ./UefiToolsPkg/trunk/Library/StdLibUefi ./UefiToolsPkg/trunk/Library/StdLibInteractiveIO

In README.md under StdLibDevConsole: This is a fixed-up version of edk2's StdLib/LibC/Uefi/Devices/Console.

Do I need do some changes in UefiToolsPkg.dsc?

Thank you Harry

after copy one StdLib from other, report error as below
error 4000: Instance of library class [LibC] is not found
in [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf] [X64]
consumed by module [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf]

additional,i can build pass with UefiToolsPkg2023.dsc, but only come out ShellPlatVars.efi , i main want grep.efi,it not come out, then me manually add UefiToolsPkg/Applications/grep/grep.inf Components into UefiToolsPkg2023.dsc, can not build successfully,report error as below:
/home/vUDK2017/UefiToolsPkg/UefiToolsPkg2023.dsc(...): error 4000: Instance of library class [LibC] is not found
in [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf] [X64]
consumed by module [/home/vUDK2017/UefiToolsPkg/Applications/grep/grep.inf]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants