O.K, I'm trying to put the SDL into my project. I've downloaded the SDL, I try linking it and the compiler can't find it. I've tried saving it (SDL) into every possible directory/sub directory and nothing. This is the (ever so 'king helpful) error message I get:
cannot find -lSDL.lib
ld returned 1 exit status
C:\sa\SDL-1.2.8\lib\Makefile.win [Build Error][Project1.exe] Error 1
If anyone can help, or knows where I can download a pre-installed SDL Dev template project or knows where I'm going wrong, I'll be forever in your debt (maybe not forever). I've gone through around 3-4 step by step tutorials and get the same result.
Thanks
Matt
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same right now with U++ and did it there with some effort. U++ also "sitting" at the MingW, so it cannot be that different to get it on with Dev too.
O.K, I'm trying to put the SDL into my project. I've downloaded the SDL, I try linking it and the compiler can't find it. I've tried saving it (SDL) into every possible directory/sub directory and nothing. This is the (ever so 'king helpful) error message I get:
cannot find -lSDL.lib
ld returned 1 exit status
C:\sa\SDL-1.2.8\lib\Makefile.win [Build Error] [Project1.exe] Error 1
If anyone can help, or knows where I can download a pre-installed SDL Dev template project or knows where I'm going wrong, I'll be forever in your debt (maybe not forever). I've gone through around 3-4 step by step tutorials and get the same result.
Thanks
Matt
Hello Matt,
I had the same right now with U++ and did it there with some effort. U++ also "sitting" at the MingW, so it cannot be that different to get it on with Dev too.
First you should copy the SDL.dll to "C:/winnt/system32/". If that alone doesnt perform it, see my questions here, especially the screenshot of "mrjt" (and ignore the tips of "masu"):
http://www.ultimatepp.org/forum/index.php?t=msg&goto=14842&#msg_14842
I have ned that to get the SDL-sample running U++ has included (...). Hope that helps.
kind greets
Martin
My Dev version is 4.9.9.2 and my O.S is vista