Jump to content
TrinityCore

Compile or cmake problems


Joy
 Share

Recommended Posts

  • Replies 2.9k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images


But why i got only 17 succeeded and not 22 like in the wiki ?

 

That's perfectly normal.

 

 

When the build is complete, you will find a message similar to the one below (the numbers may be different).

========== Build: 22 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
  • Upvote 1
Link to comment
Share on other sites

Greetings, i've been trying for a week now to compile a trinitycore but everytime i get stuck. I'll be very gratefull if someone could help me with a litle issue: I can't find the specified location "e.g, C:/mysql_libs" from: 

 
  1. MySQL development files
    1. These files are shipped with MySQL Server but to make it easier we packed the libs and include files for both 32 bits and 64 bits.
    2. Extract the files to a known location, e.g, C:/mysql_libs

 

MySQL it's in C:/Program Files, not in C:/ a photo with the location would be great, Thanks and waiting for help :)

 

Link to comment
Share on other sites

The idea is to make a folder of your choice and extract the files there. However I don't know why TC even offers this for direct download. The files you can find in your mySQL installation folder, f.ex.: C:Program Files (x86)MySQLMySQL Server 5.6

 

Later in your core installation process you will need libmysql.dll in the folder where your compiled core stays.

  • Upvote 1
Link to comment
Share on other sites

Thanks for the fast answer, so what should i do? crate a folder named mysql_libs in C:Program FilesMySQLMySQL Server 5.6 ? Fact is they aren't the same files i think, at least at size, or i just leave it and continue the instalation? i dont want to skip anything important to get an error or something not working properlly...as i said i'm trying for an week to compile :(

Edited by Verytas
Link to comment
Share on other sites


However I don't know why TC even offers this for direct download.

 

I did it because there were many people that have installed x64 MySQL Server but were compiling TC in 32 bit modes. The .zip contains libs and dlls for 32 bits and 64 bits. It seems that providing a .zip for them to use isn't enough (e.g this topic.).

 

----

 

On topic: Forget about your MySQL Server installation, Trinity needs the client fields, not the server.

Unzip the provided file to some place (like C:/mysql_libs, create it if it does not exist).

In CMake GUI, click Advanced checkbox, and in MYSQL_LIBRARY point it to C:/mysql_libs/lib_XX/libmysql.lib

XX is 32 if you selected "Visual Studio 12 2013" or 64 if you selected "Visual Studio 12 2013 Win64".

What I just wrote is in the wiki.

  • Upvote 1
Link to comment
Share on other sites

Thanks, just had to upgrade vs the update 4

What u mean? I have the same problem that u had. I tryed what nay said but it didnt work.

Error	1	error C2536: 'Quest::Quest::DetailsEmote' : cannot specify explicit initializer for arrays	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	427	1	game
Error	2	error C1903: unable to recover from previous error(s); stopping compilation	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	428	1	game
Error	3	error C2536: 'Quest::Quest::DetailsEmote' : cannot specify explicit initializer for arrays	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	427	1	scripts
Error	4	error C1903: unable to recover from previous error(s); stopping compilation	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	428	1	scripts
Error	5	error C2536: 'Quest::Quest::DetailsEmote' : cannot specify explicit initializer for arrays (C:TrinitySource_6.0.3.1srcserverworldserverCommandLineCliRunnable.cpp)	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	427	1	worldserver
Error	6	error C1903: unable to recover from previous error(s); stopping compilation (C:TrinitySource_6.0.3.1srcserverworldserverCommandLineCliRunnable.cpp)	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	428	1	worldserver
Error	7	error C2536: 'Quest::Quest::DetailsEmote' : cannot specify explicit initializer for arrays (C:TrinitySource_6.0.3.1srcserverworldserverMain.cpp)	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	427	1	worldserver
Error	8	error C1903: unable to recover from previous error(s); stopping compilation (C:TrinitySource_6.0.3.1srcserverworldserverMain.cpp)	C:TrinitySource_6.0.3.1srcservergameQuestsQuestDef.h	428	1	worldserver
	9	IntelliSense: identifier "WSA13" is undefined	c:localboost_1_55_0boostasioerror.hpp	70	19	game
	10	IntelliSense: identifier "WSA102" is undefined	c:localboost_1_55_0boostasioerror.hpp	73	34	game
	11	IntelliSense: identifier "WSA100" is undefined	c:localboost_1_55_0boostasioerror.hpp	76	20	game
	12	IntelliSense: identifier "WSA113" is undefined	c:localboost_1_55_0boostasioerror.hpp	79	23	game
	13	IntelliSense: identifier "WSA103" is undefined	c:localboost_1_55_0boostasioerror.hpp	82	21	game
	14	IntelliSense: identifier "WSA106" is undefined	c:localboost_1_55_0boostasioerror.hpp	90	24	game
	15	IntelliSense: identifier "WSA107" is undefined	c:localboost_1_55_0boostasioerror.hpp	93	24	game
	16	IntelliSense: identifier "WSA108" is undefined	c:localboost_1_55_0boostasioerror.hpp	96	22	game
	17	IntelliSense: identifier "WSA9" is undefined	c:localboost_1_55_0boostasioerror.hpp	99	20	game
	18	IntelliSense: identifier "WSA14" is undefined	c:localboost_1_55_0boostasioerror.hpp	102	11	game
	19	IntelliSense: identifier "WSA110" is undefined	c:localboost_1_55_0boostasioerror.hpp	105	22	game
	20	IntelliSense: identifier "WSA112" is undefined	c:localboost_1_55_0boostasioerror.hpp	108	17	game
	21	IntelliSense: identifier "WSA4" is undefined	c:localboost_1_55_0boostasioerror.hpp	111	17	game
	22	IntelliSense: identifier "WSA22" is undefined	c:localboost_1_55_0boostasioerror.hpp	114	22	game
	23	IntelliSense: identifier "WSA115" is undefined	c:localboost_1_55_0boostasioerror.hpp	117	18	game
	24	IntelliSense: identifier "WSA38" is undefined	c:localboost_1_55_0boostasioerror.hpp	120	19	game
	25	IntelliSense: identifier "WSA116" is undefined	c:localboost_1_55_0boostasioerror.hpp	123	18	game
	26	IntelliSense: identifier "WSA117" is undefined	c:localboost_1_55_0boostasioerror.hpp	126	19	game
	27	IntelliSense: identifier "WSA118" is undefined	c:localboost_1_55_0boostasioerror.hpp	129	25	game
	28	IntelliSense: identifier "WSA24" is undefined	c:localboost_1_55_0boostasioerror.hpp	132	20	game
	29	IntelliSense: identifier "WSA119" is undefined	c:localboost_1_55_0boostasioerror.hpp	135	21	game
	30	IntelliSense: identifier "WSA123" is undefined	c:localboost_1_55_0boostasioerror.hpp	148	24	game
	31	IntelliSense: identifier "WSA126" is undefined	c:localboost_1_55_0boostasioerror.hpp	151	19	game
	32	IntelliSense: identifier "WSA128" is undefined	c:localboost_1_55_0boostasioerror.hpp	154	16	game
	33	IntelliSense: identifier "WSA130" is undefined	c:localboost_1_55_0boostasioerror.hpp	162	29	game
	34	IntelliSense: identifier "WSA138" is undefined	c:localboost_1_55_0boostasioerror.hpp	168	15	game
	35	IntelliSense: identifier "WSA140" is undefined	c:localboost_1_55_0boostasioerror.hpp	176	17	game
	36	IntelliSense: identifier "WSA11001L" is undefined	c:localboost_1_55_0boostasioerror.hpp	182	20	game
	37	IntelliSense: identifier "WSA11002L" is undefined	c:localboost_1_55_0boostasioerror.hpp	185	30	game
	38	IntelliSense: identifier "WSA11004L" is undefined	c:localboost_1_55_0boostasioerror.hpp	188	13	game
	39	IntelliSense: identifier "WSA11003L" is undefined	c:localboost_1_55_0boostasioerror.hpp	191	17	game

Edited by Whunter
Link to comment
Share on other sites

"The application was unable to start correctly (0.xc000007b). click OK to close the application"

 

That usually happens because you have the wrong .dlls (libmysql.dll, opensll dlls, etc). You need to use 32 bits everywhere or 64 bits everywhere, not a mix of both.

Link to comment
Share on other sites

I got all requirements, thats not the compile problem. Just the account for github, they ask me an account, is that normal ? http://i.imgur.com/pbPDNoR.png And that say: Permission to TrinityCore/TrinityCore.git denied to MyUser

 

In Git Extensions, go to "Dépôt" (Repository) -> Remote repositories... -> change Url of origin to https://github.com/TrinityCore/TrinityCore and click Save changes.

Link to comment
Share on other sites

Hello !

I am getting compiling errors in vs 13 express

 
error LNK1104: cannot open file 'C:mysql_libslib_64libmysql.lib' bnetserver
error LNK1104: cannot open file 'C:mysql_libslib_64libmysql.lib' worldserver
 
I have tried both C:/mysql_libs/lib_64/libmysql.lib and C:/mysql_libs/lib_32/libmysql.lib in cmake under MYSQL_LIBRARY
 
Also i've done the things you need to do in vs 13 

change to  release and win32

right click ALL_BUILD and clean and then start the build

 

And yes i have extracted the actual mysql_libs folder to the c root.

 

And if it makes any difference i am trying to compile the 6.x

 

// CRHASH

 

Edit: and i don`t get any errors in cmake

Edited by CRHASH
Link to comment
Share on other sites

  • Aokromes changed the title to Compile or cmake problems
  • Aokromes locked this topic
  • Carbenium unlocked this topic
  • Aokromes pinned and locked this topic
  • Aokromes featured and featured this topic
  • Aokromes pinned this topic
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...