Re: [edk2] Compilation error while building Nt32Pkg package

Subject: Re: [edk2] Compilation error while building Nt32Pkg package

From: "Tian, Feng" <feng.tian@intel.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2011-04-22 07:15:07

Hi, 
 You should run "edksetup.bat --nt32" if you want to build Nt32Pkg, which is used to set path to find windows.h file.

 Suggest you have a read on "Edk2 User Manual.Pdf", this document introduced the build steps of Nt32Pkg, UnixPkg and DuetPkg as well as some basic knowledge on edk2 infrastructure. It can be downloaded at edk2.sourceforge.net.

Thanks
Feng
-----Original Message-----
From: Boris Shpoungin [mailto:wmk587@yahoo.com] 
Sent: Thursday, April 21, 2011 10:49 PM
To: edk2-devel@lists.sourceforge.net
Subject: [edk2] Compilation error while building Nt32Pkg package

Hello,

I've downloaded the edk2 source tree (revision 11577) from subversion as described in "Windows systems" step by step manual and tried to build the Nt32Pkg package. 

The target.txt parameters defined as follows:
ACTIVE_PLATFORM       = Nt32Pkg/Nt32Pkg.dsc
TARGET                = DEBUG
TARGET_ARCH           = IA32
TOOL_CHAIN_TAG        = MYTOOLS

The MYTOOLS in tools_def.txt described as follows.
MYTOOLS - win32 - VS2008 for IA32/X64, WINDDK 3790.1830 for IPF, Intel EBC, Intel ASL

I got the following below error. Can anyone advise what is wrong?

Thanks


d:\development\edk\Nt32Pkg\Include\Common/WinNtInclude.h(50) : fatal error C1083
: Cannot open include file: 'windows.h': No such file or directory
NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\Vc\bin
\cl.exe"' : return code '0x2'
Stop.


build...
 : error 7000: Failed to execute command
        C:\Program Files\Microsoft Visual Studio 9.0\Vc\bin\nmake.exe /nologo tb
uild [d:\development\edk\Build\NT32\DEBUG_MYTOOLS\IA32\Nt32Pkg\Library\PeiNt32Oe
mHookStatusCodeLib\PeiNt32OemHookStatusCodeLib]


build...
 : error F002: Failed to build module
        d:\development\edk\Nt32Pkg\Library\PeiNt32OemHookStatusCodeLib\PeiNt32Oe
mHookStatusCodeLib.inf [IA32, MYTOOLS, DEBUG]

- Failed -
Build end time: 16:58:08, Apr.21 2011
Build total time: 00:08


------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel