Results 1 to 2 of 2

Thread: linux with opengl ?

  1. #1
    Join Date
    Mar 2010
    Posts
    9
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default linux with opengl ?

    I got compiling error "GL/gl.h No such file or directory", while building a Qt example svgviewer on ubuntu.

    did the linux need to install something which make ubuntu suit opengl ?? and where can I get it??
    feng@pad-unix:~$ uname -a
    Linux pad-unix 2.6.31-19-generic #56-Ubuntu SMP Thu Jan 28 01:26:53 UTC 2010 i686 GNU/Linux
    Last edited by hhf; 15th March 2010 at 05:24.

  2. #2
    Join Date
    Mar 2010
    Posts
    9
    Thanks
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: linux with opengl ?

    well.. I solved the problem myself.
    just install mesa, and things will be OK.
    people with the same problem on the same platform can run the following commands :

    sudo apt-get install mesa-common-dev
    sudo apt-get install libgl1-mesa-dev libglu1-mesa-dev
    sudo apt-get install freeglut-dev

Similar Threads

  1. linux-ipaq-g++ Vs linux-arm-g++
    By alejo in forum Installation and Deployment
    Replies: 0
    Last Post: 22nd February 2010, 00:23
  2. Replies: 0
    Last Post: 6th December 2009, 00:41
  3. Qt with OpenGL ES for ARM9 - All OpenGL ES tests have failed!
    By vinpa in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 3rd December 2009, 10:10
  4. Problem from OpenGL to QT OpenGL
    By nuts_fever_007 in forum Newbie
    Replies: 5
    Last Post: 15th May 2009, 09:37
  5. Linux Centos4 and opengl
    By ntp in forum Qt Programming
    Replies: 4
    Last Post: 26th November 2007, 18:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.