GL/gl.h: No such file or directory
-
Hi,
When compiling GUI module, the following ERROR appears:
In file included from ../../../GUI_SRC_3.2.2/src/GLViewer/GLViewer_BaseDrawers.h:32,
from ../../../GUI_SRC_3.2.2/src/GLViewer/GLViewer_BaseDrawers.cxx:26:
/usr/local/salome_3.2.2/qt-3.3.4/include/qgl.h:79:20: error: GL/gl.h: No such file or directory
There is no gl.h file under /home/salome directory?
How could it be referenced?
There is GL directory under /usr/include,
but it still does not contain gl.h
Thank You-
Hello,
You need to install the corresponding rpm/dpkg package for OpenGL. For example, for Mandrake 10.1:
>> rpm -qf /usr/include/GL/gl.h
libxorg-x11-devel-6.7.0-4.4.101mdk
The OpenGL libraries (libGL.so*) should be also installed on your computer.
Regards
Vadim.-
-
-
For Debian, a little search on packages.debian.org gives:
http://packages.debian.org/cgi-bin/search_contents.pl?word=gl.h&searchmode=searchfiles&case=insensitive&version=stable&arch=i386
xlibmesa-gl-dev
And for Ubuntu, a little search on packages.ubuntu.com gives:
http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=gl.h&searchmode=searchfiles&case=insensitive&version=edgy&arch=i386
mesa-common-dev-
Hi
I have libgl1-mesa and libgl1-mesa-dev installed.
/usr
/usr/lib
/usr/lib/libGL.so.1.2
/usr/share
/usr/share/doc
/usr/share/doc/libgl1-mesa
/usr/share/doc/libgl1-mesa/changelog.gz
/usr/share/doc/libgl1-mesa/copyright
/usr/share/doc/libgl1-mesa/changelog.Debian.gz
/usr/lib/libGL.so.1
/usr
/usr/lib
/usr/include
/usr/include/GL
/usr/include/GL/glx.h
/usr/include/GL/glxext.h
/usr/include/GL/glx_mangle.h
/usr/share
/usr/share/doc
/usr/share/doc/libgl1-mesa-dev
/usr/share/doc/libgl1-mesa-dev/changelog.gz
/usr/share/doc/libgl1-mesa-dev/copyright
/usr/share/doc/libgl1-mesa-dev/changelog.Debian.gz
/usr/lib/libGL.so
This is A free implementation of the OpenGL API -- GLX runtime
and it was defaultly installed.
When installing xlibmesa-gl_7.1.1ubuntu6_all.deb there is a conflict
with current installation.
Thank you-
Well, I encoutered the same problem after upgrading from dapper to edgy.
You can safely remove libgl1-mesa-dev because it contains files only needed for compiling, and this package does not longer belong to ubuntu stable version:
http://packages.ubuntu.com/cgi-bin/search_contents.pl?word=libgl1-mesa-dev&searchmode=searchfiles&case=insensitive&version=edgy&arch=i386
mesa-common-dev as advised before should do the trick.
-
-
-
-
-
-
Powered by
Ploneboard
