So i have been trying for a week to link sfml to CB.
First i followed this tutorial :
https://www.sfml-dev.org/tutorials/2.5/start-cb.php wich resulted in an undefined imp error
my SFML
http://www.sfml-dev.org/download/sfml/2.4.0/ GCC 4.9.2 TDM (SJLJ) - 32-bit
my CB is codeblocks-16.01mingw-nosetup.zip
i have this older version because i followed this tutorial first:
https://en.sfml-dev.org/forums/index.php?topic=20760.0 Then i tried this tutorial:
https://en.sfml-dev.org/forums/index.php?topic=17956.0 wich gave the same errors, specified at the bottom. my current libraries are exactly as in this tutorial except for glew wich i had to manually link because it gave the error "cannot find - lglew"
now after all those things it still gives me the following errors:
-------------- Build: Debug in aaaaaa (compiler: GNU GCC Compiler)---------------
g++.exe -L"D:\sfml 2.4.0\SFML-2.4.0\lib" -o bin\Debug\aaaaaa.exe obj\Debug\main.o -lsfml-graphics-s-d -lsfml-window-s-d -lsfml-system-s-d -lsfml-graphics -lsfml-window D:\glew\glew-2.1.0\lib\Release\x64\glew32.lib -lfreetype -lsfml-system -ljpeg -lopengl32 -lgdi32 -lwinmm
obj\Debug\main.o: In function `main':
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:5: undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:5: undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:5: undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:6: undefined reference to `_imp___ZN2sf11CircleShapeC1Efj'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:7: undefined reference to `_imp___ZN2sf5Color5GreenE'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:7: undefined reference to `_imp___ZN2sf5Shape12setFillColorERKNS_5ColorE'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:15: undefined reference to `_imp___ZN2sf6Window5closeEv'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:12: undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:18: undefined reference to `_imp___ZN2sf5ColorC1Ehhhh'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:18: undefined reference to `_imp___ZN2sf12RenderTarget5clearERKNS_5ColorE'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:19: undefined reference to `_imp___ZN2sf12RenderStates7DefaultE'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:19: undefined reference to `_imp___ZN2sf12RenderTarget4drawERKNS_8DrawableERKNS_12RenderStatesE'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:20: undefined reference to `_imp___ZN2sf6Window7displayEv'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:9: undefined reference to `_imp___ZNK2sf6Window6isOpenEv'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:23: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:23: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
C:/Users/Goby/Desktop/code/aaaaaa/main.cpp:23: undefined reference to `_imp___ZN2sf12RenderWindowD1Ev'
obj\Debug\main.o: In function `ZN2sf11CircleShapeD1Ev':
D:/sfml 2.4.0/SFML-2.4.0/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZTVN2sf11CircleShapeE'
D:/sfml 2.4.0/SFML-2.4.0/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZTVN2sf11CircleShapeE'
D:/sfml 2.4.0/SFML-2.4.0/include/SFML/Graphics/CircleShape.hpp:41: undefined reference to `_imp___ZN2sf5ShapeD2Ev'
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 1 second(s))
21 error(s), 0 warning(s) (0 minute(s), 1 second(s))
if you need any more information or have any suggestions or solutions please tell me i really want to get sfml working.