mysql.h and possibly others missing
Long story short;
I am taking a stab at programming some C++, the last program I wrote was for the commodore 64 and was in machine code so this should be fun :) I grabbed the source code for TZVZ Aug 8, 2009 with database. The plan is to get this running so I have a stable virsion to add the edits and changes I want to make, then work the whole thing into whatever new code base is out there. Using Microsoft visual studio 2010 configured the C++ directory's for (soulution) but the source or header files didn't get installed when I installed mysql, or perl, I did ad the zlib though. This probably could had been corrected if I had chosen to use Linux instead of Windows XP to run the game and develop on. mysql config; Connection id: 8 Using delimiter: ; Server version: 5.1.39-community MySQL Community Server (GPL) Protocol version: 10 Connection: localhost via TCP/IP Client characterset: utf8 Server characterset: utf8 TCP port: 3306 Uptime: 18 hours 39 min 40 sec perl config; Active perl 5.8.9 DBI site version 1.609 DBI perl Version 1.607 IO-String Version: 1.08 Question I have in this, can I just download the unix version of mysql and copy the headers to the include directory? I downloaded the mysql connector for C++ and installed it, I got 2 .h's but not the right ones And what is the name of the mysql dev package? Thanks for any help |
zlib.lib
the mysql.h problem is resolved.
so now im getting zlib.lib errors. I went to zlib site downloaded the source, the only project that compiles is the zlibstat.lib I tried to rename the zlibstat.lib that I made to zlib.lib, thinking It just inherited the stat from my build but it didn't work. I found a tutorial on creating .lib from a dll but it looks very complicated. if someone could send me the zlib.lib file I would be very appreciative. |
victory ========== Build: 4 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
Ah, that could had taken much less time.
under windows xp loaded - zlibs (don't change anything its not zlib.lib and thats ok) loaded - (Connector/C (libmysql)) this had every .lib i needed including zlib.lib so no more errors with .lib files, which is good. Now I just need to figure out where the compiled files are and this could be up and running :smile: |
The files, by default, if you checked out from SVN are in EQEmuServer/Debug/ZonePerl.exe, EQEmuServer/Debug/WorldDebug.exe, and EQEmuServer/Debug/EmuShareMem.dll
If you build in release they will be built in the release folder instead, and have a name of World.exe, Zone.exe, and EmuSharemem.dll |
/build/debug not just straight /debug by default.
|
Quote:
Not that it matters, a windows search for the binaries would work fine too. :P |
I found the files last night but cant remember the path, that I found them in. I managed to get the server running made a character, but The launch zone tables are empty in the eq database, and I dropped the peq database (backed it up first 500MB worth) Its restoring now should be done by Tuesday at the latest then I'm going to pull out all the tables that are needed to get the eq database running.
I think its going to work out fine once I get the eq database updated, so I will make all the changes for lighty vs darky over the next week. Have a great 4th of July! |
All times are GMT -4. The time now is 05:38 PM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.