CUDA nvcc compiler setup Ubuntu 12.04

后端 未结 3 989
再見小時候
再見小時候 2021-01-13 05:10

I successfully installed the nvidia driver and toolkit for cuda 5 (but not the samples) on a 64 bit Ubuntu 12.04 box. The samples failed to install even though I previously

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-01-13 05:15

    I met the problem during the installation, but I found the sudo ln -s /usr/lib/x86_64-linux-gnu/libglut.so.3 /usr/lib/libglut.so is useless. My solution is to install freeglut3 first:

    `sudo apt-get install freeglut3`  
    

    then use:

    sudo ln -s /usr/lib/libglut.so.3 /usr/lib/libglut.so

    After this, CUDA sample is successfully installed.

提交回复
热议问题