Jump to content
TrinityCore
Sign in to follow this  
Cantte

Error compiling TrinityCore 4.3.4

Recommended Posts

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.

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

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Szone
      Hello,
       
      I have a TrinityCore 3.3.5 realm and i want to make a second realm (4.3.4), but the question is : can I run/install on the same server (Ubuntu 16.04 server) ACE and BOOST ?    
       
      Thank you!
       
       
    • By Joy
      Edit By Aokromes:

      If you can't compile check that you meet requirements:

      https://trinitycore.atlassian.net/wiki/spaces/tc/pages/2130068/Requirements


      If you get SSE2 error use:

      -DCMAKE_C_FLAGS="-msse -msse2 -msse3"
      -DCMAKE_CXX_FLAGS="-msse -msse2 -msse3"

      If you get mysql libs error you miss MySQL development files
      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.
      Extract the files to a known location, e.g, C:/mysql_libs
      https://github.com/TrinityCore/TrinityCore/releases/download/TDB335.55/mysql_lib.zip
      If you get error 0xc000007b at start is that you are mixing 32 and 64 bits libraries.
    • By Apple
      -- EDIT BY Aokromes --
      If you get "unknown column" "missing table" "Duplicate column" errors:
      use mysql --default-character-set=utf8 to avoid import failures because timeout/mysql gone away/etc
      1) Clone desired branch.
      2) Import sql/create/create_mysql.sql
      3) start core
      4) leave core to update databases.
      Our Wiki: http://collab.kpsn.org/display/tc/TrinityCore+Home
    • By zsemi02
      hi. i want to compile the core in Microsoft Visual Studio 2013, but i get rhis error:

      Warning    1    warning C4805: '==' : unsafe mix of type 'bool' and type 'uint16' in operation    C:\test\source\source\src\server\game\Entities\Unit\Unit.cpp    15688    1    game Error    2    error C2903: 'result' : symbol is neither a class template nor a function template (C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp)    C:\local\boost_1_55_0\boost\utility\result_of.hpp    186    1    game Error    3    error C2039: 'result' : is not a member of 'TaxiPathGraph::GetCompleteNodeRoute::<lambda_b66f1e4d2625bde789c6e1f8e8bffd24>' (C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp)    C:\local\boost_1_55_0\boost\utility\result_of.hpp    186    1    game Error    4    error C2504: 'result' : base class undefined (C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp)    C:\local\boost_1_55_0\boost\utility\result_of.hpp    186    1    game Error    5    error C2143: syntax error : missing ',' before '<' (C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp)    C:\local\boost_1_55_0\boost\utility\result_of.hpp    186    1    game Error    6    error C2783: 'boost::transform_value_property_map<Func,PM,Ret> boost::make_transform_value_property_map(const Func &,const PM &)' : could not deduce template argument for 'Ret'    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    7    error C2893: Failed to specialize function template 'boost::transform_value_property_map<Func,PM,boost::result_of<const Func(property_traits<PA>::reference)>::type> boost::make_transform_value_property_map(const Func &,const PM &)'    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    8    error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,const boost::bgl_named_params<T,Tag,Base> &)' : expects 3 arguments - 2 provided    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    9    error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor)' : expects 11 arguments - 2 provided    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    10    error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,SourceInputIter,SourceInputIter,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor)' : expects 12 arguments - 2 provided    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    11    error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,ColorMap)' : expects 12 arguments - 2 provided    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    12    error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,SourceInputIter,SourceInputIter,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,ColorMap)' : expects 13 arguments - 2 provided    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    13    error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,graph_traits<G>::vertex_descriptor,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,const boost::bgl_named_params<T,Tag,Base> &,enable_if_c<(boost::is_base_and_derived<boost::vertex_list_graph_tag,boost::graph_traits<G>::traversal_category>::value,boost::graph::detail::no_parameter>::type)' : expects 13 arguments - 2 provided    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    14    error C2780: 'void boost::dijkstra_shortest_paths(const VertexListGraph &,SourceInputIter,SourceInputIter,PredecessorMap,DistanceMap,WeightMap,IndexMap,Compare,Combine,DistInf,DistZero,DijkstraVisitor,const boost::bgl_named_params<T,Tag,Base> &,enable_if_c<(boost::is_base_and_derived<boost::vertex_list_graph_tag,boost::graph_traits<G>::traversal_category>::value,boost::graph::detail::no_parameter>::type)' : expects 14 arguments - 2 provided    C:\test\source\source\src\server\game\Entities\Taxi\TaxiPathGraph.cpp    156    1    game Error    15    error LNK1181: cannot open input file '..\game\Release\game.lib'    C:\test\build\src\server\worldserver\LINK    worldserver  
      error.txt
    • By Nether
      I followed the guide on how to install the core on Linux, but while configuring CMake I got this error: 
      [email protected]:~/absolutely-hopeless-server/build$ cmake ../ -DCMAKE_INSTALL_PREFIX=/home/netherblood/server -DCONF_DIR=/home/netherblood/server/etc -DTOOLS=1 -DWITH_WARNINGS=1 -- Detected 64-bit platform -- UNIX: Using default library directory CMake Error at cmake/platform/unix/settings.cmake:14 (configure_file):   configure_file attempted to configure a file:   /home/netherblood/absolutely-hopeless-server/cmake_uninstall.cmake into a   source directory. Call Stack (most recent call first):   cmake/macros/CheckPlatform.cmake:13 (include)   CMakeLists.txt:58 (include)     -- Configuring incomplete, errors occurred! See also "/home/netherblood/absolutely-hopeless-server/CMakeFiles/CMakeOutput.log". [email protected]:~/absolutely-hopeless-server/build$ Attached is the log.   CMakeOutput (1).log
×