Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How to get the file: GL/gl.h
Forum Updated to NodeBB v4.3 + New Features

How to get the file: GL/gl.h

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 15.7k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jesse.zwd
    wrote on last edited by
    #1

    Hi,everyone,

    the error is shown as:
    ~/Desktop/Qt/4.8.1/gcc/include/QtOpenGL/qgl.h:88: error:GL/gl.h: No such file or directory

    How to fix it?

    Thank a lot!

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2

      Install the development packages of OpenGL for your distribution. This will usually install the needed headers into /usr/include/GL but it may very between distros.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jesse.zwd
        wrote on last edited by
        #3

        I Installed the development packages of OpenGL,and the problem was solved, but another error occurs:

        'gluPerspective' was not declared in this scope

        what's the matter?

        Thanks a lot!

        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          qdever
          wrote on last edited by
          #4

          Thanks very much .

          error from : make&install libmeegotouch
          process : sudo aptitude/ apt-get install freeglut3/libgl1-mesa-dev
          but failed
          solutions :install the Synaptic Package Manager
          then install the libgl1-mesa-dev and related dependencies

          1 Reply Last reply
          0
          • G Offline
            G Offline
            Guigui
            wrote on last edited by
            #5

            You probably need additional utility packages for OpenGL such as GLU, GLUT, GLEW.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved