4

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

talonmies
  • 70,661
  • 34
  • 192
  • 269
MetallicPriest
  • 29,191
  • 52
  • 200
  • 356
  • 1
    possible duplicate of [How to compile a 64-bit application using Visual C++ 2010 Express?](http://stackoverflow.com/questions/1865069/how-to-compile-a-64-bit-application-using-visual-c-2010-express) – Mike Kwan Mar 02 '12 at 16:04

2 Answers2

10

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.

aalpern
  • 652
  • 4
  • 8
6

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)

Nikola Smiljanić
  • 26,745
  • 6
  • 48
  • 60