Slightly Outdated :: HOWTO: Compile EQEMu on VC++6
In this guide I will show you how to compile EQEMu Source using Visual C++ 6 and the latest source rar/zip. I will not be covering how to operate wincvs as it is covered in other posts.
You will need:
You must download the following:
Now do the following:
Now, open up Microsoft Visual C++ 6, and make sure you are NOT using a '.NET' version by going to Help > About Visual C++... If you see a screen that looks like: http://img34.exs.cx/img34/4763/vc6.gif You DO have Visual C++ 6 and you can move on. However, if you see: http://img34.exs.cx/img34/842/vcnet.gif You may NOT have Visual C++ 6. Indicators you do not have VC++6 are: -Mentioning of the .NET Framework (Blue) -.NET Logo (Green, see below) -Year 2003, 2004 or 2005 Mentioned. (Red) .NET Logo looks like this: http://img34.exs.cx/img34/5317/vcnetsml.gif However, the Visual Studio logo (the one you want) looks like this: http://img34.exs.cx/img34/7623/vc6sml.gif ------------------------------------------------------ Configuring the Project Go to Start>Run and type in "C:\EQEMu\Source\EMuShareMem\EMuShareMem.dsw" http://img34.exs.cx/img34/4227/run1.gif Immediatly, Visual Studio should open with the EMuShareMem.dll project. Go to Tools > Options... Click the Directories Tab, and under Include Files, add: C:\EQEMu\MySQL\include Now go to Build > Build EMuShareMem.dll When it is sucessful, you will see this: http://img34.exs.cx/img34/5282/0error.gif Next, go to File > Close Workspace, and then File > Open Workspace. Select 'World.dsw' inside of C:\EQEMu\Source\World\ and click Open. Before building this time, go to Tools > Options... Next, click the Directories Tab and add these directories in under "Include Files": C:\EQEMu\mysql\include C:\EQEMu\zlib C:\EQEMu\zlib\include Now under "Show Directories For:" Change the dropdown menu to "Library Files". Now add to here, C:\EQEMu\MySQL\lib\opt Now click OK and go to Build > Build World.exe! -------------------------------------------------------- Building Zone.exe (no Perl) Go to Start > Run Type in "C:\EQEMu\Source\zone\zone.dsw" Click OK Go to Tools > Options... Verify that the following directories are listed under "Include Files" in the Directories Tab: C:\EQEMu\mysql\include C:\EQEMu\zlib C:\EQEMu\zlib\include If they are not, add them! Now Click "Include Files" And Drop Down to "Library Files" and verify that the following is in there: C:\EQEMu\MySQL\lib\opt If it is not, add it! Now, you may go to Build > Build Zone.exe ------------------------------------------------ Building Zone.exe WITH Perl First, download and install ActivePerl (ActivePerl Downloads) to C:\EQEMu\perl Now install IO::Scalar using a snip from Lurker_005's Guide to the Perl Quest System. Quote:
Go to Start > Run Type in "C:\EQEMu\Source\zone\zone.dsw" Click OK Now, click OKAY and go to Build > Configurations. Click on Add... and make: Configuration: Perl Copy Settings From: Zone - Win32 Release Platform: Win32 Click OK, and then Close. Next, go to Build > Set Active Configuration Select Zone - Win32 Perl Click OK. Go to Tools > Options... Verify that the following directories are listed under "Include Files" in the Directories Tab: C:\EQEMu\mysql\include C:\EQEMu\zlib C:\EQEMu\zlib\include If they are not, add them! Now Click "Include Files" And Drop Down to "Library Files" and verify that the following is in there: C:\EQEMu\MySQL\lib\opt If it is not, add it! Now, go to Project > Settings... Click the C/C++ Tab and Verify the Category is GENERAL. http://img34.exs.cx/img34/4259/projset.gif Under Preprocessor Definitions, ADD (Do NOT replace), the following: ,EMBPERL,EMBPERL_PLUGIN Now switch the Category to Preprocessor and add to the "Additional Include Directories", c:\eqemu\perl\lib\core Next, Click the Link tab and Change the Category to Input Under "Additional Library Path", Add: c:\eqemu\perl\lib\core Now click okay, and go to Project > Add to Project > Files... In "File Name" Type: emb*.* and hit enter. Select all files that still are showing and click OPEN. Now go to Build > Build Zone.exe! -------------------------------------------------------------- Tested under 2 Computers, Windows XP Home, Microsoft Visual C++ 6.0 (1998) on both. If you feel I missed something or was unclear about something post here, but, again, I won't be supporting this thread as I don't want to be flooded with newbie tells =D. |
Sorry to bump an old post
Is this tutorial still correct Cis? and if it isnt can or do you mind updating it please and how to get to the "main" branch of the cvs of the source i believe that would be 6.0 DR2 not sure though..
i dont know the status of DR3 myself... its been awhile and lots has changed so im trying to keep up but do new stuff Thanks in advance |
Why are my compiled executes like 3x larger than the precompiled version you can download on sourceforge? I disabled debug and everything, It's annoying. My compiled version also uses more bandwidth per client.
|
Quote:
|
Quote:
|
The first thing to check is to see, under preprocessor definitions (see tutorial for where that is), that EQDEBUG=0.
|
Quote:
Edit: actually "NDEBUG" /D was was a part of common options. My bad. Still, EQDEBUG=0 isn't effective. |
Quote:
|
All times are GMT -4. The time now is 03:14 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.