I have successfully created a CUDA project in MS Visual C++ Express 9. Its purpose it to simulate the dynamics of a charged particle in an accelerator.
However, various Linux distributions and Macs are used in this area of study, so it has become necessary to use some form of cross-platform make system. As suggested by my Ph.D supervisor, I am using cmake, and combining this with a FindCUDA.cmake script from MIT. On the whole, this works rather well, with only a few prefixes requiring definition from the user.
Unfortunately, when I compile the project created from the cmake output, I get compile errors. In both my project, and the cmake-produced project, the cl.exe compiler is used, but spits out an error in the CUDA header files for the latter. I include the Build Log for your reference.
Thank you in advance,
BuildLog.htm (11.1 KB)