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