I havent had this installed in a year and i forgot completley how to install it, and have spent the greater part of 25 minutes trying.
I have Code Blocks 13.12 MinGW
Windows 10
I downloaded SFML from here:
http://www.nightlybuilds.ch/project/show/1/SFML/ Since they are already pre-compiled. I downloaded this version:
Windows 32 bit MinGW-Builds (492r2) x32 2015-05-19 80214d1cb916ae5f49c63ade4c167369faab9b9e
and put it in my C Drive, it's not in any system folders, i click on my C drive and its right there. I went to compiler>compiler settings, then under the compiler tab i directed it to the include folder, and under the linker tab i directed it to the lib folder. Under Linker Settings I have these in this order
sfml-graphics-s
sfml-window-s
sfml-audio-s
sfml-system-s
freetype
jpeg
openal32
opengl32
and under #defines i put SFML_STATIC
I used the sample code in the code blocks setup tutorial and i get these two errors:
||=== Build: Debug in Pointers (compiler: GNU GCC Compiler) ===|
C:\SFML\lib\libsfml-graphics-s.a(CircleShape.cpp.obj):CircleShape.cpp|| undefined reference to `_Unwind_Resume'|
C:\SFML\lib\libsfml-graphics-s.a(CircleShape.cpp.obj):CircleShape.cpp:(.eh_frame+0x63)||undefined reference to `__gxx_personality_v0'|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|