Hey , im very desperated noob who has 2 days to make his project. I need to put graphic into it but can't compile it coz of error when i type
if (!texture.loadFromFile("aha.png"));
. It's only 1 error which says
||=== Build: Debug in ehhhagain (compiler: GNU GCC Compiler) ===|
obj\Debug\main.o||In function `main':|
C:\Users\Dq\Desktop\Milionery\ehhhagain\main.cpp|19|undefined reference to `_imp___ZN2sf7Texture12loadFromFileERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKNS_4RectIiEE'|
||error: ld returned 1 exit status|
||=== Build failed: 2 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|
. I have no time and i really need help, yesterday i was googling for 7 hours to find a solution and i found nothing.... I have every lib linked and in good order, i tried to compile sfml by myself but error was the same. i ve got code blocks 16.01 mingw version and GCC 4.9.2 TDM (SJLJ) 32-byte SFML 2.4.2. I don't know what to do, please help me