Jump to content
TrinityCore

Davuk

Plebs
  • Posts

    2
  • Joined

  • Last visited

Everything posted by Davuk

  1. Compile failed with 282 errors while attempting to Compile Branch 4.3.4 On a Asus Laptop /w an I5 Running Windows 8.1 Ent VS 2013 Ultimate Update 4 Cmake 3.2.1 Boost 1.57 MySql Library Files from the Zip files Provided in installation instructions OpenSSL 1.0.2a and Zero MQ 4.0.4 I had an issue during CMAKE with the Regx on line 188 of FindOpenSSL which seemed to be fixed with a change to the regex. After CMAKE completed the Compile in VS failed with what looks like 282 LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" preventing the auth,bnet and world server projects from compiling. This appears at face value to be an issue with the linker locating the boost DLL's. The Linker for the AuthServer has the following external dependencies related to Boost and all three are valid paths. C:localboost_1_57_0lib32-msvc-12.0libboost_system-vc120-mt-1_57.lib C:localboost_1_57_0lib32-msvc-12.0libboost_thread-vc120-mt-1_57.lib C:localboost_1_57_0lib32-msvc-12.0libboost_program_options-vc120-mt-1_57.lib BOOST_ROOT is set in both the User and System Environment Variables. The following is the full output text from a compile of just the Authserver. 1>------ Build started: Project: revision.h, Configuration: Release Win32 ------ 2>------ Build started: Project: authserver, Configuration: Release Win32 ------ 2>shared.lib(Config.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>shared.lib(ByteBuffer.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>shared.lib(Util.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>shared.lib(sharedPCH.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>shared.lib(Log.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>shared.lib(QueryResult.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>shared.lib(MySQLConnection.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>shared.lib(PreparedStatement.obj) : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>RealmList.obj : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>AuthSession.obj : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>Main.obj : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>authPCH.obj : error LNK2001: unresolved external symbol "void __cdecl boost::throw_exception(class std::exception const &)" (?throw_exception@boost@@YAXABVexception@std@@@Z) 2>C:Buildsgithub.comTrinityCorebinReleaseauthserver.exe : fatal error LNK1120: 1 unresolved externals ========== Build: 1 succeeded, 1 failed, 2 up-to-date, 0 skipped ========== Any help or suggestions would be appreciated. ---Update 17/4/2015---- Uninstalled Boost and Cmake and started over ... results were the same after reinstall. Uninstalled Boost and Installed Boost 1.54 Updated Environment variables. 1.54 does not have a msvc 12 and 11 was not located by CMAKE presumably because it was set to VS 2013 (Note: Not sure the requirements shouldn't be updated to require Boost 1.55 minimum instead of the current 1.54). Installed Boost 1.55 Updated Environment Variables. Cmake completed. Compile resulted in the same 282 link 2001 unresolved external error. Reinstalled Boost 1.57 Situation unchanged 282 Link errors. --Update 19/4/2015--- Wiped Build Folder and reran Cmake. And reran the Build Successfully. The only changes were a few windows updates applied last night the only two that seem even possibly relavent were KB3013769 and KB3013816 both Windows 8.1 updates or KB2934520 a .Net Framework update. However none of these are specifically related and the rest were all Office updates which seem even more unrelated but the issue now seems resolved.
×
×
  • Create New...