3
« on: June 22, 2015, 04:46:30 pm »
Hello,so i have been getting errors when running SFML on Dev C++,I've done everything correctly(i think)
I downloaded x32 GCC SJLJ version and I've checked if my MinGW had SJLJ or DW2,and my OS is Windows and it is x32 bit.
I've put every file that was in archive at correct place(lib,include and bin),and linked library files in project options,but every time i try to run program i get this kind of error(last two lines are always same in case,but "undefined reference to" errors are different(depending what elements do i use):
C:\Users\user\Desktop\main.o main.cpp:(.text+0x127): undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x157): undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x19a): undefined reference to `_imp___ZN2sf6WindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x1d2): undefined reference to `_imp___ZN2sf6Window5closeEv'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x1ee): undefined reference to `_imp___ZN2sf6Window9pollEventERNS_5EventE'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x20b): undefined reference to `_imp___ZNK2sf6Window6isOpenEv'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x225): undefined reference to `_imp___ZN2sf6WindowD1Ev'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x279): undefined reference to `_imp___ZN2sf6WindowD1Ev'
C:\Users\user\Desktop\main.o main.cpp:(.text+0x2f8): undefined reference to `_imp___ZN2sf6WindowD1Ev'
C:\Users\user\Desktop\collect2.exe [Error] ld returned 1 exit status
25 C:\Users\user\Desktop\Makefile.win recipe for target 'SFML.exe' failed
no program runs which has SFML elements...
Can anyone help me?I'm using Dev C++ 5.11,and use static libraries