I'm trying to set up SFML in Eclipse on Linux, but I can't get it to work. I followed the gcc installation tutorial but when I compile the code, I get this error:
make: *** [Pickin'Gems] Error 2 Pickin' Gems line 0 C/C++ Problem
I have added -lsfml-system to the linker. I got SFML from Synaptic, if that make a difference.
EDIT: I tried just using the command line, and it compiles + runs with this output:
7.08364e-06
0.500229
1.00037
1.5005
2.00064
2.50078
3.00092
3.50105
4.00119
4.50132
Which means that it's an Eclipse problem.
Edit2: I seem to have fixed it. Apparently Eclipse is to dumb to realise that "Pickin' Gems" should be formatted as "Pickin\'\ Gems". I solved the problem by having Eclipse build it as PickinGems.