[SDL] SDL_net dev cpp linker problem
Chris Rajula
superrajula at gmail.com
Fri May 4 05:23:55 PDT 2007
Right, that's just as I thought then, however, do I need to compile the
SDL_net library myself to be able to link with it?
/Chris
On 5/4/07, Alvin <alvinbeach at gmail.com> wrote:
>
> On Friday 04 May 2007 08:58:37 Chris Rajula wrote:
> > Hello there!
> >
> > I'm trying to compile a small program which I've written and uses SDL
> and
> > SDL_net.
> >
> > Problem is, that I get a couple of these: [Linker error] undefined
> > reference to `SDLNet_TCP_Recv'
> > Are there any special flags I should give to the compiler/linker,
> besides
> > from -lSDL?
> >
> > Can't figure this out, and the documentation provides no help for
> compiling
> > using windows.
>
> -lSDL_net ;)
>
> SDL_net is an addon library - it's not a part of the core SDL library.
> Therefore, you need to specify it when you are linking. This goes for the
> other SDL_????? libraries (e.g. SDL_ttf).
>
> Alvin
>
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>
--
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GIT d? s-: a--- C>$ UL+++>$ P L+++>$ !E--- !W+++>$ !N o? K--? !w-- !O----
!M>$ !V? PS+(+++)@ !PE Y++ !PGP? t++ !5? X++ !R tv--? b+>$ DI D+ G e h !r
!y*
------END GEEK CODE BLOCK------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20070504/584c40c6/attachment.html
More information about the SDL
mailing list