VC++ 2008 e CUDA (NVIDIA)|VC++ 2008 and CUDA (NVIDIA)

Let me guess: you just wrote your new, shining CUDA application to unleash all the horsepower of your GPU and you are getting some compilation errors in Visual Studio. Some really weird errors. Something like: 1>CUDA_myfile.cu_generated.c 1>C:\Programmi\Microsoft Visual Studio 9.0\VC\INCLUDE\vadefs.h(52) : error C2059: syntax error : ‘string’ 1>C:\Programmi\Microsoft Visual Studio 9.0\VC\INCLUDE\vadefs.h(61) : error C2059: syntax error : ‘string’ 1>c:\cuda\include\vector_types.h(426) : error C2059: syntax error : ‘type’ 1>c:\cuda\include\vector_types.h(427) : error C2059: syntax error : ‘type’...

November 23, 2008 · 2 min · Alessio Placitelli