Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old 07-02-2010, 02:19 PM
lanystvyl
Sarnak
 
Join Date: Jan 2010
Posts: 53
Default 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
Reply With Quote
  #2  
Old 07-02-2010, 04:23 PM
lanystvyl
Sarnak
 
Join Date: Jan 2010
Posts: 53
Default 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.
Reply With Quote
  #3  
Old 07-02-2010, 08:41 PM
lanystvyl
Sarnak
 
Join Date: Jan 2010
Posts: 53
Default 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
Reply With Quote
  #4  
Old 07-02-2010, 11:38 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

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
Reply With Quote
  #5  
Old 07-03-2010, 01:52 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

/build/debug not just straight /debug by default.
Reply With Quote
  #6  
Old 07-03-2010, 06:28 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,450
Default

Quote:
Originally Posted by KLS View Post
/build/debug not just straight /debug by default.
mmm, I think we're both wrong. Fresh install of VS2008 put them in /build when compiling in debug.

Not that it matters, a windows search for the binaries would work fine too. :P
Reply With Quote
  #7  
Old 07-03-2010, 08:13 PM
lanystvyl
Sarnak
 
Join Date: Jan 2010
Posts: 53
Default

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!
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 10:07 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