Jump to content
TrinityCore

Recommended Posts

14 minutes ago, Atréalis said:

Since no one have an idea, should I post it as an issue on the github repository?

I sugest you to upgrade your system to debian 9 and install maria db from apt-get it works.

Share this post


Link to post
Share on other sites

well, I upgraded to debian 9 then tried to cmake and...

CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message):
  TrinityCore needs OpenSSL version 1.0 but found too new version 1.1.0f.
  Any version different to 1.0.x breaks TrinityCore compatibility (and we
  cannot fix this).  Please install OpenSSL 1.0.x if you still have problems
  search on forum for TCE00022

So now, I have to find build instructions for openssl and what to put in every -DOPENSSL_STUFF u_u

Share this post


Link to post
Share on other sites
1 hour ago, Atréalis said:

well, I upgraded to debian 9 then tried to cmake and...

CMake Error at cmake/macros/FindOpenSSL.cmake:226 (message):
  TrinityCore needs OpenSSL version 1.0 but found too new version 1.1.0f.
  Any version different to 1.0.x breaks TrinityCore compatibility (and we
  cannot fix this).  Please install OpenSSL 1.0.x if you still have problems
  search on forum for TCE00022

So now, I have to find build instructions for openssl and what to put in every -DOPENSSL_STUFF u_u

Or you can simply:
 

apt-get install git cmake make gcc g++ libmariadbclient-dev libssl1.0-dev libbz2-dev libreadline-dev libncurses-dev libboost-all-dev mysql-server p7zip

  • Upvote 1

Share this post


Link to post
Share on other sites

Thanks! I was afraid it would break the MASTER-MASTER replication but it looks like everything's working fine now. And since this server is behind another, I don't mind much about the libssl downgrade. =)

Edited by Atréalis

Share this post


Link to post
Share on other sites

Hey all

Trying to update my TC 3.3.5 and getting errors I haven't encountered before during compile.

When ever compile finishes I get error LNK1120 (unresolved externals in worldserver), LNK2001 (unresolved external symbols) and LNK2019

Never have had these issues before during compiling and they started happening after pulling fresh changes.

I have tried using the solution specified here https://trinitycore.atlassian.net/wiki/pages/viewpage.action?pageId=2130028 but no avail.

I tried updating my boost from 1.59->1.63, MySQL and my OpenSSL and still have had no luck after pulling changes from the 3.3.5 branch.

Any input on what to do would be helpful!

Win 7 32bit

VS 2015

MySQL 5.5 (I tried updating to 5.6 but I am getting errors involving the Microsoft visual 2010 32bit runtime 10.0 not installing)

boost 1.63

Cmake 3.8.2

OpenSSL 1.0.2L (not light)

Here is my cmake

Detected 32-bit platform

MSVC: Enabled large address awareness

MSVC: Enabled SSE2 support

MSVC: Disabled Safe Exception Handlers for debug builds

MSVC: Enabled increased number of sections in object files

MSVC: Overloaded standard names

MSVC: Disabled NON-SECURE warnings

MSVC: Disabled POSIX warnings

MSVC: Disabled generic compiletime warnings

Found MySQL library: C:/mySQLLib/lib_32/libmysql.lib

Found MySQL headers: C:/mySQLLib/include

Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.5/bin/mysql.exe

Found git binary : C:/Program Files/Git/cmd/git.exe

 

* TrinityCore revision : 5d3c69bf441a+ 2017-07-03 00:17:31 +0200 (3.3.5 branch)

 

* Install core to : C:/Program Files/TrinityCore

 

* Build world/auth : Yes (default)

* Build with scripts : Yes (static)

* Build map/vmap tools : Yes (default)

* Build core w/PCH : Yes (default)

* Build scripts w/PCH : Yes (default)

* Show compile-warnings : No (default)

* Use coreside debug : No (default)

* Show source tree : Yes (hierarchical)

* Use GIT revision hash : Yes (default)

 

Boost version: 1.63.0

Found the following Boost libraries:

system

filesystem

thread

program_options

iostreams

Found OpenSSL library: optimized;C:/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win32/lib/VC/libeay32MDd.lib

Found OpenSSL headers: C:/OpenSSL-Win32/include

 

* Script configuration (static):
|

+- worldserver

| +- Commands

| +- Custom

| +- EasternKingdoms

| +- Events

| +- Kalimdor

| +- Northrend

| +- OutdoorPvP

| +- Outland

| +- Pet

| +- Spells

| +- World

|

 

Configuring done

Generating done

Edited by Bullface

Share this post


Link to post
Share on other sites

CMake Error at CMakeLists.txt:15 (project):
Failed to run MSBuild command:

MSBuild.exe

to get the value of VCTargetsPath:

 

Just reinstalled Visual Studio and suddenly am getting this issue. Did first time run and nothing happened. just this error :(

Share this post


Link to post
Share on other sites
17 minutes ago, whyamidead said:

Hi Nay, I fixed this problem with a reinstall of Visual Studio. NOw I'm getting a new error.

CXX Compiler not found

 

Like nayd told you, you need to select c++ compiler.

Share this post


Link to post
Share on other sites
8 hours ago, Bullface said:

Hey all

Trying to update my TC 3.3.5 and getting errors I haven't encountered before during compile.

When ever compile finishes I get error LNK1120 (unresolved externals in worldserver), LNK2001 (unresolved external symbols) and LNK2019

Need more details on this error. Need a log dump. That would help. paste it into a gist https://gist.github.com/

Share this post


Link to post
Share on other sites

If I am right and understand the log correctly if there wasn't more to it then it is saying it cannot link to boost correctly meaning it cannot find it, are you using boost 1_63_0 or 1_64_0 if you are then use 1_63_0 because it should point to that directory unlike 1_64_0 which seems to have trouble when finding the libs for boost.

  • Upvote 2

Share this post


Link to post
Share on other sites

So, I'm using 1_63_0, and when I configure in CMake, it always needs me to point to each individual .lib for Boost. I've created the variables and installed Boost at the default place. Here is an image of what it looks like when I configure/generate... if it helps, I have to point to each individual Boost .lib manually. It's never been able to find it on its own.

 

-- UPDATE --

I was using Boost for x32 while everything else was x64. Fixed everything. Thanks for dealing with a Plebs. 

Edited by jchan03
UPDATE

Share this post


Link to post
Share on other sites

I guess it just took a few more pulls to try and get it cause it worked now. I also wasn't compiling with RelWithDebInfo since I haven't read through the full install instructions in a while >.<

Share this post


Link to post
Share on other sites

I guess I should of mention mixing libs as well never gave it much thought until you said you mixed them sorry about that, just glad you got it working.

  • Upvote 1

Share this post


Link to post
Share on other sites

Hi, i'm here to request an update for visual studio installation guide because it has TOTALLY changed and it's impossible for novice like me to be sure if what we install is needed without doubts ... and because of that i think i got this error with cmake 3.9.0 : 

CMake Error at CMakeLists.txt:15 (project):
Failed to run MSBuild command:
MSBuild.exe
to get the value of VCTargetsPath:

Configuring incomplete, errors occurred!

See also "C:/Build/CMakeFiles/CMakeOutput.log".

vscom1.jpg

vscom2.jpg

vscom3.jpg

Edited by Zebraka

Share this post


Link to post
Share on other sites

If you select desktop environment on the main screen you will not have any problems installing what you need and it is no more then 4.7gb in size. I want to say actually 4.5gb.

  • Upvote 1

Share this post


Link to post
Share on other sites
17 hours ago, codeman8214 said:

If you select desktop environment on the main screen you will not have any problems installing what you need and it is no more then 4.7gb in size. I want to say actually 4.5gb.

ok i'll try  thanks

Share this post


Link to post
Share on other sites

In ubunut In first time finished complier and bulit server about a week age .

then I updated code and passed cmake,my branch is up-to-date with 'origin/3.3.5' 

In make when 98% Linking CXX executable worldserver ,a lot errors appear : https://hastebin.com/ehogafoyel.vbs

 

May I need clean all codes and build to make a clear build? or do something else? thanks.

errors.txt

Share this post


Link to post
Share on other sites
9 hours ago, wildcat said:

May I need clean all codes and build to make a clear build? or do something else? thanks.

Need more details, such as what version of Ubuntu OS, cmake, boost, clang or gcc, etc...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By 939h
      Hi,

      The chat channel Lookup for group is not available when a player isn't in a city. I tried to modify the worldserver.conf file with:
      #
      #    Channel.RestrictedLfg
      #        Description: Restrict LookupForGroup channel to characters registered in the LFG tool.
      #        Default:     1 - (Enabled, Allow join to channel only if registered in LFG)
      #                     0 - (Disabled, Allow join to channel in any time)
      Channel.RestrictedLfg = 0

      I restarted the server but it didn't help.

      Thanks
    • By meeek
      Hey, I've been trying to compile from github the core from 6.2.3/6.2.4, I'm well aware its stopped developing. I cannot get it to configure properly in CMake, nor can I obviously build it.
       
      I'd be willing to pay for help and get this working and running. I want to develop my own server on my freetime as a learning project and for entertainment. I can't find any core for WoD, sadly.. Very hard, would appreciate any quick help
       
    • By Probie_Wan_Kenobi
      I believe everything I have done up to this point has been correct. When I go to launch worldserver.exe a console window opens up for a second and closes right away and nothing else seems to have happened. I skipped a head a little in the instructions to see what is left and step 5 seems skippable since I am running this only for this computer and step 6 has me launch to a log in screen which I can not get to. I tried going to the faq but the page was not loading properly so I am forced to post here.
    • By Wark
      I'd just like to get a little insight to why so much of the current Trinitycore code doesn't match up to a few years ago.
      Now I know I'm not a pro at coding on Trinitycore and I understand that the core is open sourced but these just seem so significant and doesn't seem right to remove this stuff.
       
      Let me give an example. Lets say I'm watching this tutorial to get a little information about classes and methods that I can use when making a script. (I've also been using the Trinitycore Code Documentation as reference as well but it also seems to show the same issues)
      Although the tutorial is a little out of date, I don't see why OnGossipSelect doesn't exist anywhere in CreatureScript and that when I try to link the script to the core code it spits out this error.
      object of abstract class type "GossipTeleporter" is not allowed:
      pure virtual function "CreatureScript::GetAI" has no overrider
      The DEFINES of "ADD_GOSSIP_ITEM" and many more don't exist either.
       
      Am I missing something? All I want to know is if the core is mean't to be this way and if not should I download an older version of the core before I put to much working into my current core.
      (I downloaded my core right from the Trinitycore website tutorial)
       
      I'm currently trying to write a simple gossipteleporter that will let you talk to an npc and teleport to the given location. It's very hard to do this when so many things just don't exist within my core.
       
      EXTRA: I pasted this into a new custom script just to see if I would get errors and I got a lot of different errors: http://pastebin.com/raw/G62e0t49
      This was obtained from here: http://www.ac-web.org/forums/showthread.php?129885-Request-Teleporter-NPC-for-TrinityCore
      By no means am I looking to copy the code from the two links above, I was using them as a test to see if my core accepted them.
       
      Thanks,
      Wark
    • By Cantte
      Well ... today I was about to compile the trinity core version for WoW 4.3.4 of this repository "https://gitlab.com/trinitycore/TrinityCore_434". Download them and when you use the cmake, I generate the solution correctly. When I began to compile this went well until I got to the last step, when I was 90% practically.
      This was the error:
      Main.obj: error LNK2019: external symbol SSLeay_version unresolved referred to in the function "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> :: operator () (void) const" (?? R <lambda_4a2d53ce610f18dba0b4b4d6532c13a7> @@ QEBAXXZ)
      25> scripts.lib (cs_server.obj): error LNK2001: external symbol SSLeay_version unresolved
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_num external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_value external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved sk_pop_free external symbol referenced in the tcp_connect function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: outer symbol OPENSSL_add_all_algorithms_noconf unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_load_error_strings unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: unresolved external SSLv23_method symbol referenced in the ssl_auth_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_library_init unresolved referenced in the soap_ssl_init function
      25> gsoap.lib (stdsoap2.obj): error LNK2019: external symbol SSL_state unresolved referenced in the tcp_connect function
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_num_locks unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_set_locking_callback unresolved referred to in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_numeric unresolved referred to in the function "void __cdecl threadIdCallback (struct crypto_threadid_st *)" (? ThreadIdCallback @@ YAXPEAUcrypto_threadid_st @@@ Z)
      25> common.lib (OpenSSLCrypto.obj): error LNK2019: external symbol CRYPTO_THREADID_set_callback unresolved referenced in the function "void __cdecl OpenSSLCrypto :: threadsCleanup (void)" (? ThreadsCleanup @ OpenSSLCrypto @@ YAXXZ)
      25> common.lib (ARC4.obj): error LNK2019: external symbol EVP_CIPHER_CTX_init unresolved referred to in the function "public: __cdecl ARC4 :: ARC4 (unsigned int)" (?? 0ARC4 @@ QEAA @ I @ Z)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_init external symbol referenced in the "struct hmac_ctx_st * __cdecl HMAC_CTX_new (void)" function (? HMAC_CTX_new @@ YAPEAUhmac_ctx_st @@ XZ)
      25> common.lib (HmacHash.obj): error LNK2019: unresolved HMAC_CTX_cleanup external symbol referenced in the "void __cdecl HMAC_CTX_free (struct hmac_ctx_st *)" function (? HMAC_CTX_free @@ YAXPEAUhmac_ctx_st @@@ Z)
      25> E: \ Server-Wow \ TrinityCore_434-4.3.4 \ Build \ bin \ RelWithDebInfo \ worldserver.exe: fatal error LNK1120: 16 external unresolved
      25> Compilation of the "worldserver.vcxproj" project completed - ERROR.
      26> ------ Compile operation started: project: ALL_BUILD, configuration: RelWithDebInfo x64 ------
      26> Building Custom Rule E: /Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26> CMake does not need to re-run because E: /Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compile: 23 correct, 3 incorrect, 0 updated, 0 omitted ==========
       
      And this is the original error in Spanish (since I use the compiler in Spanish)
       
      Main.obj : error LNK2019: símbolo externo SSLeay_version sin resolver al que se hace referencia en la función "public: void __cdecl <lambda_4a2d53ce610f18dba0b4b4d6532c13a7>::operator()(void)const " (??R<lambda_4a2d53ce610f18dba0b4b4d6532c13a7>@@QEBAXXZ)
      25>scripts.lib(cs_server.obj) : error LNK2001: símbolo externo SSLeay_version sin resolver
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_num sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_value sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo sk_pop_free sin resolver al que se hace referencia en la función tcp_connect
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo OPENSSL_add_all_algorithms_noconf sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_load_error_strings sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSLv23_method sin resolver al que se hace referencia en la función ssl_auth_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_library_init sin resolver al que se hace referencia en la función soap_ssl_init
      25>gsoap.lib(stdsoap2.obj) : error LNK2019: símbolo externo SSL_state sin resolver al que se hace referencia en la función tcp_connect
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_num_locks sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_set_locking_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_numeric sin resolver al que se hace referencia en la función "void __cdecl threadIdCallback(struct crypto_threadid_st *)" ([email protected]@[email protected]@@Z)
      25>common.lib(OpenSSLCrypto.obj) : error LNK2019: símbolo externo CRYPTO_THREADID_set_callback sin resolver al que se hace referencia en la función "void __cdecl OpenSSLCrypto::threadsCleanup(void)" ([email protected]@@YAXXZ)
      25>common.lib(ARC4.obj) : error LNK2019: símbolo externo EVP_CIPHER_CTX_init sin resolver al que se hace referencia en la función "public: __cdecl ARC4::ARC4(unsigned int)" ([email protected]@[email protected]@Z)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_init sin resolver al que se hace referencia en la función "struct hmac_ctx_st * __cdecl HMAC_CTX_new(void)" ([email protected]@[email protected]@XZ)
      25>common.lib(HmacHash.obj) : error LNK2019: símbolo externo HMAC_CTX_cleanup sin resolver al que se hace referencia en la función "void __cdecl HMAC_CTX_free(struct hmac_ctx_st *)" ([email protected]@[email protected]@@Z)
      25>E:\Server-Wow\TrinityCore_434-4.3.4\Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 16 externos sin resolver
      25>Compilación del proyecto "worldserver.vcxproj" terminada -- ERROR.
      26>------ Operación Compilar iniciada: proyecto: ALL_BUILD, configuración: RelWithDebInfo x64 ------
      26>Building Custom Rule E:/Server-Wow/TrinityCore_434-4.3.4/CMakeLists.txt
      26>CMake does not need to re-run because E:/Server-Wow/TrinityCore_434-4.3.4/Build/CMakeFiles/generate.stamp is up-to-date.
      ========== Compilar: 23 correctos, 3 incorrectos, 0 actualizados, 0 omitidos ==========
       
       
      Thanks.
×