Some problem with the installation of CUDA

Hello,

I began the installation of CUDA 4 hours ago and I’ve still not finished. As I’m on a Linux 9.10, I first tried to install de 2.3 version (there is no version of CUDA 3.2 for linux 9.10 on the download page) (driver + toolkit + sdk). As there were a lot of errors, I switched to the 3.2 version and I still have errors. When I want to compile a code, I’ve these errors :
-warning: implicit declaration of function ‘cudaMalloc’
-warning: implicit declaration of function ‘cudaMemcpy’
-error: ‘cudaMemcpyDeviceToHost’ undeclared (first use in this function)

When I want to compile the SDK, I’ve this error :
-/usr/bin/ld: cannot find -lXi

Does someone knows what I must do to make it work please ?

My system is :
NVIDIA Quadro FX 5800
Ubuntu 9.10, 64 bits, CUDA 3.2

Thanks

Hello,

I began the installation of CUDA 4 hours ago and I’ve still not finished. As I’m on a Linux 9.10, I first tried to install de 2.3 version (there is no version of CUDA 3.2 for linux 9.10 on the download page) (driver + toolkit + sdk). As there were a lot of errors, I switched to the 3.2 version and I still have errors. When I want to compile a code, I’ve these errors :
-warning: implicit declaration of function ‘cudaMalloc’
-warning: implicit declaration of function ‘cudaMemcpy’
-error: ‘cudaMemcpyDeviceToHost’ undeclared (first use in this function)

When I want to compile the SDK, I’ve this error :
-/usr/bin/ld: cannot find -lXi

Does someone knows what I must do to make it work please ?

My system is :
NVIDIA Quadro FX 5800
Ubuntu 9.10, 64 bits, CUDA 3.2

Thanks

Quick answer - install libxi-dev or, better, xorg-dev and mesa-common-dev.

For details see my answer to another topic:

http://forums.nvidia.com/index.php?showtop…t&p=1121065

Quick answer - install libxi-dev or, better, xorg-dev and mesa-common-dev.

For details see my answer to another topic:

http://forums.nvidia.com/index.php?showtop…t&p=1121065

Thank you, it worked. I had another problem because I didn’t have the glut library, but it was more easier to solve than the xi library.

Have a nice day.

Thank you, it worked. I had another problem because I didn’t have the glut library, but it was more easier to solve than the xi library.

Have a nice day.