0x0025 - Clion | Cuda | Cmake Bootstrapping Part II

Clion | Cuda | Cmake Bootstrapping Part II

0x0025 - Clion | Cuda | Cmake Bootstrapping Part II

Next we attempt installation of cuda-toolkit-11-7..

Next noticing that the CMAKE file of other programs had ncurses referenced:

After this point it was noted (also) that the $PATH did not include /usr/include/ where all the imports sat.  After adding this to the path what do we get:

Next we add more paths /usr/include/c++/9 to the paths.

Nothing is working - in fact we are not even finding the base files for compilation such as <curand_kernel.h>

So we install nvidia-curand-dev as it seems to have potentially the source-code for these things and it will be a matter of adding the paths.

Wait? I find out now that I was missing the giant 774MB nvidia-cuda-toolkit. This is supposed to sit on TOP of the cuda 11.N to provide ease of program development.

sudo apt install nvidia-cuda-toolkit
Linux Rocks Every Day