O programa é este
As instruções são bem diretas, cmake .
e make
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ cmake .
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Using X11 for window creation
-- Using GLX for context creation
CMake Warning at lib/glfw-3.1.1/CMakeLists.txt:403 (message):
No glXGetProcAddressXXX variant found
-- Configuring done
-- Generating done
-- Build files have been written to: /home/elect/NetBeansProjects/Partikel_accelleration_on_GPU
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ make
[ 22%] Built target glfw
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libGL.so', needed by 'bin/particleSim'. Stop.
CMakeFiles/Makefile2:60: recipe for target 'CMakeFiles/particleSim.dir/all' failed
make[1]: *** [CMakeFiles/particleSim.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
Se eu consultar o lib
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ dpkg-query -S /usr/lib/x86_64-linux-gnu/libGL.so
libgl1-mesa-dev:amd64: /usr/lib/x86_64-linux-gnu/libGL.so
mas já está instalado:
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ sudo apt-get install libgl1-mesa-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libgl1-mesa-dev is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Um find
retorna o seguinte:
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ sudo find / -name libGL.so
/home/elect/Downloads/gl-graphics-compute-samples-linux-2.11/extensions/externals/lib/linux-arm32/libGL.so
/usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/mesa/libGL.so
Tanto quanto eu recebo, eu deveria ter algo como libGL.so.290.10
que deveria ser o verdadeiro lib, todos os outros devem ser apenas links ..
estou certo?
Qual é o problema?
Ubuntu 15.10 x64, gtx 680
Editar:
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ ls -l /usr/lib/x86_64-linux-gnu/libGL.so
lrwxrwxrwx 1 root root 13 ott 9 07:16 /usr/lib/x86_64-linux-gnu/libGL.so -> mesa/libGL.so
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ file -sL /usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/libGL.so: cannot open '/usr/lib/x86_64-linux-gnu/libGL.so' (No such file or directory)
elect@elect-desktop:~/NetBeansProjects/Partikel_accelleration_on_GPU$ readlink -f /usr/lib/x86_64-linux-gnu/libGL.so
/usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
Tentei atualizar os drivers nvidia, assim que eu termino o gerenciador de janelas
sudo service lightdm stop
o sistema congela e eu tenho que reiniciar manualmente ...
Tentei inicializar no modo de segurança, larguei o console root, mas a instalação da nvidia não pode gravar em /tmp
desde que eu sou root ...
Idéias?
Editar:
elect@elect-desktop:~$ ls -l /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0
ls: cannot access /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1.2.0: No such file or directory