X64 compilation in win7 64-bit Professional Edition

Source: Internet
Author: User

One problem encountered during Django development is that the number of digits of all local databases must be the same, so some libraries need to be re-compiled, and the work environment cannot be pirated.Program, VC ++ 2008 \ 2010 express does not support x64 compilation. Most documents on the Internet also refer to compiling the SDK on the IDE interface after SDK installation. I tried the following solutions, which are basically feasible.

1. In my machine environment, the 64-bit windwos7 Professional Edition is installed with VC ++ 2010 Express. I use the simplest online version for this installation. The download volume is 150 mb. If your network speed is low, you 'd better find an ISO version for installation.

2. Download the Microsoft Windows SDK for Windows 7 and. NET framework 4 (ISO), I have selected the x64 version. Before installation, you must Uninstall all the VC 2010 redisbute packages.

3. Go to the Windows SDK 7.1 directory in the Start menu and find the Windows SDK 7.1 command prompt command line entry. Use nmake/F makefile from this entry. the 64-bit compiled version can be obtained through VC compilation, but sometimes it may be the reason for makefile, And the x86 compilation results may also come out at the same time. In this case, you need to use the dumpbin command to check the DLL compilation information.

4. The dumpbin command is a component of VC ++, so you need to use the Visual Studio command of VC ++ to prompt the command line entry. Command Format: dumpbin/headers proj. dll. When the information is full, the number of digits is after the machine in the first line of file header values. For example

PE signature foundfile type: dllfile header values 14C machine (x86) 5 Number of sections 4f66e3f3 time date stamp mon Mar 19 15:44:51 2012 0 file pointer to symbol table 0 Number of symbols E0 size of optional Header



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.