Visual Studio C++ Express Edition And Sdl


quietbloke

Still Fresh
Joined
Nov 17, 2005
Messages
35
Location
UK
Website
www.quietbloke.com
OK.. sorry if I am just being plain dumb but I just cant seem to get this to work.

Is there any detailed explanation of getting a program to compile/link that uses SDL from Visual Studio ?

The closest Ive managed is a clean compile but the linker cant find the SDL libraries. Even when I set the linker paths and specify a library the linker says it cannot find the file ( eg. libSDL ).

Ive spent an evening on this and I just cant think of any other things i can do to get this to work.

Otherwise Im going to have to scrap VS and follow one of the other methods of compiling for the GP2X.
 
duh !.. sorry... I found another thread for this and so it seems people have got it working and scannign through I noticed what I was doing wrong.

In case anyone else is wondering
a. How I fixed it becuase they are having the same problem
b. How stupid I am

the answer was that in the project properities for the Linker when you specifiy the libraries you dont give the lib prefix.. eg.. to include the libSDL.a file you specify SDL.

duh !

anywhay.. I got a pixel on the screen !.. whoohoo... happy days !
 
Back
Top