No categories assigned

Admins:Windows Server

Revision as of 02:33, 7 August 2015 by Cynnar (talk | contribs)

Admins - How to compile a windows server

Return to: Admins | Tutorials | Portal | Forum | Project Manager | Bug Tracker


This is a guide on getting the source code and compiling it using a windows environment.


Getting the source

In order to download the source a GUI subversion client such as TortoiseSVN is recommended to retrieve the source code, and will be used in this guide.

Once TortoiseSVN is installed you will need to choose a place to download the source to. I find it is easier to start a directory and structure it for ease of access and better readability. Open up My Computer and navigate to C:\. Make a new folder here and call it EQ2. Open up then newly created EQ2 folder and add a new folder inside that calling it Source. Open up the newly created Source folder and bring up the right click menu. Choose SVN Checkout.. You will then be presented with the checkout window. Enter the URL for the public source repository, and the directory you want to checkout the source code to.

SVNCheckoutBox.png

Click on the OK button and you will then have another window popup asking for authentication. There might be a Certificate validation failed error before you have to authenticate. As long as the certificate is from MMO, MMOE, Phoenix, AZ, US you are good to go. Choose either the permanently or the one time only option to continue.

You can get the latest source code for the SVN Page. The login credentials are SVN Username: anonymous (no password required)


  • Download latest source from the SVN
  • Open EQ2WorldVC10.sln in the win folder and run through the conversion wizard.
  • In Visual Studio 2010 or 2012, right click the project and select properties
  • Under the VC++ Directories: ensure the following are included (should be configured already) (the same x64 equivalents if compiling x64)
    • Include directories
      • $(SolutionDir)..\source\depends\mysql-5.1.45-win32\include
      • $(SolutionDir)..\source\depends\zlib\include
    • Library directories
      • $(SolutionDir)..\source\depends\mysql-5.1.45-win32\lib\opt
      • $(SolutionDir)..\source\depends\zlib\lib
  • Compile and enjoy. (if you experience issues compiling the x64 you may need the Windows 7.1 SDK)



==

Original guide taken from EQ2Emu Forums posted by Razmalone Origional Post Here
Updated here by theFoof 3/10/13

==