Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I compile 64 bit with visual c++ 2008

With visual c++ 2008 express version, how can I compile 64 bit programs?

like image 497
MetallicPriest Avatar asked Dec 04 '22 17:12

MetallicPriest


2 Answers

Allow me to direct you to 64-Bit Programming with Visual C++. In particular, the sub-page How to: Configure Visual C++ Projects to Target 64-Bit Platforms includes this note for the Express Edition:

64-bit tools are not available on Visual C++ Express by default. To enable 64-bit tools on Visual C++ Express, install the Windows Software Development Kit (SDK) in addition to Visual C++ Express.

like image 102
aalpern Avatar answered Dec 27 '22 17:12

aalpern


You create a new configuration, in your case x64, provided that you have 64-bit toolchain installed.

Go to Build menu -> Configuration Manager -> Active solution platform -> New -> x64 (Copy settings from Win32)

like image 20
Nikola Smiljanić Avatar answered Dec 27 '22 17:12

Nikola Smiljanić