SFML Help.

closed account (967L1hU5)
I am new to GUI's, and I heard that SFML would be a great starter. After a while of struggling to link the libraries (not the problem), I finally got it to work. But I get every error with every sample code I use:

ld.exe||cannot find -lsfml-system-s|
||=== Build finished: 1 errors, 0 warnings ===|
(using codeblocks)

Does anyone know what I'm doing wrong?
1) Did you add the SFML lib directory to C::B's directory list?
2) Did you check to make sure the sfml-system-s lib actually exists in that directory?
closed account (967L1hU5)
Yes, I followed everything told to do at
http://www.sfml-dev.org/tutorials/1.2/start-cb.php
That's quite an outdated tutorial. I suggest you use SFML 2.0 at this stage. You will have to build it from the source yourself, but don't worry as it's not as hard as you might think and certainly a good learning experience.

Are you using Visual Studio under Windows?
Topic archived. No new replies allowed.