hi all
I recently installed CUDA driver, toolkit and SDK 3.2
but it is not working
I ran a sample code from SDK marchingCube
it showed an error message as below
Error 2 fatal error LNK1181: cannot open input file ‘.\Debug\marchingCubes_kernel.cu.obj’ marchingCubes marchingCubes
I think maybe the nvcc is somehow not working, but i don’t know why
I also try to install 4.0 but still the same problem
right click on the cu file and compile it , it won’t show any error message
the command line of the building rule is as below
echo "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" -gencode=arch=compute_20,code=\"sm_20,compute_20\" --machine 32 -ccbin "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" -Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd " -I"../../common/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -maxrregcount=0 --compile -o "Debug/marchingCubes_kernel.cu.obj" marchingCubes_kernel.cu
"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\bin\nvcc.exe" -gencode=arch=compute_10,code=\"sm_10,compute_10\" -gencode=arch=compute_20,code=\"sm_20,compute_20\" --machine 32 -ccbin "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin" -Xcompiler "/EHsc /W3 /nologo /Od /Zi /MTd " -I"../../common/inc" -I"C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v4.0\include" -maxrregcount=0 --compile -o "Debug/marchingCubes_kernel.cu.obj" "c:\Documents and Settings\All Users\Application Data\NVIDIA Corporation\NVIDIA GPU Computing SDK 4.0\C\src\marchingCubes\marchingCubes_kernel.cu"
can somebody help me with this
thanks!