Log in

View Full Version : Compiling 5.7-DR4


sianyde
06-01-2004, 02:31 PM
I've unfortunately chosen this week to introduce myself to EQEmu. Couldn't ask for a better time, right? =)

I'd like to run a server on my own machine, first to do some exploration, and perhaps to open for public use later.

This is my first attempt at compiling anything in C++. I am using Windows XP SP1 with Visual Studio .NET. I've downloaded the newest source from cvs. When trying to compile the solution 'server', I encounter numerous C1083 errors, specifically that the compiler can't find 'errmsg.h', 'zlib.h', and 'mysql.h'.

I have 'mysql.h' and 'errmsg.h' (well, several of those, but I suspect the right one is the one in the mysql dir), and I d/l zlib 1.2.1. How do I tell the compiler how to find these files?

Tangeleno
06-01-2004, 02:36 PM
There's a tutorial in the Tutorials and Howtos section. http://www.eqemulator.net/forums/viewtopic.php?t=14719
If you read it I'm sure you'll figure it out :)

sianyde
06-01-2004, 03:23 PM
There's a tutorial in the Tutorials and Howtos section. http://www.eqemulator.net/forums/viewtopic.php?t=14719
If you read it I'm sure you'll figure it out :)


Thanks a TON!!! That guide was very easy to adapt to my situation. The server compiled successfully on the second try.

On the first try, I forgot to remove the NPCTypes.h and .lib files. I read somewhere in another post that they are not used anymore and cause compile problems.

On the second try, I got some warnings, but the program appears to have compiled successfully. I'll begin playing around with it and see how it works.

Thanks again for a great reply!