g++: error: /lib64/libGL.so: No such file or directory
-
Hello everyone,
I got a little problem of compilation with my QtCreator.
I am under Debian (Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux) and I am compiling with QtCreator 4.7.2
When I compile a project, I got the following error:
"g++: error: /lib64/libGL.so: No such file or directory"
This is normal because my library libGL.so is at the following address "/usr/lib/x86_64-linux-gnu/libGL.so"
Of course, I can compile by replacing in my Makefile the ligne
LIBS = [...] /lib64/libGL.so[...]
by
LIBS = [...] /usr/lib/x86_64-linux-gnu/libGL.so [...]
But I would like QtCreator to construct correctly the Makefile directly.
I feel that it is something in the definition of the "Kits" but I cannot find where.
Does anyone have an idea ?
Thanks for your help ... -
Hello everyone,
I got a little problem of compilation with my QtCreator.
I am under Debian (Linux 4.9.0-8-amd64 #1 SMP Debian 4.9.130-2 (2018-10-27) x86_64 GNU/Linux) and I am compiling with QtCreator 4.7.2
When I compile a project, I got the following error:
"g++: error: /lib64/libGL.so: No such file or directory"
This is normal because my library libGL.so is at the following address "/usr/lib/x86_64-linux-gnu/libGL.so"
Of course, I can compile by replacing in my Makefile the ligne
LIBS = [...] /lib64/libGL.so[...]
by
LIBS = [...] /usr/lib/x86_64-linux-gnu/libGL.so [...]
But I would like QtCreator to construct correctly the Makefile directly.
I feel that it is something in the definition of the "Kits" but I cannot find where.
Does anyone have an idea ?
Thanks for your help ...@Wotan Install libgl1-mesa-dev package.
See http://doc.qt.io/qt-5/linux.html -
i did what u recommended gave me this result
build-essential is already the newest version (12.1ubuntu2). libgl1-mesa-dev is already the newest version (18.0.5-0ubuntu0~16.04.1).