PDA

View Full Version : TrinityCore 3.3.5 Trinitycore complie error



YouarexD
07-24-2016, 07:55 PM
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
07-24-2016, 09:15 PM
You should try using newer boost and older cmake.

What cmake are you using at the moment?

Syphex
07-24-2016, 09:37 PM
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

YouarexD
07-24-2016, 09:46 PM
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

YouarexD
07-24-2016, 11:38 PM
so I newly installed mysql and opssl I have installed the 64 bit version now I get this output

http://pastebin.com/1dPg6RGy

Syphex
07-25-2016, 12:19 AM
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

YouarexD
07-25-2016, 09:36 AM
I create it now with 32 bit and it works

YouarexD
07-25-2016, 10:02 AM
When I start the world and auth server I get this error message so


The application could be incorrectly gesratet (0xc000007bb). Click OK to close the application

Rochet2
07-25-2016, 01:57 PM
When I start the world and auth server I get this error message so

that usually means you have no dlls like mysqld.dll in the server folder or they are wrong bit version (32, 64).

YouarexD
07-25-2016, 03:43 PM
591

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

Rochet2
07-25-2016, 04:55 PM
you downloaded too old mysqld.dll.
you should get the one from the mysql lib folder you used to compile the core with.

Syphex
07-25-2016, 05:11 PM
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

YouarexD
07-25-2016, 07:59 PM
in which sql can I find playercreateinfo file that

Syphex
07-25-2016, 08:03 PM
its in sql database "characters"
However you first need to manually create the database and push the base from your source sql folder.

YouarexD
07-25-2016, 08:12 PM
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
07-25-2016, 08:15 PM
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.

YouarexD
07-25-2016, 08:33 PM
i have renamed it but i changed back to the normal name