I’m using CUDA 2.1 on Win XP 64bit. This is my first usage of CUDA.
Microsoft Visual Studio 2008 was used and it contains MSVC 9.0.
I use following command (nvcc_2.1.pdf, p20) to compile the sample project in its directory(For example D:\CUDA\projects\alignedTypes).
nvcc -cuda alignedTypes.cu --compiler-bindir=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin -keep -dryrun
Problem:
nvcc cannot find a supported cl version. Only MSVC 8.0 and MSVC 9.0 are supported
The following has done:
Checking install following methods in CUDA_Getting_Started_2.1_Windows.pdf and verify the correct installation. I can execute *.exe file correctly.
Check the introduction of CUDA and found Microsoft Visual Studio 2008 was supported.
Anther command was tried"nvcc -cuda alignedTypes.cu --compiler-bindir=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\amd64\cl.exe -keep -dryrun"
but all above are still not work. I have used google to get the same problem from forum and have not find a good solution.
Can anybody tell me how to solve this?
Many thanks