• 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] C++ didnt ask me to build dll files. How do i get the dlls?

Status
Not open for further replies.

Tok124

Respected Member
Hello guys. Im not sure if this is correct section to post this but its about C++ so i hope its correct. Anyway i just compiled a new core and every time i compiled before C++ asks me everytime if i want to build dll files too but this time it didnt ask me for some reason. So now im missing latest dll files. I tried to copy from some repacs but its not same version so i cannot start my worldserver. So my question is how do i get that window that asks me if i want to build the dll files to pop up? I have also tried to recompile and it didnt help
 

Rochet2

Moderator / Eluna Dev
Is this about TrinityCore, MaNGOS, cMaNGOS, Arcemu .. AnonEmu?
What DLL files are you missing? Did you read the official compile guides in case they mentioned DLL files and where/how to get them?

For quite some time now on TC the mysql and other dlls like zmq and openssl have needed to be copied by yourself to the server folder from their installation folder.
For example libmysql.dll could be in C:\Program Files (x86)\MySQL\MySQL Server 5.6\lib or where ever you installed it.
 

Tok124

Respected Member
Is this about TrinityCore, MaNGOS, cMaNGOS, Arcemu .. AnonEmu?
What DLL files are you missing? Did you read the official compile guides in case they mentioned DLL files and where/how to get them?

For quite some time now on TC the mysql and other dlls like zmq and openssl have needed to be copied by yourself to the server folder from their installation folder.
For example libmysql.dll could be in C:\Program Files (x86)\MySQL\MySQL Server 5.6\lib or where ever you installed it.

Thanks for reply rochet. Yes i did read the compile guide after i noticed this problem. That was the first thing i checked and i saw that i need to copy them from that folder. But i go to C:\ProgramData\Microsoft\Windows\Start Menu\Programs\MySQL\MySQL Server 5.6 and there is no lib folder in that MySQL Server 5.6 folder.

And the file im missing is libmysql.dll
 

Rochet2

Moderator / Eluna Dev
I searched for "MySQL" in start menu searchbox and that is the only folder that appear :/

Go look yourself. Searches suck, especially the start menu search and especially for searching the whole system for folders and stuff.
 

Tommy

Founder
MySQL Server by default installs in "C:\Program Files\MySQL" unless the installation path was changed to install somewhere else.
 

Tok124

Respected Member
Go look yourself. Searches suck, especially the start menu search and especially for searching the whole system for folders and stuff.

Yeah. I guess it couldnt find it because it was not on C:\ Drive xD Now i found the folder but that dll file is also outdated :s
 

Rochet2

Moderator / Eluna Dev
Yeah. I guess it couldnt find it because it was not on C:\ Drive xD Now i found the folder but that dll file is also outdated :s

Open cmake and tick the grouped and advanced boxes. I assume you already configured and generated before, if not then do it now.
open up the mysql group and see where the mysql library is at:
http://prntscr.com/9x0051

Then go to that folder and copy the libmysql.dll, it should be in the same folder as the libmysql.lib.
 
Last edited:

Tok124

Respected Member
Open cmake and tick the grouped and advanced boxes. I assume you already configured and generated before, if not then do it now.
open up the mysql group and see where the mysql library is at:
http://prntscr.com/9x0051

Then go to that folder and take the libmysql.dll, it should be in the same folder as the libmysql.lib.

Thank you rochet !!! You saved the day hehe :D
 
Status
Not open for further replies.
Top