Hello,
I am completely new to CUDA as I am still in the process of installation. I have searched this forum for the issue I get, but found only some old posts which doesn’t seem to be applicable to my case.
Generally my problem is that I can’t compile SDK projects:
make
make[1]: Entering directory `/home/c111269/NVIDIA_CUDA_SDK/sdk/common'
src/cutil.cpp:47:27: error: builtin_types.h: No such file or directory
In file included from ./../common/inc/stopwatch.h:36,
from src/cutil.cpp:52:
./../common/inc/stopwatch_base.h:74: warning: type qualifiers ignored on function return type
./../common/inc/stopwatch_base.h:78: warning: type qualifiers ignored on function return type
In file included from ./../common/inc/stopwatch_base.h:90,
from ./../common/inc/stopwatch.h:36,
from src/cutil.cpp:52:
./../common/inc/stopwatch_base.inl:85: warning: type qualifiers ignored on function return type
./../common/inc/stopwatch_base.inl:96: warning: type qualifiers ignored on function return type
In file included from ./../common/inc/stopwatch.h:43,
from src/cutil.cpp:52:
./../common/inc/stopwatch_linux.h:64: warning: type qualifiers ignored on function return type
./../common/inc/stopwatch_linux.h:68: warning: type qualifiers ignored on function return type
./../common/inc/stopwatch_linux.h:144: warning: type qualifiers ignored on function return type
./../common/inc/stopwatch_linux.h:161: warning: type qualifiers ignored on function return type
In file included from src/cutil.cpp:52:
./../common/inc/stopwatch.h:53: warning: type qualifiers ignored on function return type
In file included from src/cutil.cpp:53:
./../common/inc/bank_checker.h:52: warning: type qualifiers ignored on function return type
./../common/inc/bank_checker.h:238: warning: type qualifiers ignored on function return type
make[1]: *** [obj/release/cutil.cpp.o] Error 1
make[1]: Leaving directory `/home/c111269/NVIDIA_CUDA_SDK/sdk/common'
make: *** [lib/libcutil.so] Error 2
nvcc -V
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2009 NVIDIA Corporation
Built on Thu_Apr__9_05:05:52_PDT_2009
Cuda compilation tools, release 2.2, V0.2.1221
gcc --version
gcc (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I am running 64 bit openSUSE 11.1 with
lspci | grep -i nVidia
01:00.0 VGA compatible controller: nVidia Corporation GeForce 9500 GT (rev a1)
If you could give me some feedback on that I would be much obliged.