hello all. I am trying to compile a simple CUDA application in VS2005 under XP. I used the 1.2 version of the wizard to make the CUDA project, and am trying to compile before I have modified any part of it. Here is the full message:
nvcc fatal : Could not open input file C:\Documents and Settings\Tialis\Local Settings\Temp/tmpxft_00000990_00000000-1
I have used the wizard successfully on other machines, I only get the error on this one…
Similar problem for me, with the same error message.
I have two computers, one under vista and the other one with win 2000. All CUDA driver, toolkit,
and SDK were properly installed on the vista computer, and everything works fine, even home-made projects
not belonging to the SDK.
The problem arises on win 2000. As it is not explicitely supported, and as I do not have permission to
install the SDK on the win 2000 (xp version of toolkit could be installed without problems though), I simply copied the installed files from vista to win 2000, and defined the correct environment variables. The error described in the above messages appears when I compile a .cu file.
I checked into the mentionned /Temp directory. While compiling, visual studio output some files there, but the required file
specified in the error message is not output. And I have permission to create, modified, and delete files in that directory.
Same problem here. I am using VS2008 and CUDA 2.2.
According to Sysinternals File Monitor, the …00000000-1 file is never created in the temp directory. A …00000000, a …00000000-1.bat and …00000000-2.bat file are created successfully by nvcc, and deleted afterwards. So the problem seems not to be related to not having access to the temp directory or something like that.
At this moment I don’t see any solution, but I’ll try to figure out more. Hope sombody else will find the answer to this problem.
I’ve got the same problem. Compiling examples from SDK.
nvcc fatal : Could not open input file C:\Users\MS\AppData\Local\Temp/tmpxft_00000dec_00000000-1
Same result when i try to compile from console.
Windows Vista, VS2k8(9.0), CUDA2.2, 9800GT
I hope if someone will find the solution, he’s gonna post it here. I will if I find out how to manage it.
I have installed previous version of Visual Studio (2005), and set the C compiler path in nvcc.profile for the cl.exe from vs2005. Now it works fine, cuda files are compiling both from console and from vs. I still don’t know why it doesn;t work with vs2008 on my computer.
I have the same problem in visual studio2005 and cuda 2.2 on windows xp.
I solved it by replacing the environmental varialble “TEMP=%USERPROFILE%\Local Settings\Temp” by “TEMP=%SystemRoot%\TEMP”.
Just as a quick note - what worked for me was to remove all quotation marks from the PATH environment variable.
It seems this caused the error message in my case…