Hello, I followed the guidance of this historical issue but it still fails to compile.
Let me post my compilation error here:
(base) abv5357@E1-055656:~/Documents/FutureProjects/cuda-samples/Samples/5_Domain_Specific/nbody$ make dbg=1
WARNING - GCC variable has been deprecated
WARNING - please use HOST_COMPILER=/home/abv5357/anaconda3/bin/x86_64-conda-linux-gnu-gcc instead
/usr/local/cuda/bin/nvcc -ccbin /home/abv5357/anaconda3/bin/x86_64-conda-linux-gnu-gcc -I../../../Common -m64 -g -G -ftz=true --threads 0 --std=c++11 -gencode arch=compute_50,code=sm_50 -gencode arch=compute_52,code=sm_52 -gencode arch=compute_60,code=sm_60 -gencode arch=compute_61,code=sm_61 -gencode arch=compute_70,code=sm_70 -gencode arch=compute_75,code=sm_75 -gencode arch=compute_80,code=sm_80 -gencode arch=compute_86,code=sm_86 -gencode arch=compute_89,code=sm_89 -gencode arch=compute_90,code=sm_90 -gencode arch=compute_90,code=compute_90 -o bodysystemcuda.o -c bodysystemcuda.cu
In file included from ../../../Common/GL/freeglut.h:17,
from bodysystemcuda.cu:35:
../../../Common/GL/freeglut_std.h:84:10: fatal error: GL/gl.h: No such file or directory
84 | #include <GL/gl.h>
| ^~~~~~~~~
compilation terminated
I am sure that mesa-common-dev is installed in my system. You can check it with the next attempt to re-install.
(base) abv5357@E1-055656:~$ sudo apt install mesa-common-dev
[sudo] password for abv5357:
Reading package lists... Done
Building dependency tree
Reading state information... Done
mesa-common-dev is already the newest version (21.2.6-0ubuntu0.1~20.04.2).
0 upgraded, 0 newly installed, 0 to remove and 65 not upgraded.
Have I missed something? In case you need my system detail here they are:
Hello, I followed the guidance of this historical issue but it still fails to compile. Let me post my compilation error here:
I am sure that
mesa-common-dev
is installed in my system. You can check it with the next attempt to re-install.Have I missed something? In case you need my system detail here they are:
(base) abv5357@E1-055656:~$ nvidia-smi Fri Sep 20 08:53:26 2024
Thank you.-