User forums > Using Code::Blocks
Codeblock not finding SDL_image?
d3mn0id:
What I did was simply to go to Settings->Compiler and debugger->Global compiler settings->Linker settings and add
-lSDL
-lSDL_image
to other linker options
This worked very well, I don't know if it is the best way but hey, it works, only with GNU GCC though.
wilbefast:
Thought this got locked :?
That's the fix. It all comes from not knowing the difference between headers and libraries - I'm a bit further on in my studies now, and considerably less ignorant :)
Navigation
[0] Message Index
[*] Previous page
Go to full version