Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

visual studio 2008 C++ no x64 platform

I installed Visual Studio 2008 on my Windows 7 x64 laptop together with installation of Service Pack 1.

Now I want to add x64 platform to my C++ solution. But there is no x64 platform available in the configuration manager for my project. I'm sure I manually selected x64 support during the Visual Studio installation and it was installed.

What is wrong with my setup?

like image 478
cubesoft Avatar asked May 12 '11 14:05

cubesoft


People also ask

How do I change from x86 to x64 in Visual Studio?

To configure a project to target a different platformOn the menu bar, choose Build > Configuration Manager. In the Active solution platform list, choose a platform for the solution to target, and then choose the Close button.

Is there a 64-bit version of Visual Studio?

Visual Studio 2022 on Windows is now a 64-bit application.

Is Visual Studio 2008 still supported?

In line with our ten-year support policy, Visual Studio 2008, its associated products, runtimes, and components will cease to be supported from April 10, 2018.


2 Answers

If I recall, VS 2008 Pro doesn't install the 64-bit compiler and tools by default. You have to explicitly select them during the installation.

  1. Control Panel -> Uninstall Programs.
  2. Select Visual Studio and click Uninstall/Change.
  3. Wait. Wait some more. Click Next.
  4. Choose Add or Remove Features.
  5. Expand MSVC 2008 -> Language Tools -> Visual C++.
  6. Select X64 Compilers and Tools.

You'll probably need your original installation media.

Once the 64-bit compiler and tools are installed, you should be able to add a 64-bit configuration to your solution.

like image 162
Adrian McCarthy Avatar answered Sep 21 '22 16:09

Adrian McCarthy


See "Use Visual Studio to build 64-bit application" for all you need to build x64 apps with Visual Studio 2008.

like image 34
joce Avatar answered Sep 23 '22 16:09

joce