[SDL] undefined reference to `SDL_Init'

Engin Çalar engincalar at gmail.com
Fri Apr 13 12:23:25 PDT 2007


Hi...
(i use devcpp on windowsxp amd machine..)

open the project options and parameters tab..Then write that::
-lmingw32 -lSDLmain -lSDL  (the order is important)

then ,if you want ,add the following  ::     -lopengl32 -lglu32 .........

2007/3/19, Kein-Hong Man <keinhong at gmail.com>:
>
> Nelson Moreno Machado wrote:
> > I try runing the Example 1-1 of the SDL Library Documentation, Chapter
> 1. The
> > Basics.
> > I Work in Windows XP, AMD64, MinGW Developer Studio.
> > The bug: undefined reference to 'SDL_Init'
> > The include files, the *.dll file and lib files I put in your place.
> > Can you help me? Please.
>
> We would like to help, but there isn't enough information to work
> on. Please read the following:
>
> http://www.catb.org/~esr/faqs/smart-questions.html
>
> HTH,
> --
> Cheers,
> Kein-Hong Man (esq.)
> Kuala Lumpur, Malaysia
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>



-- 
Just say the words , your wish is my command..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070413/2c3a9346/attachment.html 


More information about the SDL mailing list