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

Author Topic: odd error when compiling sfml  (Read 952 times)

0 Members and 1 Guest are viewing this topic.

metulburr

  • Newbie
  • *
  • Posts: 49
    • View Profile
    • Email
odd error when compiling sfml
« on: November 08, 2013, 04:06:47 am »
history:
It was not 3 hours ago i was going through a tutorial on sfml and compiling it fine, then got an error saying directory was not there. Throughout the process, i had trouble with g++, so i purged g++ from my ubuntu and reinstalled.

I also reinstalled some pre-reqs, but i still get the same error:
sudo apt-get install libpthread-stubs0-dev libgl1-mesa-dev  libx11-dev libxrandr-dev libfreetype6-dev libglew1.5-dev libjpeg8-dev libsndfile1-dev libopenal-dev cmake
 

after reinstalling i now get this error:

libGL error: failed to load driver: swrast
libGL error: Try again with LIBGL_DEBUG=verbose for more details.
 

after putting in that argument i get this error:
g++: error: LIBGL_DEBUG=verbose: No such file or directory

I am not really sure where to go after this. I have spent the better part of tonight messing with the error i had with g++, and now that i have that working well, i seem to be stuck yet again at sfml. I am not really sure what intially sparked the problem in the first place as i was just compiling sfml between tutorials at the time, not installing, not hcanging config files, or not updating or anything. So its odd that it just seemed to happen out of thin air.


g++  -std=c++11  -Wall -o "%e" "%f" -lsfml-audio -lsfml-graphics -lsfml-window -lsfml-system &&"./%e"
sfml 2.1 on ubuntu 13.04
gcc version 4.7.3

EDIT:
i initially had g++ 4.8 earleir today, and that was working fine. But now i keep getting problems when i switch to it, thus me now having 4.7.3. I am not sure if the version differences are something or not?
« Last Edit: November 08, 2013, 04:11:50 am by metulburr »
OS Ubuntu 13.04, Arch Linux, Gentoo, Windows 7/8
SFML 2.1
Ati Radeon HD 6770