EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Errors while trying to compile (https://www.eqemulator.org/forums/showthread.php?t=22970)

moydock 06-19-2007 12:25 PM

Aparently it's a bug w/ mysql. http://bugs.mysql.com/bug.php?id=27861

My lyfe........

image 06-19-2007 12:54 PM

The first set of errors your getting related to mysql is because you didnt include the mysqlclient.lib to the project. You need to find the mysqlclient.lib file (its in the Mysql/lib directory/opt).

So when you have visual studio.net open click on the Project menu, add existing item, set files of type to all files and get to the directory that has the mysqlclient.lib and include it.

If you got any other errors after doing it, paste them all.

moydock 06-19-2007 02:29 PM

No worky, same error. I included the folder in the options, not sure if that's the same thing.

image 06-19-2007 02:31 PM

You tried using mysql version 4.x? Because they are right, 5.x isn't compatible, its a completely different schema. And when you use 4.x you only need to include the mysqlclient.lib to the project.

moydock 06-19-2007 04:11 PM

Yeah, that doesn't work either, i'm guessing it's just that bug I linked to. Although it doesn't make sense why other ppl aren't having issues.

image 06-19-2007 05:33 PM

You need to completely remove the 5.x version from your system, you should not be getting the same errors because this bug only affects 5.x

Darkonig 06-20-2007 12:09 AM

Actually, when I first setup and compiled this project, I used mysql 5.0.27 source as that was the most current at the time. I compiled it just fine. When I was setting up my nephew, i downloaded 5.0.41 for him to use and copied my emulator database and emulator server binaries to his system, used grant to give him access to the database, and it ran fine on his system. I haven't actually tried compiling it with 5.0.41 source.

moydock 06-20-2007 07:34 AM

Alright, gonna try uninstalling both and reinstalling, will post results.

moydock 06-20-2007 08:22 AM

Holy fuck it worked. You are the shit image. Ty so much and ty everyone else for the help :).

So to recap for future ppl with this problem,

FIX: Uninstall mysql 5.x completely and install Mysql 4.1.

image 06-20-2007 11:26 AM

Glad to hear it, enjoy the rat nest that is EQEMu :)

Yohkoh 08-22-2007 05:15 AM

I was having the same errors. Been running MySQL 5.0.37 with my own EQemu server since June. Instead of uninstalling and re-installing MySQL, I downloaded the source for 4.1.22 and compiled just mysqlclient for the mysqlclient.lib file. EQemu now compiles with no errors now.

Thanks for this post or I would have been lost. :)

moydock 08-22-2007 08:55 AM

Glad it helped someone else :) I very nearly gave up on it, took me like 18 hours total i think trying to get it working.

Congdar 02-18-2008 01:25 PM

I had this same compile issue with mysql 5.0.41 so I just installed 5.0.51 over the top and it compiles fine now.

mattmeck 02-18-2008 06:36 PM

Quote:

Originally Posted by Congdar (Post 143400)
I had this same compile issue with mysql 5.0.41 so I just installed 5.0.51 over the top and it compiles fine now.

Old 08-22-2007, 05:55 PM

You necro you

Congdar 02-19-2008 02:14 AM

Adding good info to old threads is a good thing for people who use search. No need for people to go back to version 4 (even though that seemed to work for this guy), upgrade instead of downgrade to fix this compile issue.


All times are GMT -4. The time now is 02:32 AM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.