My mingw version is 6.3.0-1
SFML version is 2.5.1 vc15 64 bit
My os is windows 10 64 bit
When i am in linux i can easily run sfml with
https://stackoverflow.com/questions/48367503/undefined-reference-when-using-sfml that solution
But in windows no matter what I do, no matter how much I research, I always get stuck on this error. I know these questions have been asked before, but I researched too much and still can't figure it out. so please don't be angry
i am using that command: g++ app.cpp -o test -I C:\SFML\include -L C:\SFML\lib -lsfml-graphics -lsfml-window -lsfml-system
and result is just like that:
C:\Users\AppData\Local\Temp\ccUI5DvS.o:app.cpp:(.text+0x7f): undefined reference to `_imp___ZN2sf6StringC1EPKcRKSt6locale'
C:\Users\AppData\Local\Temp\ccUI5DvS.o:app.cpp:(.text+0xa5): undefined reference to `_imp___ZN2sf9VideoModeC1Ejjj'
C:\Users\AppData\Local\Temp\ccUI5DvS.o:app.cpp:(.text+0xe4): undefined reference to `_imp___ZN2sf12RenderWindowC1ENS_9VideoModeERKNS_6StringEjRKNS_15ContextSettingsE'
(Probably this output will not help you much, so I threw it short, otherwise it continues longer like this.)
Please help me. I just want to run sfml without any ide like in linux