builtin_types.h

Where is builtin_types.h supposed to be coming from? I’m on Ubuntu Feisty (server), the driver module build worked, and make bombs with

make[1]: Entering directory `/home/josh/NVIDIA_CUDA_SDK/common'

g++ -m32 -W -Wall -Wimplicit -Wswitch -Wformat -Wchar-subscripts -Wparentheses -Wmultichar -Wtrigraphs -Wpointer-arith -Wcast-align -Wreturn-type -Wno-unused-function  -I. -I/usr/local/cuda/include -I./../common/inc -DUNIX -O3 -o obj/release/cutil.cpp_o -c src/cutil.cpp

src/cutil.cpp:46:27: error: builtin_types.h: No such file or directory

it’s not a path problem – there’s no file named builtin_types.h on the entire system.

The source is:

// includes, cuda

#include <builtin_types.h>

which leads me to believe there’s some cuda library I don’t have (i.e. which doesn’t come with the SDK 0.8.1 package?)

Josh

Have you installed the toolkit?
The SDK package contains just a bunch of examples and utilities.
The real compiler (nvcc) and libraries (cublas, cufft) are installed with the toolkit.

Ahhh… you see me exposed as a fool. That (and the installation of libglu1-mesa-dev) did the trick.

(I wish I knew why Ubuntu’s libglu1-mesa-dev has a dependency that sucks down the Glorious Haskell Compiler, tho :-) )

Assuming “Test PASSED” out of the demo programs means it’s working, it’s working.

Count one more Ubuntu success.

J