<html><div style='background-color:'><DIV class=RTE>
<P>host.obj : error LNK2001: unresolved external symbol _enet_socket_create<BR>host.obj : error LNK2001: unresolved external symbol _enet_socket_destroy<BR>host.obj : error LNK2001: unresolved external symbol _enet_time_get<BR>protocol.obj : error LNK2001: unresolved external symbol _enet_time_get<BR>protocol.obj : error LNK2001: unresolved external symbol _enet_socket_send<BR>protocol.obj : error LNK2001: unresolved external symbol _enet_socket_wait<BR>protocol.obj : error LNK2001: unresolved external symbol _enet_socket_receive<BR>winmain.obj : error LNK2001: unresolved external symbol _enet_deinitialize<BR>winmain.obj : error LNK2001: unresolved external symbol _enet_initialize<BR>Debug/pokeclient.exe : fatal error LNK1120: 8 unresolved externals<BR>Error executing link.exe.</P>
<P>pokeclient.exe - 10 error(s), 0 warning(s)</P>
<P>This is with the source files added to my project, not the static library. winmain.cpp is my own file, so that's where those last two are coming from (enet_deinitialize and enet_initialize).<BR><BR></P></DIV>
<DIV></DIV>>From: Brian Hook <hook_l@bookofhook.com>
<DIV></DIV>>Reply-To: Discussion of the ENet library <enet-discuss@cubik.org>
<DIV></DIV>>To: Discussion of the ENet library <enet-discuss@cubik.org>
<DIV></DIV>>Subject: Re: [ENet-discuss] Linker Errors
<DIV></DIV>>Date: Tue, 20 Jul 2004 10:23:01 -0400
<DIV></DIV>>
<DIV></DIV>>What are the exact linker errors you're getting?
<DIV></DIV>>
<DIV></DIV>>Brian
<DIV></DIV>>
<DIV></DIV>>On Tue, 20 Jul 2004 00:02:22 -0700, Jason Wynja wrote:
<DIV></DIV>> > Hello, I'm having linkers problems with Enet, so I decided to
<DIV></DIV>> > browse these forums to see if my problem had already been had, and
<DIV></DIV>> > another member had the same linker errors about a year ago here:
<DIV></DIV>> >
<DIV></DIV>> > http://lists.puremagic.com/pipermail/enet-discuss/2003-
<DIV></DIV>> > August/thread.html
<DIV></DIV>> >
<DIV></DIV>> > There are a number of posts here titled "Linker Errors". This guy
<DIV></DIV>> > fixed his problem by including "win32.h", but this doesn't fix the
<DIV></DIV>> > problem for me. win32.h is already included. Someone else suggested
<DIV></DIV>> > turning off minimal building and incrementally linking. I tried
<DIV></DIV>> > turning off incremental linking but that didn't fix the problem,
<DIV></DIV>> > and I couldn't figure out how to turn off minimal building. I have
<DIV></DIV>> > MSVC++ 6.0. Does anyone understand why this is happening? Thanks
<DIV></DIV>> >
<DIV></DIV>> >
<DIV></DIV>> > Powerful parental controls improve your peace of mind with MSN
<DIV></DIV>> > Premium: Join now and get the first two months FREE*
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>
<DIV></DIV>>_______________________________________________
<DIV></DIV>>ENet-discuss mailing list
<DIV></DIV>>ENet-discuss@cubik.org
<DIV></DIV>>http://lists.cubik.org/mailman/listinfo/enet-discuss
<DIV></DIV></div><br clear=all><hr>Share a single photo or an entire slide show right inside your e-mail with <a href="http://g.msn.com/8HMAENCA/2743??PS=47575">MSN Premium: </a> Join now and get the first two months FREE*</html>