- Operating System
Debian GNU/Linux Lenny
- Synopsis description of the problem
“CUT_DEVICE_INIT” is undefined
- Detailed description of the problem
I can not compile SDK, errors are the following:
src/cutil.cpp:176: error: ‘CUTBoolean’ does not name a type
src/cutil.cpp:262: error: expected constructor, destructor, or type conversion before ‘loadPGMt’
src/cutil.cpp:296: error: ‘CUTBoolean’ does not name a type
src/cutil.cpp:351: error: expected constructor, destructor, or type conversion before ‘savePGMt’
src/cutil.cpp:378: error: expected constructor, destructor, or type conversion before ‘savePPMt’
src/cutil.cpp:404: error: expected constructor, destructor, or type conversion before ‘compareData’
src/cutil.cpp:452: error: expected constructor, destructor, or type conversion before ‘compareDataAsFloat’
src/cutil.cpp:492: error: expected constructor, destructor, or type conversion before ‘compareDataAsFloatThreshold’
src/cutil.cpp:541: error: expected constructor, destructor, or type conversion before ‘cutReadFile’
src/cutil.cpp:618: error: expected constructor, destructor, or type conversion before ‘cutWriteFile’
src/cutil.cpp:665: error: expected initializer before ‘cutFree’
src/cutil.cpp:678: error: expected initializer before ‘cutFindFilePath’
make[1]: *** [obj/release/cutil.cpp.o] Error 1
make[1]: Leaving directory `/home/luca/NVIDIA_CUDA_SDK/common’
make: *** [lib/libcutil.so] Error 2
and when adding strings like: CUT_DEVICE_INIT to my programs, I get the following error:
error: identifier “CUT_DEVICE_INIT” is undefined
[b]
- CUDA toolkit release version[/b]
cudatoolkit_2.2_linux_64_ubuntu8.10
(but I have tried also: cudatoolkit_2.1_linux64_ubuntu7.10)
[b] - SDK release version[/b]
cudasdk_2.2_linux
- Compiler for CPU host code
gcc version 4.3.2 (Debian 4.3.2-1.1)
- System description including:
CPU type: Intel® Core™ i7 CPU 920 @ 2.67GHz
CPU speed: 2.67GHz
installed system RAM: 6 Gb
system type and model: Linux watson 2.6.26-2-amd64
video cards installed in the system, chipset type: nVidia GTX295
Any idea?
Thank you!