|
| |||||||||||||||||||||||||||||||||||||
| spacecamp (18) | |
|
When i use IMG_Load function i get this error:Undefined reference to IMG_Load I'm using this linker: -lSDLmain -lSDL -lmingw32 -lSDL_image Using Codeblocks When i used that code on Dev-Cpp i get this error: File format not recognized. Help me pls | |
|
|
|
| spacecamp (18) | |
| Help me pls.I'm sure somebody knows that. | |
|
|
|
| Framework (3491) | |
|
First, and most importantly, swap Dev-C++ with a modern compiler, such as MinGW, or Visual C++. As for your problem, it screams: "You haven't linked the library where the definition of IMG_Load resides!". Have you linked the libraries? Wazzak | |
|
|
|
| spacecamp (18) | |
|
I have linked libraries .As you said its probaly compiler problem.I'm going to try with Visual C++. Thanks. | |
|
|
|