Hello, I have had extreme difficulty setting up CUDA to be run in Windows. Various errors have occurred while trying to use nvcc such as: “configuration file ‘null’ not found”, “configuration file ‘nul’ not found”, “Cannot find compiler ‘cl.exe’ in PATH” as well as other wonderful goodies.
I have tried countless number of solutions found on Google for each of the problems… Almost all of them either causing another problem or not fixing the original problem.
I have finally gotten NVCC to compile but I have to do so using a 32 bit version of the CUDA toolkit and Visual Studio 2010. Every time I use 64 bit, I end up with an error that every googled “solution” simply turns into another error. Currently, when I use 64 bit, it says “Configuration file (null) not found”… After fixing that, it usually says “crtdefs.h” not found which persists even after telling CUDA where it is through INCLUDES in nvcc.profile.
Now for my questions… Is it even possible to compile 64 bit CUDA applications in Windows? What are the precise steps, environment variables and details that need to be reproduced in order to get CUDA working? Is there a different compiler that I can use which works better? Is there a way to wipe all of the environment variables of CUDA/Visual Studio so that I’m sure no previously installed versions are messing with current compilations? Is using Linux a much easier fix for this whole problem?
By my understanding, CUDA provides no compiler and therefore has to piggy back from Visual Studio for Windows. Also from my understanding, Microsoft couldn’t care less about maintaining standards for software that work for the CUDA toolkit (a couple forum posts revealed that they removed many essential files just because they didn’t want them in express versions of Visual Studio).
Thanks for taking the time to read this and feel free to respond to as much or as little as you like!