First, download and extract MySQL 5.1.45-win64 somewhere on your hard drive. You need this for the dependencies described later (btw, you can just go to dev.mysql.com and get any current release version of MySQL x64, this one is just the one I use).
DOWNLOAD: http://dev.mysql.com/get/Downloads/MySQ ... ql.he.net/
Extract the zip file somewhere - here is my example folder structure (can be anything you wish): With the EQ2World sources checked out, open World.sln with Visual Studio 2008 (should work the same for Express as Pro)
First, click on Tools / Options: and select VC++ Directories on the left, and Platform = x64, and Show Directories For "Includes" on the right. Notice how I added the full path to the same place I extracted the MySQLX64 files to, the "include" directory.
On the same Options screen, now choose References (still on the x64 platform): Again, the full path as shown.
Finally, select Libraries from the same Options screen:
Once these 3 options are added, click OK and save your settings. One more thing to verify before we compile.
Right-Click on World in the Solution Explorer, and select Properties:
Expand Configuration Properties / Linker and select Input.
Switch the Configuration selector in the top left to Release, and the Platform to x64. You should not have to make any changes here, you are merely verifying your project file is setup properly (and it should be).
You should see some LIBs listed that are specifically for x64 in the Additional Dependencies box: Switch the Configuration selector in the top left to Debug, and verify the same for those Additional Dependencies: Without those files, x64 will fail to compile - and this is where we were stuck for the longest time, trying to figure out how to compile our own LIBs. But LE came to the rescue, and has provided us with a set of pre-compiled libraries we can use.
Download this LIB archive, and unpack it to the Source/LUA folder in your EQ2World source files.
DOWNLOAD: http://eq2.mmoemulators.com/files/EQ2World_x64Libs.zip (we'll get these onto the public SVN asap)
Press F7, and you should now get x64 Debug or Release binaries built of the latest SVN code.
I would like to see our devs get this setup and start batch-building both x86 and x64 release binaries to commit to SVN whenever there is a code change.