|
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. |
No worky, same error. I included the folder in the options, not sure if that's the same thing.
|
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.
|
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.
|
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
|
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.
|
Alright, gonna try uninstalling both and reinstalling, will post results.
|
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. |
Glad to hear it, enjoy the rat nest that is EQEMu :)
|
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. :) |
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.
|
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.
|
Quote:
You necro you |
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.