In the Django development process, encountered a problem, that is, all local libraries must be the same number of bits, so some libraries need to recompile, work environment, can not use pirated programs, VC + + 2008\2010 Express version itself does not support X64 compilation, Most of the documentation on the web also says that the SDK is compiled later in the IDE interface. I tried the following scenarios, basically feasible.
1, my machine environment 64 bit WINDWOS7 Professional Edition, first installs the VC + + Express Edition. This installation I am using the simplest online version, the download volume is 150M, if you are not fast speed, it is best to find an ISO version to install.
2, followed by the download of the Microsoft Windows SDK for Windows 7 and. NET Framework 4 (ISO), I chose the X64 version, this thing before installation, must be all the VC Redisbute package Uninstall, in order to successfully Ann Mount
3. Go to the Windows SDK 7.1 directory on the Start menu to find the Windows SDK 7.1 command prompt, from the portal, go in with nmake/f MAKEFILE.VC compile can get 64-bit compiled version, However, sometimes it may be the cause of makefile, may x86 the compilation results will also come out, this time need to use DUMPBIN instructions to see the information compiled DLL
4, DUMPBIN directive belongs to VC + + components, so need to use VC + + Visual Studio command prompt command line entry to enter. Instruction format: Dumpbin/headers Proj.dll. Out of the information is full, the number of bits of information at the beginning of the file HEADER values below the first line of machine behind. Like the following.
PE Signature found File Type:dll file HEADER VALUES 14C Machine (x86) 5 Number of sections 15:44:51 2012
0 file pointer to symbol table 0 Number of symbols E0 size of optional header
Win7 x64 compilation issues in the 64-bit Professional Edition