NVCC won't compile WinXP64 - CL.EXE compiler not supported

NVCC won’t compile on WinXP64, the error says:

Building main.cu …
nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 8.0 and MSVC 9
.0 are supported

But I am using the AMD64 version of CL for MSVC 9.0 (Visual Studio Express 2008), so why doesn’t it work? CL version is:

Microsoft ® C/C++ Optimizing Compiler Version 15.00.30729.01 for x64
Copyright © Microsoft Corporation. All rights reserved.

usage: cl [ option… ] filename… [ /link linkoption… ]

If I try to use the 32bit version of CL.EXE, I get this error:

nvcc fatal : Visual Studio configuration file ‘(null)’ could not be found fo
installation at 'D:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin/…/

Anyone know how to fix this issue? Just trying to compile CU programs on AMD64 platforms… Thanks

Don’t quote me on this, but I’m pretty sure I read somewhere that only VS2005 is supported currently.

it works.

i have XP x64 and used the nvcc to compile the pycuda lib a few weeks ago.

check yer PATH. double-check yer ENV vars. make sure your path references are correct.

im telling you - it works fine. i had the same error while slogging through compiling pycuda as a 64 bit lib…


Thanks for the tip - I did get it working by installing Visual Studio Pro, but I still can’t compile via command line. I’m happy enough I can compile x64 in Visual Studio now.