I believe I have followed the SFML 2 step by step tutorial correctly. But, when i try the example code, it comes up with those errors:
||=== TESTS, Debug ===|
obj\Debug\main.o||In function `main':|
C:\Dev\projects\TESTS\main.cpp|5|undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'|
C:\Dev\projects\TESTS\main.cpp|5|undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'|
C:\Dev\projects\TESTS\main.cpp|5|undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'|
C:\Dev\projects\TESTS\main.cpp|6|undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'|
C:\Dev\projects\TESTS\main.cpp|7|undefined reference to `_imp___ZN2sf5Color5GreenE'|
C:\Dev\projects\TESTS\main.cpp|7|undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'|
C:\Dev\projects\TESTS\main.cpp|15|undefined reference to `_imp___ZN2sf6Window5closeEv'|
C:\Dev\projects\TESTS\main.cpp|12|undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'|
C:\Dev\projects\TESTS\main.cpp|18|undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'|
C:\Dev\projects\TESTS\main.cpp|18|undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'|
C:\Dev\projects\TESTS\main.cpp|19|undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'|
C:\Dev\projects\TESTS\main.cpp|19|undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'|
C:\Dev\projects\TESTS\main.cpp|20|undefined reference to `_imp___ZN2sf6Window7displayEv'|
C:\Dev\projects\TESTS\main.cpp|9|undefined reference to `_imp___ZNK2sf6Window6isOpenEv'|
C:\Dev\projects\TESTS\main.cpp|23|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'|
C:\Dev\projects\TESTS\main.cpp|5|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'|
C:\Dev\projects\TESTS\main.cpp|23|undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'|
obj\Debug\main.o||In function `ZN2sf11CircleShapeD1Ev':|
C:\Dev\SFML\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `_imp___ZTVN2sf11CircleShapeE'|
C:\Dev\SFML\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `_imp___ZTVN2sf11CircleShapeE'|
C:\Dev\SFML\include\SFML\Graphics\CircleShape.hpp|41|undefined reference to `_imp___ZN2sf5ShapeD2Ev'|
||=== Build finished: 20 errors, 0 warnings (0 minutes, 0 seconds) ===|
Any suggestions? I'm using windows 8 and Code Blocks.
p.s: Sorry about the bad english.