Personal tools
You are here: Home Forum Install & build GL/gl.h: No such file or directory

GL/gl.h: No such file or directory

Up to Install & build
  • GL/gl.h: No such file or directory

    Posted by pichon at January 22. 2007
    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
    • Re: GL/gl.h: No such file or directory

      Posted by Vadim SANDLER at January 23. 2007
      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.
Powered by Ploneboard
Document Actions