SFML

Hello guys, i have been stuck on this for a day now..

on an attempt to start SFML with codeblock i followed the instruction on http://www.sfml-dev.org/tutorials/2.2/start-cb.php to link the project to the sfml..
now when i tried to compile the test code on the same link above, i get an error in config.hpp file ..

sreenshot to the error
http://postimg.org/image/xodjfrill/
You are trying to compile as C.

SFML is C++. You need to compile as C++.

Rename your source file to have a .cpp extension instead of a .c extension.
oh that was so dumb of me, thanks :)

but now i get a bunch of undefined reference errors, checked google and couldn't find something useful
ah it worked thanks alot, i encountered the missing dll problem then i had to copy dll file with execution folder, BUT, why do i have to do this when i link -s files? shouldn't it suppose to ignore searching for dll's ? I am really getting confused and bit frustrated .. shouldn't be that complicated i mean...
Its only complicated the first time around. Took me over 10 minutes the first 1-2 times. Now I can do it in less than 90 seconds.
Topic archived. No new replies allowed.