Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-19-2004, 11:01 PM
ajb20
Hill Giant
 
Join Date: Jul 2004
Posts: 106
Default Guide to Compiling CVS Source with VS .NET 2003

Hey all. I realized there hasn't been an updated guide to compiling in a while so I decided it was time to write one up. So here we go from the top.

First off, You will need a CVS Client. I prefer Tortoise CVS which you can get here.

After installing, right click on the folder you want to download the CVS files to and than click on CVS Checkout.



The screen that follows requires the following information:
Protocol: Password server [:pserver:]
Protocol Parameters: Leave blank
Server: cvs.sourceforge.net
Port: Leave blank
Repository Folder: /cvsroot/eqemulator
User Name: anonymous
Module: EqEmuCVS



Once this is all entered, click OK and go find something to do for a bit if you are on a slow connection as it will download all the pre-compiled version, sql files, and source files for the latest update.

Ok so CVS checkout is complete. Now go searching for that nice little folder you did the checkout to (I usually checkout to desktop for simplicity) and you should see a folder named EQEmuCVS. That's that one you want



Inside the folder you will want to open the folder named "Source" and than open Server.dsw.



When it opens, click "Yes to all" to convert the project.

You should now have something similar to below up:



(OPTIONAL)Now if you want to install Perl (optional) you will need to do the next steps, otherwise you can skip ahead passed the optional steps.

click the + next to zone to expand the listing of files.



(OPTIONAL)Now right click on Source Files and go to "Add>" "Add Existing Item".



(OPTIONAL)You should by default be browing the "zone" folder at this point. You need to search for and add these 3 files:
embperl.cpp
embparser.cpp
embxs.cpp



(OPTIONAL)After you have completed this, do the same process over again using header files this time.



(OPTIONAL)The 3 files you need to add this time are:
embperl.h
embparser.h
embxs.h



(OPTIONAL)Now you need to right click on zone iteself and select "Properties".



(OPTIONAL)Select the C++ folder and the Preprocessor Options from the window that pops up.



(OPTIONAL)Change the configuration to "Release" and ensure that the platform is either Win32 or Active(Win32).



(OPTIONAL)Now highlight "Preprocessor Definitions" and click on the button that appears to the right. A window with the definitions should pop up.



(OPTIONAL)Scroll to the bottom of the list and add the following:
EMBPERL
EMBPERL_PLUGIN



(OPTIONAL)Click OK to close the current window, and than click Apply and OK to save the settings and close the Zone Properties window.
----------------------------------------------------END PERL CONFIGURATION

Now one last step and you are ready to compile. The rest holds true regardless if you are compiling a Perl enabled source or not.

Click the "Solution Configurations" drop-down menu and select Release.



Now Select the Build menu and select "Build Solution".



At this point sit back and read a good book cause it will take a few minutes


Hopefully if everything worked, you will see this message:
Code:
---------------------- Done ----------------------

    Build: 3 succeeded, 0 failed, 0 skipped
At this point you can close VS .NET.

Now browse back to the EqEmuCVS folder that we started in. In the "Source" folder there should be a new folder named "Build" present now. It will most likely have a ?/folder icon if you are using Tortoise CVS.



Inside this folder you will find:
zone.exe
world.exe
EMuShareMem.dll

These are the 3 files you need to copy and paste into your EqEmu directory.



At this point you are all set to go if you already have your .ini files configured. There are plenty of tutorials about that can walk you through setting up the server from this point

Hopefully I didn't leave anything out but I am sure this will be edited a couple times in the near future.
Reply With Quote
  #2  
Old 10-22-2004, 10:18 AM
sgaske24
Sarnak
 
Join Date: Sep 2004
Posts: 30
Default

You left a few important parts out :(.

The most important are the include files needed to build EQemu - Zlib is needed as well as include files for mysql. If you are going to build with perl you also need to have perl installed properly before you attempt to build.

Admittedly I'm too lazy to search around for the links, but you can find the links to what you need through the "How to compile with VS.NET Trial" tutorial in the tutorial/howto forum, its stickied so anyone who looks should find it easily.

Other than those important points this is a nice tutorial, it's nice to see something that is up to date for a change!

EDIT: Almost forgot - if you look at the tutorial for compiling via the VS.NET Trial in the Tutorial/Howto forum, it explains what to do with the mysql include files and Zlib.

-GM Thrax
Reply With Quote
  #3  
Old 10-22-2004, 12:11 PM
ajb20
Hill Giant
 
Join Date: Jul 2004
Posts: 106
Default

Ya I was thinking about that earlier this morning that I didn't have any include libraries and how to do them. I will add that to the tutorial when I get a chance
Reply With Quote
  #4  
Old 11-04-2004, 03:26 PM
hypershadow66
Banned
 
Join Date: Nov 2003
Posts: 335
Default

it is compiling fine and i did every step yet when i run boot5zones it loads fine except theres no message saying it loaded perl..
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 11:44 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3