Compile Source with Visual Studio 2005
Posted: Tue Oct 16, 2007 9:22 am
How to compile EQ2EMu for Visual Studio 2005
1) Download zlib source code and Extract it to C:\zlib.
2) Open World.sln and run through the Conversion Wizard. (Me, I just hit next and finish to everything.)
3) Use Visual Studio 2005, go to
tools -> options -> Projects and Solutions and then to VC++ Directories.
4) Under the Show directories for: click on the drop down and choose Include files.
5) Click the New Line button(Ctrl+Insert)and Direct it to "C:\zlib\include".
6) Follow same steps as 5 and add the "C:\Program Files\MySQL\MySQL Server 5.0\include" directory.
7) Now click on the Show directories for: drop down again and choose Reference files and add "C:\Program Files\MySQL\MySQL Server 5.0\lib\opt"
8) Rename zlib1.dll to zlib.dll and copy it into your eq2emu folder (working directory depends if debug/release).
NOTE:
If you don't have the Include or lib\opt directories in your MySQL directory You need to re-install\modify-install your MySQL install to include the Developer Components (You can't just hit next through the whole thing).
REFERENCES:
MySQL Install:
http://dev.mysql.com/get/Downloads/MySQ ... ck#mirrors
zLib Download:
http://www.zlib.net/zlib123-dll.zip
For those who haven't figured out what the download button at the top is for. The Source:
http://sourceforge.net/project/showfile ... _id=546723
I know this is pretty much the same as the one for VS 2003 from the Tutorial section at http://eq2emulator.net/forums/viewtopic.php?t=100 I just figured it wouldn't hurt.
1) Download zlib source code and Extract it to C:\zlib.
2) Open World.sln and run through the Conversion Wizard. (Me, I just hit next and finish to everything.)
3) Use Visual Studio 2005, go to
tools -> options -> Projects and Solutions and then to VC++ Directories.
4) Under the Show directories for: click on the drop down and choose Include files.
5) Click the New Line button(Ctrl+Insert)and Direct it to "C:\zlib\include".
6) Follow same steps as 5 and add the "C:\Program Files\MySQL\MySQL Server 5.0\include" directory.
7) Now click on the Show directories for: drop down again and choose Reference files and add "C:\Program Files\MySQL\MySQL Server 5.0\lib\opt"
8) Rename zlib1.dll to zlib.dll and copy it into your eq2emu folder (working directory depends if debug/release).
NOTE:
If you don't have the Include or lib\opt directories in your MySQL directory You need to re-install\modify-install your MySQL install to include the Developer Components (You can't just hit next through the whole thing).
REFERENCES:
MySQL Install:
http://dev.mysql.com/get/Downloads/MySQ ... ck#mirrors
zLib Download:
http://www.zlib.net/zlib123-dll.zip
For those who haven't figured out what the download button at the top is for. The Source:
http://sourceforge.net/project/showfile ... _id=546723
I know this is pretty much the same as the one for VS 2003 from the Tutorial section at http://eq2emulator.net/forums/viewtopic.php?t=100 I just figured it wouldn't hurt.