Re: [edk2] build failure : NT32 Package and X64 architecture

Subject: Re: [edk2] build failure : NT32 Package and X64 architecture

From: Andrew Fish <>


Date: 2014-06-06 23:18:09

On Jun 6, 2014, at 3:05 PM, Rahul Bhat <> wrote:

Hi all,

My base system is a Windows 7 64 bit PC. When i build the NT32 package on an IA32 architecture, the build works perfectly and I can run the emulator. But when I build for X64 , it fails . The reason is that i get multiple LNK 2001 errors (149 unresolved errors). 

However, if I do a build clean, the build completes. Then I run into an error when using the build run. It goes to the "soucecode\edk2\Build\NT32X64\DEBUG_VS2012x86\IA32 folder to look for SecMain" folder when it should be going to the X64 folder. However, there is no executable located for SecMain in the X64 foler either. 

I dont use NT32, but the run target is hard coded in the makefile:
\tcd $(BUILD_DIR)${separator}IA32 && ".${separator}SecMain"
\tcd $(BUILD_DIR)
So I think all you need to do in a terminal window or script is:
cd  soucecode\edk2\Build\NT32X64\DEBUG_VS2012x86\X64

For the EmulatorPkg Linux/OS X we run from a script. 


Andrew Fish

Any help would be appreciated.


PS: I just started out so please excuse the really dumb questions.
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
edk2-devel mailing list