[ENet-discuss] Installing..
Adam D. Moss
adam at gimp.org
Wed Sep 21 01:11:06 PDT 2005
Francisco Selles wrote:
> mingw32-g++.exe -L"..\..\..\..\Program Files\CodeBlocks\lib"
> -L"C:\Program Files\CodeBlocks\lib" -o win32gui.exe .objs\main.o
> -lgdi32 -luser32 -lkernel32 -mwindows
> .objs\main.o(.text+0xa):main.cpp: undefined reference to `enet_initialize'
> .objs\main.o(.text+0x48):main.cpp: undefined reference to
> `enet_deinitialize'
It doesn't look like you're telling the compiler to link
libenet. Try adding -lenet to the commandline.
--Adam
--
Adam D. Moss - adam at gimp.org
More information about the ENet-discuss
mailing list