That what I’ve got trying to compile sample Szeta.cu in Mathlab with CUDA using nvcc.
nvmex -f nvmexopts.bat Szeta.cu -IC:\cuda\include -LC:\cuda\lib -lcufft -lcudart
nvcc fatal : nvcc cannot find a supported cl version. Only MSVC 7.1 and MSVC 8.0 are supported
C:\PROGRA~1\MATLAB\R2008B\BIN\NVMEX.PL: Error: Compile of ‘Szeta.cu’ failed.
Obviously nvcc does not like my Microsoft Visual C compiler. I tried Microsoft Visual C++ compiler version 6.0 , but the same error I have with Microsoft Visual C++ compiler version 9.0.
I changed path in nvmexopts.bat from
set VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 8.0
to
set VSINSTALLDIR=C:\Program Files\Microsoft Visual Studio 9.0
otherwice it doesn’t find any cl.exe at all.
Is there any other option to make it work except installing Microsoft Visual Studio 8.0?