Win7 x64 compilation issues in the 64-bit Professional Edition

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.