I am trying to install cuda on my computer and according to nvidia's official guide,it is recommended to verify installation with this repo.
However, when I am trying to build it, it gives me some error and the process exits. Error message I get:
/usr/bin/ld: cannot find -lglut collect2: error: ld returned 1 exit status make[1]: *** [Makefile:350: bindlessTexture] Error 1 make[1]: Leaving directory '/home/ming/Desktop/MachineLearningUtilities/cuda_test_sample/cuda-samples/Samples/3_CUDA_Features/bindlessTexture' make: *** [Makefile:45: Samples/3_CUDA_Features/bindlessTexture/Makefile.ph_build] Error 2
I went to check dependencies in the readme file, and it only said that I need Compute Capability 3.0 or above. My GPU has 6.1, so this should not be why it is not running.
Also, from my understanding the reason why I'm getting this error seems to be compiler failing to find some binary files.
Am I understanding it correctly? And how should I fix this issue?