[SDL] undefined reference to `SDL_Init'
Patricia Curtis
patricia.curtis at gmail.com
Mon Mar 19 19:08:33 PDT 2007
Hi
I don't have your set up but when you start playing with SDL, you need
the DLL's in your programs execute directory, and you need to link against
the library's . lib files.
so typical set up would be add the SDL/include directory to your project.
(compile)
add the SDL/lib directory to your project (link) or where your library's are
put your SDL Dll's in your program directory (i found on VS it was the
project directory and not the Debug Dir)
when i started using SDL it took a few days so however long it takes to get
your set up working it will be worth it as once you have the basics its a
dream to develop with SDL. so stick with it.
I hope that helps
Trish
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070320/aa2e8746/attachment.htm
More information about the SDL
mailing list