• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] another issue

Status
Not open for further replies.

kitteyjew

Enthusiast
Alright so i have no idea how this is happening lol, It was compiling on visual studio just fine until i restart my computer from reinstalling mysql i did everything right, following the tutorial and everything but now i get http://pastebin.com/ikR84gXr
these errors, i have the right kind of mysql installed, and everything installed right
 

Rochet2

Moderator / Eluna Dev
see i thought about that, but im using 5.5.40
Are you using 32bit or 64bit? Mysql that is. And what are you compiling your core as, 32bit?
Do you have both installed?
What happens if you clear cmake cache and retry?
 

Tommy

Founder
BY default MySQL installer will install MySQL Server x64 if you select "Full" install. You need to do a "Custom" install to change it to MySQL Sever x86. I know it doesn't make sense especially when you download a "32-bit" binary installer, but I've reinstalled Windows and formatted my drives enough lately to know that's how it works. It installs x64 and x86 MySQL essentials.

Note: Once you manually select "MySQL Server x86" and you're getting "mysql.h" not found, delete your cmake cache and reconfigure/generate and rebuild your solution.
 
Last edited:

kitteyjew

Enthusiast
see it wasnt even cmake giving the issues, its visual studios giving the errors, and i thougt both were 32 bit as im on a 64bit system, but ill try that tommy, thank you and thanks everyone else, ill let ya guys know if its better or not when i get home
 

Tommy

Founder
see it wasnt even cmake giving the issues, its visual studios giving the errors, and i thougt both were 32 bit as im on a 64bit system, but ill try that tommy, thank you and thanks everyone else, ill let ya guys know if its better or not when i get home

It's obvious that CMake isn't giving any issues when your pasted content shows Visual Studio compilation output... CMake won't error despite the MySQL differences from your other installed x86 or x64 binaries. However, the compiler will if you don't have the correct bit size that matches the other installed programs that have different bit sizes (x86 (32-bit) or x64 (64-bit)).
 

kitteyjew

Enthusiast
see i had that one at first and then the tutorial said to use 5.6 and under, and i saw that was 5.6.21 and i was like damn
 

Tommy

Founder
see i had that one at first and then the tutorial said to use 5.6 and under, and i saw that was 5.6.21 and i was like damn

"The tutorial" ~ Which tutorial are you referring to? That one link you gave before? Regardless, you don't need to have 5.6 exactly. I recommend staying updated with the latest version of MySQL.
 
Status
Not open for further replies.
Top