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

TrinityCore 3.3.5 Trinitycore complie error

YouarexD

Exalted Member
Hello together

I have the following problem when I want to create the trinity eluna source in visual studio I get this message

15 successful, 2 failed, 0, 1 skipped

Here is the full edition of visual studio by 2015

http://pastebin.com/2WvMhiBy

it is the 3.3.5 source
 

Rochet2

Moderator / Eluna Dev
You should try using newer boost and older cmake.

What cmake are you using at the moment?
 

Syphex

Exalted Member
The problem is that you got the wrong mysql bits downloaded. regarding that the error code is C4005.

Which means you have installed binaries for 32 bits. but your mysql is 64 bits or vice versa.

If you got the mysql installer, then go to your downloads and open up mysql-installer-community-5.7.11.0.msi
highlight the product "Mysql" and uninstall it and reinstall it, then choose mysql 32 Bits.

I'd also highly suggest you get both 64 and 32 bits for boost & ssleay

Errors is stated on line 1180 and up.

What made me come to this conclusion is this
16>X:\OpenSSL-Win32\lib\VC\ssleay32MD.lib : warning LNK4272: Bibliothekcomputertyp "X86" steht in Konflikt mit dem Zielcomputertyp "x64"
16>X:\OpenSSL-Win32\lib\VC\libeay32MD.lib : warning LNK4272: Bibliothekcomputertyp "X86" steht in Konflikt mit dem Zielcomputertyp "x64"
16>X:\OpenSSL-Win32\lib\VC\libeay32MDd.lib : warning LNK4272: Bibliothekcomputertyp "X86" steht in Konflikt mit dem Zielcomputertyp "x64"
And Lines 185-200
 
Last edited:

YouarexD

Exalted Member
i use cmake 3.6.1 when i use a newer boost says cmake it´s a to old version of boost and i have tryed with 1_61_0
 

Syphex

Exalted Member
so I newly installed mysql and opssl I have installed the 64 bit version now I get this output

http://pastebin.com/1dPg6RGy

could you please compile in 32 bits instead with 32 binaries and mysql and then build it in 32 bit? 64 bit and 32bit doesnt have that much of a difference and you wouldnt have those problems.

Because if my german isnt bad it says that 64 bit is not supported for your computer as you are using 86 bit
 
Last edited:

YouarexD

Exalted Member
tc.jpg

I downloaded 32 bit a libmysql.dll and now I get this error. I uninstalled mysql and reinstalled has brought nothing but
 

Rochet2

Moderator / Eluna Dev
you downloaded too old mysqld.dll.
you should get the one from the mysql lib folder you used to compile the core with.
 

Syphex

Exalted Member
View attachment 591

I downloaded 32 bit a libmysql.dll and now I get this error. I uninstalled mysql and reinstalled has brought nothing but

reinstalling anything will not fix it what you need are the 32 bit files that you downloaded and that you had when you compiled those files are

ssleay32.dll
libmysql.dll
libeay32.dll

If it is the wrong dll files from the wrong folder you will get that error meaning either it lies in your
C:\Program Files (x86)\MySQL\MySQL Server 5.7\lib (this is MYSQL binares you should find libmysql.dll here)
C:\OpenSSL-Win32 (in your openssl folder there should you should find ssleay32.bit there)
C:\OpenSSL-Win32 or C:\OpenSSL-Win32\bin (there will be the file called libeay32.dll in both of the folders try using them separately)


INSTEAD do this, it's much easier!
open up cmake, when inside cmake, right next to the top right there should be a button with the name "Add Entry" right next to that there should be a box that you can check in called "Advanced"

check that box and you should see alot of new lines, now look for "MYSQL_LIBARY" and the value on that is the path to your mysql dll file, and this is the one you need.
Then look for OPENSSL_ROOT_DIR (this is where you will find libeay32.dll and ssleay32.dll
 
Last edited:

Syphex

Exalted Member
its in sql database "characters"
However you first need to manually create the database and push the base from your source sql folder.
 

YouarexD

Exalted Member
I've done so now I get this error message

In mysql_stmt_prepare() id: 8, sql: "INSERT INTO graveyard_zone (ID, GhostZone, Faction) VALUES (?, ?, ?)"
Table 'zzzworld.graveyard_zone' doesn't exist
In mysql_stmt_prepare() id: 9, sql: "DELETE FROM graveyard_zone WHERE ID = ? AND GhostZone = ? AND Faction = ?"
Table 'zzzworld.graveyard_zone' doesn't exist
In mysql_stmt_prepare() id: 8, sql: "INSERT INTO graveyard_zone (ID, GhostZone, Faction) VALUES (?, ?, ?)"
Table 'zzzworld.graveyard_zone' doesn't exist
In mysql_stmt_prepare() id: 9, sql: "DELETE FROM graveyard_zone WHERE ID = ? AND GhostZone = ? AND Faction = ?"
Table 'zzzworld.graveyard_zone' doesn't exist
 

Tommy

Founder
View attachment 591

I downloaded 32 bit a libmysql.dll and now I get this error. I uninstalled mysql and reinstalled has brought nothing but

You should NEVER download a random binary file to try to resolve an issue you are having related to the same missing binary file. Example is in your screenshot as to why (inconsistent with your version, you have no idea what version it is, it could be corrupt and won't work and many more reasons). When you install MySQL, libmysql.dll installs with the package too so all you have to do is go to your MySQL installation (as Syphex points out), copy and paste the libmysql.dll in your server directory - given if you installed the correct 32 bit (since that appears to be what you are going for).

Just pointing that out for the future.

I've done so now I get this error message

In mysql_stmt_prepare() id: 8, sql: "INSERT INTO graveyard_zone (ID, GhostZone, Faction) VALUES (?, ?, ?)"
Table 'zzzworld.graveyard_zone' doesn't exist
In mysql_stmt_prepare() id: 9, sql: "DELETE FROM graveyard_zone WHERE ID = ? AND GhostZone = ? AND Faction = ?"
Table 'zzzworld.graveyard_zone' doesn't exist
In mysql_stmt_prepare() id: 8, sql: "INSERT INTO graveyard_zone (ID, GhostZone, Faction) VALUES (?, ?, ?)"
Table 'zzzworld.graveyard_zone' doesn't exist
In mysql_stmt_prepare() id: 9, sql: "DELETE FROM graveyard_zone WHERE ID = ? AND GhostZone = ? AND Faction = ?"
Table 'zzzworld.graveyard_zone' doesn't exist

Why is there zzz at the start of the table name? Did you edit the prepared statement queries? That's weird.
 
Top