Click here to Skip to main content
15,867,568 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Dear Experts,

I'm developing a CUDA application.
But I'm getting a compilation error from nvcc.
"visual studio configuration file '(null)' could not be found why this error "

I tried to compile the sample application provided in CUDA SDK. It also have the same errors.

Please find the compilation error in from my application.

1>------ Build started: Project: simpleZeroCopy, Configuration: Debug Win32 ------
1>Compiling with CUDA Build Rule...
1>"C:\CUDA\bin64\nvcc.exe" -arch sm_10 -ccbin "C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin" -Xcompiler "/EHsc /W3 /nologo /O2 /Zi /MT " -maxrregcount=32 --compile -o "Debug\cudadividesample.cu.obj" "c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src\simpleZeroCopy\cudadividesample.cu"
1>nvcc fatal : Visual Studio configuration file '(null)' could not be found for installation at 'C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/bin/../..'

Is there anything to do with the environment variables ?
Or Is any step missing from my side ?

Thanks in advance,
Posted
Comments
The_Inventor 31-Jul-13 2:50am    
OK, I'll give it the college try, ...

You are trying to create a file of some kind, the OBJ file, cudadividesample.cu.obj, is the file that is being compiled. The place where the compiler found the 'error', is in the file:

c:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK\C\src\simpleZeroCopy\cudadividesample.cu

which apparently is a 'source' file type that is used to do the implementation, and needs its header file in order to be compiled correctly.

Do you have the header, source, bin, lib, and that the NVIDA library is also called out in its respective place type locations, set correctly, in the project, to the various directory locations of the CUDA files?

The fact you are using an external compiler, and NVIDA SDK, you really need to be sure that 'everybody' knows where everything is located,

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900