1

I was about to start learning x64 assembly using this tutorial (series) but setting up Visual C++ Express just isn't working. I Have the x64 version installed and I even downloaded and installed the windows 7 SDK.

However even after installing this package I still don't have the option to select the x64 platform in the configuraion manager (watch the tutorial to see what I mean, its at approx. 4:00)

I have tried restarting C++, but that doesn't work either. Whilst there are much sources on how to make the x64 compiler working they all explain the same steps which are the ones I did.

The only thing I can think of is either re-installing c++ or rebooting.

EDIT: Rebooting doesn't work.

EDIT 2: trying the .net 4.0 Windows 7 SDK now... -> doesn't enable the x64 compiler even though it is installed (if the installer is to be believed)

CharlesB
  • 86,532
  • 28
  • 194
  • 218
Matthias Calis
  • 143
  • 1
  • 12
  • Have you set VS to use the SDK as the platform toolset? – pezcode Feb 16 '12 at 21:16
  • Probably not since I have no idea how to do that. Ill try to figure it out now. I guess I can set that under some sort of 'preferences' tab? Do you know where that is located? – Matthias Calis Feb 16 '12 at 21:25
  • Found it, but it doesn't help. I had the option to select v100 and v90 (v90 being the 2008VS Libraries). Swapping between those doesn't do the job.. – Matthias Calis Feb 16 '12 at 21:34
  • No, it should say Windows SDK. Maybe this question helps: http://stackoverflow.com/questions/4095009/switching-vs2010-to-use-windows-7-1-sdk – pezcode Feb 16 '12 at 23:49

3 Answers3

2

Visual Studio 2010 Visual C++ Express Edition does not include support for x64 compilation.

Niklas B.
  • 92,950
  • 18
  • 194
  • 224
adelphus
  • 10,116
  • 5
  • 36
  • 46
  • It should be mentioned that one can still compile for x64 with the available tools, but not from within VS. Especially, one can not debug a 64-bit app inside VS, so another debugger is needed. I recommend [Visual Dux](http://www.duxcore.com/products.html) for that. – Niklas B. Feb 20 '12 at 12:55
  • Weird, the guy in the tutorial (see my original post) has got it all working. Oh well, I moved to FASM anyway...no 64-bit for now ;) – Matthias Calis Feb 23 '12 at 19:32
  • VS2010 Express edition does not support x64 out-of-the-box, but with Windows 7 SDK and a patch (bugfix) installed, it works fine. See my answer for more details. – Eirik W Jun 03 '12 at 10:29
1

I also had problems compiling for x64 with my newly installed VS2010 Express, and Windows SDK installed. It turns out that Microsoft has found a bug with this configuration, and they have a patch that fixes this at:

http://msdn.microsoft.com/en-us/vstudio//gg697159

VS2010 Express edition does not support x64 out-of-the-box, but with Windows 7 SDK and the above mentioned patch installed, it works fine.

Eirik W
  • 3,086
  • 26
  • 29
0

You must have the Windows SDK v 7.1 otherwise this won't work. I got burned by SDK 7 too.