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

Author Topic: setting up again  (Read 2561 times)

0 Members and 1 Guest are viewing this topic.

ravenheart

  • Full Member
  • ***
  • Posts: 148
    • View Profile
setting up again
« on: February 11, 2009, 10:33:12 pm »
well i got sfml to work finally but i cant use my data, he is missig the opengl files now :

Quote

/home/kleopatra/SFML-1.4/include/SFML/Window/OpenGL.hpp|35|error: GL/gl.h: No such file or directory|


i cant compile a file that worked on windows

Tank

  • SFML Team
  • Hero Member
  • *****
  • Posts: 1486
    • View Profile
    • Blog
    • Email
setting up again
« Reply #1 on: February 11, 2009, 10:47:48 pm »
Have you actually read the error message? ;) It states that an OpenGL header file is missing. I bet you don't have OpenGL development files installed on your system.

If you're using a Debian-based distribution, you need to install the package libgl1-mesa-dev.

ravenheart

  • Full Member
  • ***
  • Posts: 148
    • View Profile
setting up again
« Reply #2 on: February 12, 2009, 09:14:39 am »
u are right - it is a debian based distribution , but i have the libgl1-mesa-dev installed

as well i have the

libgl1-mesa-glx
libgl1-mesa-dri
libgl1-mesa-dev

what else could be missing??

maybe libgl1-mesa-swx11-dev ?

ravenheart

  • Full Member
  • ***
  • Posts: 148
    • View Profile
setting up again
« Reply #3 on: February 12, 2009, 06:59:48 pm »
any ideas plz?
im getting crazy bout this ^^

christoph

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • http://www.christoph-egger.org
setting up again
« Reply #4 on: February 12, 2009, 07:18:17 pm »
apt-file is the tool of choice for this

apt-file search GL/gl.h

=>

mesa-common-dev

Hope that helps ;)