Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. error: GL/gl.h: No such file or directory so please suggest me this is Qt problem or Linux
Forum Update on Monday, May 27th 2025

error: GL/gl.h: No such file or directory so please suggest me this is Qt problem or Linux

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 2.2k Views
  • 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.
  • A Offline
    A Offline
    ajay
    wrote on last edited by
    #1

    i have install qt-5.0.4 on rhel linux 7.0, 64 bit . when do i run the gui based program error: GL/gl.h: No such file or directory so please suggest me this is Qt problem or Linux

    1 Reply Last reply
    0
    • sneubertS Offline
      sneubertS Offline
      sneubert
      wrote on last edited by
      #2

      seems like you have to install libmesa, on rhel this souhld be in package mesa-libGL-devel

      A 1 Reply Last reply
      0
      • sneubertS sneubert

        seems like you have to install libmesa, on rhel this souhld be in package mesa-libGL-devel

        A Offline
        A Offline
        ajay
        wrote on last edited by
        #3

        i use intel 7i (4770 ) 4th generation it have inbuilt HD graphics it will possile in this sytem what u have given suggetion

        1 Reply Last reply
        0
        • sneubertS Offline
          sneubertS Offline
          sneubert
          wrote on last edited by
          #4

          i don´t know but i guess this sould work, so just give it a try

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            Hi,

            The graphic cart itself has nothing to do with your current problem. Just do as @sneubert suggested. Install the OpenGL dev packages for your distribution

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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