Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: can't include gl.h and glu.h [SOLVED]  (Read 2269 times)

0 Members and 1 Guest are viewing this topic.

Gmaj7

  • Newbie
  • *
  • Posts: 3
    • View Profile
can't include gl.h and glu.h [SOLVED]
« on: November 24, 2009, 07:14:14 pm »
I tried this tutorial http://www.sfml-dev.org/tutorials/1.5/window-window.php
and got following error.. what should I do?
I'm using Ubuntu 9.10 , Codeblocks

It seems to me that can't find opengl?

/home/laman/Cpp/SFML-1.5/include/SFML/Window/OpenGL.hpp|47|error: GL/gl.h: No such file or directory|
/home/laman/Cpp/SFML-1.5/include/SFML/Window/OpenGL.hpp|48|error: GL/glu.h: No such file or directory|

||=== Build finished: 2 errors, 0 warnings ===|

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
can't include gl.h and glu.h [SOLVED]
« Reply #1 on: November 24, 2009, 11:07:16 pm »
You must install the GL and GLU packages.
Laurent Gomila - SFML developer