EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Archive::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=621)
-   -   Quick compilation guide (https://www.eqemulator.org/forums/showthread.php?t=2836)

Wiz 08-14-2002 02:53 AM

Quick compilation guide
 
Since there's no compilation guide around, and people tend to ask a lot about it (I did!), I thought I'd write a quick one. This is for Visual C++, but I'm guessing the basics of it would work with another compiler.

Download the source, extract it. (Duh)

Grab Zlib - http://www.libpng.org/pub/png/src/zlib114.zip and extract it someplace.

Open up Server.dsw, and go into Tools - Options. Select the "Directories" tab.

From the drop-down menu, select "Libraries". Now add the following two paths:

x:\yourmysqlfolderpathhere\lib\opt\
x:\yourzlibfolderpathhere\

Then select "Include Files" from the same menu. Add the following two paths:

x:\yourmysqlfolderpathhere\include\
x:\yourzlibfolderpathhere\

Go into Tools, and select "Batch Build". Uncheck all options but the "Win32 Release" ones.

You're done! With a clean source, it should compile fine. ZoneNT.exe and World.exe will now be placed in x:\youreqemusourcefolderpath\Build\

kathgar 08-14-2002 06:03 AM

Linux compile guide
 
cd ~/source/zone;make;cd ../world;make
I normally cp the binaries to a different directory so you don't have to have 2 copies of db.ini and such. Oh, if you are missing libs ld <libname>...you might nto have put /usr/lib/mysql/ in ld.so.conf, or didn't ldconfig after you changed it.


All times are GMT -4. The time now is 03:17 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.