Jump to content
TrinityCore

Recommended Posts

Hi folks

My english is not the best but i hope you'll understand it ;)

My Problem is that I compiled TrinityCore.sln in Visual Studio 2008. After finishing i looked into the folder but there wasn't any worldserver.exe just a worldserver.idb

What can I do?

I've installed everything as it's said in the HowTo

http://www.trinitycore.org/w/How-to:Win

Thanks for your help :)

Edited by c00x

Share this post


Link to post
Share on other sites

yeah think so but don't know where or what is the problem :(

here is an excerpt from the log:

8>------ Build started: Project: worldserver, Configuration: Release Win32 ------

18>Compiling...

18>worldPCH.cpp

18>Compiling...

18>WheatyExceptionReport.cpp

18>Master.cpp

18>Main.cpp

18>WorldRunnable.cpp

18>TCSoap.cpp

18>RASocket.cpp

18>RARunnable.cpp

18>CliRunnable.cpp

18>Compiling resources...

18>Microsoft ® Windows ® Resource Compiler Version 6.1.6723.1

18>Copyright © Microsoft Corporation. All rights reserved.

18>Performing Pre-Link Event...

18>Linking...

18>LINK : fatal error LNK1181: cannot open input file '..\game\Release\game.lib'

18>Build log was saved at "file://c:\Build\src\server\worldserver\worldserver.dir\Release\BuildLog.htm"

18>worldserver - 1 error(s), 0 warning(s)

19>------ Skipped Build: Project: INSTALL, Configuration: Release Win32 ------

19>Project not selected to build for this solution configuration

========== Build: 15 succeeded, 3 failed, 1 up-to-date, 1 skipped ==========

Share this post


Link to post
Share on other sites

That is the end of the log. And you have 3 failed builds.

Look since the log starts and search for the 1st log.

Share this post


Link to post
Share on other sites

You have tons of warnings on the extractors due to a outdated SDK.

Try uninstalling the outdated SDK and installing the updated one...

Note: I also think that someone here told to not use the professional version, but instead use the distributable version.

Note 2: Next time use pastbin.com to present your errors/logs.

Follow the wiki and download only the packages mentioned there.

Share this post


Link to post
Share on other sites

Thanks for the help so far :)

The SDK is Microsoft Visual Studio 2008 SP1 (as in the Wiki)

I'll try tu use Visual Studio 2010....or is there an easier or even better one?

Edit: got it! New SDK and the right git installation made it :) thanks for the help :)

Edited by c00x

Share this post


Link to post
Share on other sites

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

* TrinityCore commithash : a2eb37b010d3+

* Build binaries in : Release mode

[ 97%] Built target pch_Generate_worldserver

Linking CXX executable worldserver

../game/libgame.a(BattlegroundMgr.cpp.o): In function `BattlegroundMgr::BuildPvpLogDataPacket(WorldPacket*, Battleground*)':

BattlegroundMgr.cpp:(.text+0x2fc5): undefined reference to `ArenaTeamMgr::GetArenaTeamById(unsigned int) const'

BattlegroundMgr.cpp:(.text+0x3031): undefined reference to `ArenaTeamMgr::GetArenaTeamById(unsigned int) const'

BattlegroundMgr.cpp:(.text+0x37e0): undefined reference to `ArenaTeamMgr::GetArenaTeamById(unsigned int) const'


...


AchievementMgr.cpp:(.text+0x7a9c): undefined reference to `ArenaTeamMgr::GetArenaTeamById(unsigned int) const'

../game/libgame.a(ArenaTeam.cpp.o): In function `ArenaTeam::Create(unsigned int, unsigned char, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, unsigned int, unsigned char, unsigned int, unsigned char, unsigned int)':

ArenaTeam.cpp:(.text+0x403f): undefined reference to `ArenaTeamMgr::GetArenaTeamByName(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'

ArenaTeam.cpp:(.text+0x4079): undefined reference to `ArenaTeamMgr::GenerateArenaTeamId()'

../game/libgame.a(ArenaTeam.cpp.o): In function `ArenaTeam::Disband(WorldSession*)':

ArenaTeam.cpp:(.text+0x4a18): undefined reference to `ArenaTeamMgr::RemoveArenaTeam(unsigned int)'

collect2: ld returned 1 exit status

make[2]: ** [src/server/worldserver/worldserver] Erro 1

make[1]: ** [src/server/worldserver/CMakeFiles/worldserver.dir/all] Erro 2

make: ** [all] Erro 2

Someone has the problem too?

Share this post


Link to post
Share on other sites

Did you try a clean compile? sometimes file changes don't get picked up by the compiler, and, it can lead to this kind of error.

Share this post


Link to post
Share on other sites

Did you try a clean compile? sometimes file changes don't get picked up by the compiler, and, it can lead to this kind of error.

Yes. I do a clean compile and the errors persists. <_<

Share this post


Link to post
Share on other sites

Yes. I do a clean compile and the errors persists. <_<

works for me.. in a clean compile.. delete and recreate build folder then try compiling again.

Share this post


Link to post
Share on other sites

works for me.. in a clean compile.. delete and recreate build folder then try compiling again.

Right, ClanCC. My cmake was missing an option: -DCONF_DIR. =/

My mistake!

Now, it's corrected and the compiler works.

Thanks again, guys!

Share this post


Link to post
Share on other sites

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

I'm having some trouble getting the PCH build to work on an x64 Fedora 14 system (gcc 4.4.5). The non-PCH build works fine, but I'm starting to see several problems with later commits so I want to try to get the PCH system working.

Here's my error:

[ 11%] Generating sharedPCH.h

[ 11%] [ 11%] Built target worldserver_pch_dephelp

Generating sharedPCH.h.gch/shared_Release.gch

Scanning dependencies of target pch_Generate_collision

[ 11%] Generating collisionPCH.h

[ 11%] Generating collisionPCH.h.gch/collision_Release.gch

Linking CXX static library libgame_pch_dephelp.a

[ 11%] Built target game_pch_dephelp

Scanning dependencies of target pch_Generate_authserver

[ 11%] Generating authPCH.h

[ 11%] Generating authPCH.h.gch/authserver_Release.gch

/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../../../lib64/crt1.o: In function `_start':

(.text+0x20): undefined reference to `main'

collect2: ld returned 1 exit status

make[2]: *** [src/server/collision/collisionPCH.h.gch/collision_Release.gch] Error 1

make[1]: *** [src/server/collision/CMakeFiles/pch_Generate_collision.dir/all] Error 2

make[1]: *** Waiting for unfinished jobs....

/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../../../lib64/crt1.o: In function `_start':

(.text+0x20): undefined reference to `main'

collect2: ld returned 1 exit status

make[2]: *** [src/server/shared/sharedPCH.h.gch/shared_Release.gch] Error 1

make[1]: *** [src/server/shared/CMakeFiles/pch_Generate_shared.dir/all] Error 2

/usr/lib/gcc/x86_64-redhat-linux/4.4.5/../../../../lib64/crt1.o: In function `_start':

(.text+0x20): undefined reference to `main'

collect2: ld returned 1 exit status

make[2]: *** [src/server/authserver/authPCH.h.gch/authserver_Release.gch] Error 1

make[1]: *** [src/server/authserver/CMakeFiles/pch_Generate_authserver.dir/all] Error 2

Linking CXX static library libscripts_pch_dephelp.a

[ 11%] Built target scripts_pch_dephelp

make: *** [all] Error 2

Any suggestions? Thanks

PS: Just reread this and I don't want the Devs to take exception. I appreciate all work they've done, and don't expect the commits to work on every compile. I'm even getting better at fixing the issues myself :) so the next step for me is figuring out why the PCH stuff doesn't work.

Edited by liszt

Share this post


Link to post
Share on other sites

Hi,

I'm trying to compile trinity, but there is some errors.

Following is the information in detail.

==================================================

My OS : Ubuntu 10.04 (LTS), 64bit

Trinity Revision : commit 27c419a8fe8c234ccd2a8d078658e86c36d0a8fd

Author: Shauren <[email protected]>

Date: Sat May 7 22:40:02 2011 +0200

(sorry I dont know git well. above is the result of "git log")

Referenced Installation Document : http://www.trinitycore.org/w/How-to:Linux

Newly Installed softwares:

- ace-6.0.2, openssl-1.0.0d at /opt/ace-6.0.2, /opt/openssl by compiling

- other require softwares by ubuntu package manager

==================================================

Error msg

==================================================

[ 15%] [ 15%] [ 15%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Realms/RealmList.cpp.o

Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Server/RealmSocket.cpp.o

Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Server/AuthSocket.cpp.o

Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Main.cpp.o

Linking CXX executable authserver

CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `RealmList::UpdateRealms(bool)':

RealmList.cpp:(.text+0xb56): undefined reference to `ACE_OS::mutex_trylock(pthread_mutex_t*)'

RealmList.cpp:(.text+0xb71): undefined reference to `ACE_OS::mutex_unlock(pthread_mutex_t*)'

CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::ACE_Singleton()':

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexEC1Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::ACE_Singleton()]+0x27): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'

CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::cleanup(void*)':

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE7cleanupEPv[ACE_Singleton<Log, ACE_Thread_Mutex>::cleanup(void*)]+0x5): undefined reference to `ACE_Object_Manager::instance()'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE7cleanupEPv[ACE_Singleton<Log, ACE_Thread_Mutex>::cleanup(void*)]+0x10): undefined reference to `ACE_Object_Manager::remove_at_exit_i(void*)'

CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()':

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED0Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x1c): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED0Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x36): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'

CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()':

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED1Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x2e): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexED1Ev[ACE_Singleton<Log, ACE_Thread_Mutex>::~ACE_Singleton()]+0x21): undefined reference to `ACE_Cleanup::~ACE_Cleanup()'

CMakeFiles/authserver.dir/Realms/RealmList.cpp.o: In function `ACE_Singleton<Log, ACE_Thread_Mutex>::instance()':

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x41): undefined reference to `ACE_Object_Manager::starting_up()'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x79): undefined reference to `ACE_Object_Manager::shutting_down()'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x87): undefined reference to `ACE_Object_Manager::get_singleton_lock(ACE_Thread_Mutex*&)'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x9e): undefined reference to `ACE_OS::mutex_lock(pthread_mutex_t*)'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0xb5): undefined reference to `ACE_OS::mutex_unlock(pthread_mutex_t*)'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x109): undefined reference to `ACE_Object_Manager::instance()'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x117): undefined reference to `ace_cleanup_destroyer'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x122): undefined reference to `ACE_Object_Manager::at_exit_i(void*, void (*)(void*, void*), void*, char const*)'

RealmList.cpp:(.text._ZN13ACE_SingletonI3Log16ACE_Thread_MutexE8instanceEv[ACE_Singleton<Log, ACE_Thread_Mutex>::instance()]+0x142): undefined reference to `ACE_OS::mutex_unlock(pthread_mutex_t*)'

...

...

...

==================================================

My configure

==================================================

[email protected]:build$ cmake ../ -DTOOLS=1 -DACE_LIBRARY=/opt/ace-6.0.2/lib -DACE_INCLUDE_DIR=/opt/ace-6.0.2/include -DPREFIX=/opt/trinity -DOPENSSL_LIBRARIES=/opt/openssl/lib -DOPENSSL_INCLUDE_DIR=/opt/openssl/include

-- Detected 64-bit platform

-- UNIX: Using default configuration directory

-- UNIX: Using default library directory

-- UNIX: Configuring uninstall target

-- UNIX: Created uninstall target

-- GCC: All warnings disabled

-- Found ACE library: /opt/ace-6.0.2/lib

-- Found ACE headers: /opt/ace-6.0.2/include

-- Using mysql-config: /usr/bin/mysql_config

-- Found MySQL library: /usr/lib/libmysqlclient_r.so

-- Found MySQL headers: /usr/include/mysql

-- Found Readline library: /usr/lib/libreadline.so

-- Include dir is: /usr/include

* TrinityCore commithash : Archive

* Build binaries in : Release mode

* Install core to : /opt/trinity

* Install libraries to : /opt/trinity/lib

* Install configs to : /opt/trinity/etc

* Build world/auth : Yes (default)

* Build with scripts : Yes (default)

* Build map/vmap tools : Yes

* Build core w/PCH : Yes (default)

* Build scripts w/PCH : Yes (default)

* Use SFMT for RNG : No (default)

* Show compile-warnings : No (default)

* Use coreside debug : No (default)

* Install SQL-files : No (default)

-- SCRIPT PREPARATIONS

-> Prepared: Spells

-> Prepared: Commands

-> Prepared: Examples

-> Prepared: Custom

-> Prepared: World

-> Prepared: Outdoor PVP Zones

-> Prepared: Eastern Kingdoms

-> Prepared: Kalimdor

-> Prepared: Outland

-> Prepared: Northrend

-- SCRIPT PREPARATION COMPLETE

-- Configuring done

WARNING: Target "shared" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

WARNING: Target "authserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

WARNING: Target "worldserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

-- Generating done

-- Build files have been written to: /home/garam/tmp/Wow/TrinityCore/build

==================================================

I attached the whole screen log as a text file. please look at that file.

Share this post


Link to post
Share on other sites

-- Configuring done

WARNING: Target "shared" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

WARNING: Target "authserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

WARNING: Target "worldserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

Its problem with ACE 6.0.2 I think. I use ACE 6.0.1 and I havent any warning or problems with compile. Try to install ACE 6.0.1.

  • Upvote 1

Share this post


Link to post
Share on other sites

Hi everyone..

we have since a couple of days compile errors at 100% ... is something changed?

http://pastebin.com/VWa2PVe5

regrats Bohdas

Share this post


Link to post
Share on other sites

-- Configuring done

WARNING: Target "shared" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

WARNING: Target "authserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

WARNING: Target "worldserver" requests linking to directory "/opt/ace-6.0.2/lib". Targets may link only to libraries. CMake is dropping the item.

I'm working fine with 6.0.1 too! Try that.

Share this post


Link to post
Share on other sites

--- Canned message start

It appears the issue in the original post was solved, so this thread shall be closed. Should you encounter any other difficulties, please open a new thread.

--- Canned message end ---

Share this post


Link to post
Share on other sites

Thanks for the comments.

But after down-grade it to ACE-6.0.1, the same WARNINGs and ERRORs had been occurred.

Is it possible that the CMake version is related to above Warnings and Errors?? Mine is 2.8.0

[email protected]:build$ cmake --version

cmake version 2.8.0

Edited by garam

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 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.
×
×
  • Create New...