Hi,
I couldn’t create a working Visual Studio 2010 project with CUDA 4.0. What I did is as follows:
- Create an empty project.
- Select menu item “Project->Build Customization”.
- Check “CUDA 4.0…”
Now when I close this empty project and reopen it, there is a warning message popup “One or more projects in the solution were not loaded correctly. Please see the Output Window for details.”
The Output Window says “error : The result “” of evaluating the value “$(CudaBuildTasksPath)” of the “AssemblyFile” attribute in element is not valid. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\BuildCustomizations\CUDA 4.0.targets.”
I also tried to add some source files into the project but there is another error message “Failed to add files.”
Please help me fix this problem. Thank you.