Help setting up SDL?

Started by
5 comments, last by Muppi 20 years ago
I need some help setting up SDL, anyone ever used SDL with the really nice free compiler http://www.parinya.ca ?
Things i felt yesterday, don''t matter any more.
Advertisement
Wow, that compiler reminded me very much of MS VC++...coincidence?

Be sure you have the lib files in a folder that the compiler knows about. Same with the include files.
2 + 2 = 5 for extremely large values of 2
But in, like dev-cpp i need to "add" some compiler commands, i dont know about microsoft visual cpp though, but i think this is the same compiler as dev-cpp use, but im not sure though
anyone know for sure?
Things i felt yesterday, don''t matter any more.
Have you tried something and that doesn't work?
Or don't you know how to approach it?

Generally you have to add
-lmingw32 -lSDLmain -lSDL
to the linker.

I tried copying a Dev-Cpp project but I can't get it to work.
It does work in Dev-Cpp though.
My guess is that Files are included from \MinGWStudio\MinGW\include\ that I don't want.
Not sure why that happens ...

And I think it is not a SDL problem. So maybe describe what problems you have!?

[edited by - Clueless on March 19, 2004 8:07:34 AM]
Writing errors since 10/25/2003 2:25:56 AM
I dont know where to add that compiler setting in that compiler..
Oops ... I thought I knew ... but adding things there does not make a difference.
Sorry ... I can't help

Did you ask in the forum btw?
Forum Link

[edited by - Clueless on March 19, 2004 8:59:54 PM]
Writing errors since 10/25/2003 2:25:56 AM
quote:Original post by Muppi
But in, like dev-cpp i need to "add" some compiler commands, i dont know about microsoft visual cpp though, but i think this is the same compiler as dev-cpp use, but im not sure though
anyone know for sure?


Yeah, it does use the same compiler (MingW) as DevC++.

This topic is closed to new replies.

Advertisement