Hey guys,
I am pretty new to CUDA, and am experiencing some problems in compiling the sample projects using nvcc. Each time I try, it errors out, saying that some header files cannot be found.
For example
C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\projects\gbv - vector test>
vcc vector.cu
"C:\CUDA\bin/../include/driver_types.h", line 47: error: could not open source
file "limits.h"
#include <limits.h>
^
"C:\CUDA\bin/../include/driver_types.h", line 48: error: could not open source
file "stddef.h"
#include <stddef.h>
^
"C:\CUDA\bin/../include/common_functions.h", line 49: error: could not open
source file "time.h"
#include <time.h>
^
"C:\CUDA\bin/../include/math_functions.h", line 321: error: could not open
source file "math.h"
#include <math.h>
^
"C:\CUDA\bin/../include/math_functions.h", line 322: error: could not open
source file "stdlib.h"
#include <stdlib.h>
^
"vector.cu", line 2: error: could not open source file "stdio.h"
#include "stdio.h"
^
"vector.cu", line 61: warning: last line of file ends without a newline
}
^
6 errors detected in the compilation of "vector.cu".
Could Not Find c:\windows\temp\tmp_00000ed4*
I did not think we had to get these header files separately. Are we supposed to? Any help would be appreciated.
Thanks