I've just switched to c::b from DevC++ and im trying to compile an SDL_net example from SDLnet (Official).
I've originally installed the C::B with MingW and then installed/copied the nightly build 29062006 over it sucessfully.
I've tried searching the forum for any other solutions to my problem.
It doesn't seem to be picking up the SDLnet libs or anything.
.objs\chatd.o:chatd.c:(.text+0x10): undefined reference to `SDLNet_TCP_Accept'
.objs\chatd.o:chatd.c:(.text+0xaf): undefined reference to `SDLNet_TCP_Send'
.objs\chatd.o:chatd.c:(.text+0xcf): undefined reference to `SDLNet_DelSocket'
.objs\chatd.o:chatd.c:(.text+0xe6): undefined reference to `SDLNet_TCP_Close'
.objs\chatd.o:chatd.c:(.text+0x116): undefined reference to `SDLNet_TCP_Send'
.objs\chatd.o:chatd.c:(.text+0x121): undefined reference to `SDLNet_TCP_Close'
.objs\chatd.o:chatd.c:(.text+0x149): undefined reference to `SDLNet_TCP_GetPeerAddress'
.objs\chatd.o:chatd.c:(.text+0x17a): undefined reference to `SDLNet_AddSocket'
.objs\chatd.o:chatd.c:(.text+0x273): undefined reference to `SDLNet_TCP_Send'
.objs\chatd.o:chatd.c:(.text+0x2a7): undefined reference to `SDLNet_TCP_Recv'
.objs\chatd.o:chatd.c:(.text+0x33c): undefined reference to `SDLNet_TCP_Send'
.objs\chatd.o:chatd.c:(.text+0x366): undefined reference to `SDLNet_DelSocket'
.objs\chatd.o:chatd.c:(.text+0x37d): undefined reference to `SDLNet_TCP_Close'
.objs\chatd.o:chatd.c:(.text+0x4c8): undefined reference to `SDLNet_TCP_Close'
.objs\chatd.o:chatd.c:(.text+0x4e8): undefined reference to `SDLNet_FreeSocketSet'
.objs\chatd.o:chatd.c:(.text+0x4f7): undefined reference to `SDLNet_Quit'
.objs\chatd.o:chatd.c:(.text+0x54f): undefined reference to `SDLNet_Init'
.objs\chatd.o:chatd.c:(.text+0x5cb): undefined reference to `SDLNet_AllocSocketSet'
.objs\chatd.o:chatd.c:(.text+0x621): undefined reference to `SDLNet_ResolveHost'
.objs\chatd.o:chatd.c:(.text+0x647): undefined reference to `SDLNet_TCP_Open'
.objs\chatd.o:chatd.c:(.text+0x698): undefined reference to `SDLNet_AddSocket'
.objs\chatd.o:chatd.c:(.text+0x6ad): undefined reference to `SDLNet_CheckSockets'
collect2: ld returned 1 exit status
I've tried put the SDLnet lib/src directory into the appropriate linker/compiler options but doesn't seem to make any difference. Yes, the SDLnet DLL are within the project plus available in %WINDIR%.
What have I missed?
Using: SDL-1.2.11 nd SDLnet-1.2.6 (SDLnet is same directory as SDL in include etc.)