[ENet-discuss] RE: Linker Errors

Brian Hook hook_l at pyrogon.com
Mon Aug 11 11:58:15 PDT 2003


> I added win32.c to my project (didn't even know I had todo that! :)

Normally you wouldn't add that, you'd be using the static project lib.

> and I was still getting the errors, so I included win32.h after
> #include <enet.h> and it compiled fine. :\

I doubt that was the actual fix.  Try removing that include statement 
and doing a full rebuild, my guess is that it should work.  At least, 
it should, since <enet/enet.h> includes "win32.h" by default.

Brian





More information about the ENet-discuss mailing list