OSDev.org

The Place to Start for Operating System Developers
It is currently Mon Mar 18, 2024 8:04 pm

All times are UTC - 6 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: building edkii trunk, anyone?
PostPosted: Mon Feb 01, 2016 9:21 pm 
Offline

Joined: Mon Feb 01, 2016 9:02 pm
Posts: 1
Hello ,I am trying to build UEFI edkII with helloworld app with vs2008, however it is not going through, does any one have experience with this before?
I am trying to follow the buildnotes2.txt that comes with the svn repository download.

Code:
c:\>
my environment :

%SystemRoot%\system32;%SystemRoot%;
%SystemRoot%\System32\Wbem;
%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;
C:\OpenSSL-Win32\bin;
C:\Python27\;
"C:\Program Files (x86)\Git\cmd";
"c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\";
"C:\Program Files (x86)\GnuWin32\bin";
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\Vc\bin\"

cd MyWorkSpace

c:\MyWorkSpace>dir
Volume in drive C has no label.
Volume Serial Number is 64F8-8493

Directory of c:\MyWorkSpace

12/16/2015  10:39 AM    <DIR>          .
12/16/2015  10:39 AM    <DIR>          ..
12/14/2015  09:42 PM    <DIR>          BaseTools
12/16/2015  10:39 AM    <DIR>          Build
12/14/2015  09:28 PM             6,694 BuildNotes2.txt
02/01/2016  12:07 PM    <DIR>          Conf
12/14/2015  09:31 PM    <DIR>          CryptoPkg
12/14/2015  09:31 PM    <DIR>          DuetPkg
12/14/2015  09:28 PM            19,173 Edk2Setup.bat
12/14/2015  09:28 PM             4,202 edksetup.bat
12/14/2015  09:31 PM    <DIR>          EdkShellBinPkg
12/14/2015  09:31 PM    <DIR>          FatBinPkg
12/14/2015  09:31 PM    <DIR>          IntelFrameworkModulePkg
12/14/2015  09:31 PM    <DIR>          IntelFrameworkPkg
12/14/2015  09:31 PM    <DIR>          MdeModulePkg
12/14/2015  09:31 PM    <DIR>          MdePkg
12/14/2015  09:31 PM    <DIR>          NetworkPkg
12/14/2015  09:31 PM    <DIR>          Nt32Pkg
12/14/2015  09:31 PM    <DIR>          PcAtChipsetPkg
12/14/2015  09:31 PM    <DIR>          PerformancePkg
12/14/2015  09:31 PM    <DIR>          SecurityPkg
12/14/2015  09:31 PM    <DIR>          ShellBinPkg
12/14/2015  09:31 PM    <DIR>          ShellPkg
12/14/2015  09:31 PM    <DIR>          SourceLevelDebugPkg
12/14/2015  09:31 PM    <DIR>          UefiCpuPkg
               3 File(s)         30,069 bytes
              22 Dir(s)  17,827,028,992 bytes free

c:\MyWorkSpace>edksetup --nt32
          PATH      = c:\MyWorkSpace\BaseTools\Bin;c:\MyWorkSpace\BaseTools\Bin\
Win32;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System3
2\WindowsPowerShell\v1.0\;C:\OpenSSL-Win32\bin;C:\Python27\;"C:\Program Files (x
86)\Git\cmd";"c:\Program Files (x86)\Microsoft SQL Server\90\Tools\binn\";"C:\Pr
ogram Files (x86)\GnuWin32\bin";"C:\Program Files (x86)\Microsoft Visual Studio
9.0\Vc\bin\"

     WORKSPACE      = c:\MyWorkSpace
EDK_TOOLS_PATH      = c:\MyWorkSpace\BaseTools

copying ... target.template to c:\MyWorkSpace\Conf\target.txt
copying ... tools_def.template to c:\MyWorkSpace\Conf\tools_def.txt
copying ... build_rule.template to c:\MyWorkSpace\Conf\build_rule.txt

Rebuilding of tools is not required.  Binaries of the latest,
tested versions of the tools have been tested and included in the
EDK II repository.

If you really want to build the tools, use the ForceRebuild option.


!!! WARNING !!! No CYGWIN_HOME set, gcc build may not be used !!!

c:\MyWorkSpace>cd MdeModulePkg

c:\MyWorkSpace\MdeModulePkg>dir
Volume in drive C has no label.
Volume Serial Number is 64F8-8493

Directory of c:\MyWorkSpace\MdeModulePkg

12/14/2015  09:31 PM    <DIR>          .
12/14/2015  09:31 PM    <DIR>          ..
12/14/2015  09:31 PM    <DIR>          Application
12/14/2015  09:31 PM    <DIR>          Bus
12/14/2015  09:28 PM            10,353 Contributions.txt
12/14/2015  09:31 PM    <DIR>          Core
12/14/2015  09:31 PM    <DIR>          Include
12/14/2015  09:31 PM    <DIR>          Library
12/14/2015  09:28 PM             1,327 License.txt
12/14/2015  09:31 PM    <DIR>          Logo
12/14/2015  09:28 PM            66,201 MdeModulePkg.dec
12/14/2015  09:28 PM            20,225 MdeModulePkg.dsc
12/14/2015  09:28 PM           142,292 MdeModulePkg.uni
12/14/2015  09:28 PM             1,350 MdeModulePkgExtra.uni
12/14/2015  09:31 PM    <DIR>          Universal
               6 File(s)        241,748 bytes
               9 Dir(s)  17,826,492,416 bytes free

c:\MyWorkSpace\MdeModulePkg>cd Application

c:\MyWorkSpace\MdeModulePkg\Application>dir
Volume in drive C has no label.
Volume Serial Number is 64F8-8493

Directory of c:\MyWorkSpace\MdeModulePkg\Application

12/14/2015  09:31 PM    <DIR>          .
12/14/2015  09:31 PM    <DIR>          ..
12/14/2015  09:31 PM    <DIR>          HelloWorld
12/14/2015  09:31 PM    <DIR>          VariableInfo
               0 File(s)              0 bytes
               4 Dir(s)  17,826,492,416 bytes free

c:\MyWorkSpace\MdeModulePkg\Application>cd HelloWorld

c:\MyWorkSpace\MdeModulePkg\Application\HelloWorld>dir
Volume in drive C has no label.
Volume Serial Number is 64F8-8493

Directory of c:\MyWorkSpace\MdeModulePkg\Application\HelloWorld

12/14/2015  09:31 PM    <DIR>          .
12/14/2015  09:31 PM    <DIR>          ..
12/14/2015  09:28 PM             1,875 HelloWorld.c
12/14/2015  09:28 PM             1,917 HelloWorld.inf
12/14/2015  09:28 PM             2,306 HelloWorld.uni
12/14/2015  09:28 PM             1,340 HelloWorldExtra.uni
               4 File(s)          7,438 bytes
               2 Dir(s)  17,826,492,416 bytes free

c:\MyWorkSpace\MdeModulePkg\Application\HelloWorld>build
Build environment: Windows-7-6.1.7601-SP1
Build start time: 12:08:47, Feb.01 2016

WORKSPACE        = c:\myworkspace
ECP_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EDK_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EFI_SOURCE       = c:\myworkspace\edkcompatibilitypkg
EDK_TOOLS_PATH   = c:\myworkspace\basetools


Architecture(s)  = IA32
Build target     = DEBUG
Toolchain        = MYTOOLS

Active Platform          = c:\myworkspace\Nt32Pkg\Nt32Pkg.dsc
Active Module            = c:\myworkspace\MdeModulePkg\Application\HelloWorld\He
lloWorld.inf
Flash Image Definition   = c:\myworkspace\Nt32Pkg\Nt32Pkg.fdf

Processing meta-data ... done!
Generating code  done!
Generating makefile . done!


build...
: error 7000: Failed to start command
        C:\Program Files\Microsoft Visual Studio 9.0\Vc\bin\nmake.exe /nologo al
l [c:\myworkspace\Build\NT32IA32\DEBUG_MYTOOLS\IA32\MdeModulePkg\Application\Hel
loWorld\HelloWorld]

- Failed -
Build end time: 12:08:50, Feb.01 2016
Build total time: 00:00:03


c:\MyWorkSpace\MdeModulePkg\Application\HelloWorld>dir
Volume in drive C has no label.
Volume Serial Number is 64F8-8493

Directory of c:\MyWorkSpace\MdeModulePkg\Application\HelloWorld

12/14/2015  09:31 PM    <DIR>          .
12/14/2015  09:31 PM    <DIR>          ..
12/14/2015  09:28 PM             1,875 HelloWorld.c
12/14/2015  09:28 PM             1,917 HelloWorld.inf
12/14/2015  09:28 PM             2,306 HelloWorld.uni
12/14/2015  09:28 PM             1,340 HelloWorldExtra.uni
               4 File(s)          7,438 bytes
               2 Dir(s)  17,826,680,832 bytes free

c:\MyWorkSpace\MdeModulePkg\Application\HelloWorld>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 6 hours


Who is online

Users browsing this forum: Google [Bot] and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group