Pepe Menos Posted February 9, 2018 Report Share Posted February 9, 2018 And this is the cmakeerrorlog: Determining if the include file pthread.h exists failed with the following output: Change Dir: D:/Build1/CMakeFiles/CMakeTmp Run Build Command:"D:/VS2017/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_b5181.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0" Microsoft (R) Build Engine versi¢n 15.4.8.50001 para .NET Framework Copyright (C) Microsoft Corporation. Todos los derechos reservados. Compilaci¢n iniciada a las 09/02/2018 03:20:53 p. m.. Proyecto "D:\Build1\CMakeFiles\CMakeTmp\cmTC_b5181.vcxproj" en nodo 1 (destinos predeterminados). PrepareForBuild: Creando directorio "cmTC_b5181.dir\Debug\". Creando directorio "D:\Build1\CMakeFiles\CMakeTmp\Debug\". Creando directorio "cmTC_b5181.dir\Debug\cmTC_b5181.tlog\". InitializeBuildStatus: Se crear "cmTC_b5181.dir\Debug\cmTC_b5181.tlog\unsuccessfulbuild" porque se especific¢ "AlwaysCreate". ClCompile: D:\VS2017\VC\Tools\MSVC\14.11.25503\bin\HostX86\x86\CL.exe /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_b5181.dir\Debug\\" /Fd"cmTC_b5181.dir\Debug\vc141.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /analyze- /errorReport:queue D:\Build1\CMakeFiles\CMakeTmp\CheckIncludeFile.c Microsoft (R) C/C++ Optimizing Compiler Version 19.11.25547 for x86 Copyright (C) Microsoft Corporation. All rights reserved. CheckIncludeFile.c cl /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /Oy- /D WIN32 /D _WINDOWS /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /Fo"cmTC_b5181.dir\Debug\\" /Fd"cmTC_b5181.dir\Debug\vc141.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /analyze- /errorReport:queue D:\Build1\CMakeFiles\CMakeTmp\CheckIncludeFile.c D:\Build1\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:\Build1\CMakeFiles\CMakeTmp\cmTC_b5181.vcxproj] Compilaci¢n del proyecto terminada "D:\Build1\CMakeFiles\CMakeTmp\cmTC_b5181.vcxproj" (destinos predeterminados) -- ERROR. ERROR al compilar. "D:\Build1\CMakeFiles\CMakeTmp\cmTC_b5181.vcxproj" (destino predeterminado) (1) -> (ClCompile destino) -> D:\Build1\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory [D:\Build1\CMakeFiles\CMakeTmp\cmTC_b5181.vcxproj] 0 Advertencia(s) 1 Errores Tiempo transcurrido 00:00:00.99 Link to comment Share on other sites More sharing options...
Pepe Menos Posted February 9, 2018 Report Share Posted February 9, 2018 (edited) How add pthread.h to cmake, please helpme... Edited February 9, 2018 by Pepe Menos Link to comment Share on other sites More sharing options...
lukasbarva Posted February 11, 2018 Report Share Posted February 11, 2018 hello, I have a problem with CMAKE. Will anyone please help me? report: CMake Error at cmake/macros/FindBoost.cmake:1231 (message): Unable to find the requested Boost libraries. Boost version: 1.66.0 Boost include path: C:/boost_1_66_0 Could not find the following static Boost libraries: boost_system boost_filesystem boost_thread boost_program_options boost_iostreams No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. If you still have problems search on forum for TCE00020. Call Stack (most recent call first): dep/boost/CMakeLists.txt:41 (find_package) Link to comment Share on other sites More sharing options...
alfa Posted February 14, 2018 Report Share Posted February 14, 2018 I have a problem when compiling, how to solve it? /home/source/src/server/game/Movement/PathGenerator.cpp:102:94: error: too few arguments to function call, expected 4, have 3 if (dtStatusFailed(_navMeshQuery->closestPointOnPoly(polyPath, point, closestPoint))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const; ^ /home/source/src/server/game/Movement/PathGenerator.cpp:233:98: error: too few arguments to function call, expected 4, have 3 if (dtStatusSucceed(_navMeshQuery->closestPointOnPoly(endPoly, endPoint, closestPoint))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const; ^ /home/source/src/server/game/Movement/PathGenerator.cpp:324:103: error: too few arguments to function call, expected 4, have 3 if (dtStatusFailed(_navMeshQuery->closestPointOnPoly(suffixStartPoly, endPoint, suffixEndPoint))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const; ^ /home/source/src/server/game/Movement/PathGenerator.cpp:330:107: error: too few arguments to function call, expected 4, have 3 if (dtStatusFailed(_navMeshQuery->closestPointOnPoly(suffixStartPoly, endPoint, suffixEndPoint))) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ /home/source/dep/recastnavigation/Detour/DetourNavMeshQuery.h:383:2: note: 'closestPointOnPoly' declared here dtStatus closestPointOnPoly(dtPolyRef ref, const float* pos, float* closest, bool* posOverPoly) const; Link to comment Share on other sites More sharing options...
Rubinski123 Posted February 20, 2018 Report Share Posted February 20, 2018 (edited) Hey guys, i get this error Any ideas? im completely new to this and i followed the step by step tutorial for linux, im running ubuntu 17.10 Edited February 20, 2018 by Rubinski123 Link to comment Share on other sites More sharing options...
Gib_adm Posted February 22, 2018 Report Share Posted February 22, 2018 Hi, please help OS Debian 9 x64 gcc 6.3.0-4 clang 3.8-36 cmake 3.7.2-1 Cmake options : trinity@trinity-dev:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/trinity/server -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3" -DDO_DEBUG=0 -DDO_SCRIPTS=true -DCMAKE_DFD_SETSIZE=4096 -DLARGE_CELL=0 -DSHORT_SLEEP=1 -DCMAKE_C_FLAGS="-march=nocona-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math -fno-strength-reduce -fno-strict-aliasing -frename-registers" -DCMAKE_CXX_FLAGS="${CMAKE_C_FLAGS}" Errors: -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b3567/fast" /usr/bin/make -f CMakeFiles/cmTC_b3567.dir/build.make CMakeFiles/cmTC_b3567.dir/build make[1]: вход в каталог «/home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp» Building C object CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o /usr/bin/cc -march=nocona-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math -fno-strength-reduce -fno-strict-aliasing -frename-registers -o CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o -c /home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp/testCCompiler.c clang: warning: optimization flag '-fno-strength-reduce' is not supported clang: warning: optimization flag '-frename-registers' is not supported error: unknown target CPU 'nocona-m64' CMakeFiles/cmTC_b3567.dir/build.make:65: ошибка выполнения рецепта для цели «CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o» make[1]: *** [CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o] Ошибка 1 make[1]: выход из каталога «/home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp» Makefile:126: ошибка выполнения рецепта для цели «cmTC_b3567/fast» make: *** [cmTC_b3567/fast] Ошибка 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:19 (project) -- Configuring incomplete, errors occurred! See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeOutput.log". See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeError.log". Link to comment Share on other sites More sharing options...
Aokromes Posted February 22, 2018 Report Share Posted February 22, 2018 28 minutes ago, Gib_adm said: Hi, please help OS Debian 9 x64 gcc 6.3.0-4 clang 3.8-36 cmake 3.7.2-1 Cmake options : trinity@trinity-dev:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/trinity/server -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3" -DDO_DEBUG=0 -DDO_SCRIPTS=true -DCMAKE_DFD_SETSIZE=4096 -DLARGE_CELL=0 -DSHORT_SLEEP=1 -DCMAKE_C_FLAGS="-march=nocona-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math -fno-strength-reduce -fno-strict-aliasing -frename-registers" -DCMAKE_CXX_FLAGS="${CMAKE_C_FLAGS}" Errors: -- The C compiler identification is unknown -- The CXX compiler identification is unknown -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- broken CMake Error at /usr/share/cmake-3.7/Modules/CMakeTestCCompiler.cmake:51 (message): The C compiler "/usr/bin/cc" is not able to compile a simple test program. It fails with the following output: Change Dir: /home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:"/usr/bin/make" "cmTC_b3567/fast" /usr/bin/make -f CMakeFiles/cmTC_b3567.dir/build.make CMakeFiles/cmTC_b3567.dir/build make[1]: вход в каталог «/home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp» Building C object CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o /usr/bin/cc -march=nocona-m64 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math -fno-strength-reduce -fno-strict-aliasing -frename-registers -o CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o -c /home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp/testCCompiler.c clang: warning: optimization flag '-fno-strength-reduce' is not supported clang: warning: optimization flag '-frename-registers' is not supported error: unknown target CPU 'nocona-m64' CMakeFiles/cmTC_b3567.dir/build.make:65: ошибка выполнения рецепта для цели «CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o» make[1]: *** [CMakeFiles/cmTC_b3567.dir/testCCompiler.c.o] Ошибка 1 make[1]: выход из каталога «/home/trinity/TrinityCore/build/CMakeFiles/CMakeTmp» Makefile:126: ошибка выполнения рецепта для цели «cmTC_b3567/fast» make: *** [cmTC_b3567/fast] Ошибка 2 CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:19 (project) -- Configuring incomplete, errors occurred! See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeOutput.log". See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeError.log". remove clang: warning: optimization flag '-fno-strength-reduce' is not supported clang: warning: optimization flag '-frename-registers' is not supported error: unknown target CPU 'nocona-m64' from your cmake line. Link to comment Share on other sites More sharing options...
Gib_adm Posted February 22, 2018 Report Share Posted February 22, 2018 (edited) 4 hours ago, Aokromes said: remove clang: warning: optimization flag '-fno-strength-reduce' is not supported clang: warning: optimization flag '-frename-registers' is not supported error: unknown target CPU 'nocona-m64' from your cmake line. Thanks,Aokromes. How then to specify the processor model? I'm facing another problem: trinity@trinity-dev:~/TrinityCore/build$ cmake ../ -DPREFIX=/home/trinity/server -DCMAKE_C_FLAGS="-O3" -DCMAKE_CXX_FLAGS="-O3" -DDO_DEBUG=0 -DDO_SCRIPTS=true -DCMAKE_DFD_SETSIZE=4096 -DLARGE_CELL=0 -DSHORT_SLEEP=1 -DCMAKE_C_FLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -pipe -pipe -msse3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing" -DCMAKE_CXX_FLAGS="${CMAKE_C_FLAGS}" -DBOOST_LIBRARYDIR=/usr/lib/x86_64-linux-gnu -- Detected 64-bit platform -- UNIX: Using default configuration directory -- UNIX: Using default library directory -- UNIX: Configuring uninstall target -- UNIX: Created uninstall target -- UNIX: Detected compiler: /usr/bin/cc -- cotire 1.7.10 loaded. -- Using mysql-config: /usr/bin/mysql_config -- Found MySQL library: /usr/lib/x86_64-linux-gnu/libmariadbclient.so -- Found MySQL headers: /usr/include/mysql -- Found MySQL executable: /usr/bin/mysql -- Found git binary : /usr/bin/git * TrinityCore revision : 3753ec56476d 2018-02-22 02:37:00 -0300 (3.3.5 branch) * TrinityCore buildtype : RelWithDebInfo * Install core to : /usr/local * Install libraries to : /usr/local/lib * Install configs to : /usr/local/etc * 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.62.0 -- Found the following Boost libraries: -- system -- filesystem -- thread -- program_options -- iostreams -- regex CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message): Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.8") Call Stack (most recent call first): /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) /usr/share/cmake-3.7/Modules/FindZLIB.cmake:114 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) dep/zlib/CMakeLists.txt:13 (find_package) -- Configuring incomplete, errors occurred! See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeOutput.log". See also "/home/trinity/TrinityCore/build/CMakeFiles/CMakeError.log". How to select the default path to libraries? WARNINGS: WARNING: Target "vmap4assembler" requests linking to directory "/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item. CMake Error in src/tools/vmap4_extractor/CMakeLists.txt: No known features for CXX compiler "" version . WARNING: Target "vmap4extractor" requests linking to directory "/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item. CMake Error in src/tools/mmaps_generator/CMakeLists.txt: No known features for CXX compiler "" version . WARNING: Target "mmaps_generator" requests linking to directory "/usr/lib/x86_64-linux-gnu". Targets may link only to libraries. CMake is dropping the item. Edited February 22, 2018 by Gib_adm addition Link to comment Share on other sites More sharing options...
sevi Posted February 25, 2018 Report Share Posted February 25, 2018 When i will compile a fresh pulled source with dynamic linking i become this error: gcc 4.9.3 cmake 3.10.2 Ubuntu 16.04.3 c++: error trying to exec '/usr/lib/gcc/x86_64-linux-gnu/4.9/cc1plus': execv: Die Argumentliste ist zu lang src/server/scripts/CMakeFiles/generate_ScriptPCH.cpp.dir/build.make:61: die Regel für Ziel „src/server/scripts/ScriptPCH.h.gch“ scheiterte make[2]: *** [src/server/scripts/ScriptPCH.h.gch] Fehler 1 CMakeFiles/Makefile2:1938: die Regel für Ziel „src/server/scripts/CMakeFiles/generate_ScriptPCH.cpp.dir/all“ scheiterte make[1]: *** [src/server/scripts/CMakeFiles/generate_ScriptPCH.cpp.dir/all] Fehler 2 I use this cmake options: cmake ../ -DCMAKE_INSTALL_PREFIX=/home/trinity-cata/cata_pve_dev -DTOOLS=1 -DCMAKE_BUILD_TYPE=RelWithDebug -DWITH_COREDEBUG=0 -DWITH_DYNAMIC_LINKING=1 -DSCRIPTS="dynamic" -DUSE_COREPCH=1 -DSERVERS=1 -DUSE_SCRIPTPCH=1 Link to comment Share on other sites More sharing options...
LewisPotato Posted March 3, 2018 Report Share Posted March 3, 2018 Hi, I reinstalled Windows 10 and reinstalled the software for compiling TrinityCore and I'm now getting this error when I attempt to configure the source in CMake: CMake Error at cmake/macros/FindBoost.cmake:1231 (message): Unable to find the requested Boost libraries. Boost version: 1.63.0 Boost include path: C:/local/boost_1_63_0 Could not find the following static Boost libraries: boost_system boost_filesystem boost_thread boost_program_options boost_iostreams boost_regex No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT to the location of Boost. If you still have problems search on forum for TCE00020. Call Stack (most recent call first): dep/boost/CMakeLists.txt:44 (find_package) Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed Looking for open Looking for open - found CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) Call Stack (most recent call first): C:/Program Files (x86)/CMake/share/cmake-3.11/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE) cmake/macros/FindOpenSSL.cmake:179 (find_package_handle_standard_args) dep/openssl/CMakeLists.txt:16 (find_package) I have set the roots for BOOST_ROOT in system variables, USER and SYSTEM but that hasn't worked. I'm using Boost (1_63_0) and OpenSSL-Win64 1.0.2n Link to comment Share on other sites More sharing options...
dsykes Posted March 3, 2018 Report Share Posted March 3, 2018 im trying to configure and generate the project fiels for trinity but i cant get based this Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. and Looking for open Looking for open - found CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) I have BOOST_ROOT in my system and user variables but it still doesnt work i even restarted the comp and everything, dont know what to do. Link to comment Share on other sites More sharing options...
Ulrieth Posted March 20, 2018 Report Share Posted March 20, 2018 I am getting: CMake Error: The source directory "C:/Trinity" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. how do i fix? Link to comment Share on other sites More sharing options...
skipperheartbeat Posted March 21, 2018 Report Share Posted March 21, 2018 Change directory to build ? Link to comment Share on other sites More sharing options...
larry1972m Posted April 7, 2018 Report Share Posted April 7, 2018 i am having problems with library paths for example the first it cant find boost libraries well i search ever y cmake text file until i found findBoost.cmake. in findBoost.cmake i add /user/lib/i386-linux-gnu. that fixed now its libreadline, openssl_ssl_libraries, and openssl_crypto_libraries-not found usr/local/lib is completely empty i need to add usr/lib/i386-linux-gnu because it is the path to most of the library im use debian 9 32 bit Link to comment Share on other sites More sharing options...
larry1972m Posted April 7, 2018 Report Share Posted April 7, 2018 On 3/3/2018 at 3:53 PM, dsykes said: im trying to configure and generate the project fiels for trinity but i cant get based this Unable to find the Boost header files. Please set BOOST_ROOT to the root directory containing Boost or BOOST_INCLUDEDIR to the directory containing Boost's headers. and Looking for open Looking for open - found CMake Error at C:/Program Files/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): Could NOT find OpenSSL (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) I have BOOST_ROOT in my system and user variables but it still doesnt work i even restarted the comp and everything, dont know what to do. Link to comment Share on other sites More sharing options...
larry1972m Posted April 7, 2018 Report Share Posted April 7, 2018 im using debian 9 i fix my boost libraries by doing a file search in file manager. i found then in /usr/lib/i386-linux-gnu. i use a text edit and edited findboost.cmake add the link to append. TrinityCore/cmake/macros where i found findboost.cmake file else() list(APPEND _boost_LIBRARY_SEARCH_DIRS PATHS C:/boost/lib C:/boost /sw/local/lib /usr/lib/i386-linux-gnu # "this line i added" ) endif() i aslo check the include as well list(APPEND _boost_INCLUDE_SEARCH_DIRS PATHS C:/boost/include C:/boost /sw/local/include /usr/local/include/boost /usr/include/boost ) i dont know your os its the same idea i working on ssl libraries Link to comment Share on other sites More sharing options...
Sirius Posted April 8, 2018 Report Share Posted April 8, 2018 Really odd compile error, re-cmake-ed with updated SSL and mysql just in case, but getting this during compile for world server. Haven't seen linking errors before been doing this for a while, nothing's changed in environment lately, any clues? https://hastebin.com/akedubizod.vbs Link to comment Share on other sites More sharing options...
Livux Posted April 8, 2018 Report Share Posted April 8, 2018 Could someone help? Thanks! 26>Main.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "SSLeay_version" in Funktion ""public: void __cdecl <lambda_bde6c946a51df87e2dbf226e008f4a94>::operator()(void)const " (??R<lambda_bde6c946a51df87e2dbf226e008f4a94>@@QEBAXXZ)". 26>scripts.lib(cs_server.obj) : error LNK2001: Nicht aufgelöstes externes Symbol "SSLeay_version". 26>common.lib(OpenSSLCrypto.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "CRYPTO_num_locks" in Funktion ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" (?threadsCleanup@OpenSSLCrypto@@YAXXZ)". 26>common.lib(OpenSSLCrypto.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "CRYPTO_set_locking_callback" in Funktion ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" (?threadsCleanup@OpenSSLCrypto@@YAXXZ)". 26>common.lib(OpenSSLCrypto.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "CRYPTO_THREADID_set_numeric" in Funktion ""void __cdecl threadIdCallback(struct crypto_threadid_st *)" (?threadIdCallback@@YAXPEAUcrypto_threadid_st@@@Z)". 26>common.lib(OpenSSLCrypto.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "CRYPTO_THREADID_set_callback" in Funktion ""void __cdecl OpenSSLCrypto::threadsCleanup(void)" (?threadsCleanup@OpenSSLCrypto@@YAXXZ)". 26>common.lib(HmacHash.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "HMAC_CTX_init" in Funktion ""struct hmac_ctx_st * __cdecl HMAC_CTX_new(void)" (?HMAC_CTX_new@@YAPEAUhmac_ctx_st@@XZ)". 26>common.lib(HmacHash.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "HMAC_CTX_cleanup" in Funktion ""void __cdecl HMAC_CTX_free(struct hmac_ctx_st *)" (?HMAC_CTX_free@@YAXPEAUhmac_ctx_st@@@Z)". 26>common.lib(ARC4.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "EVP_CIPHER_CTX_init" in Funktion ""public: __cdecl ARC4::ARC4(unsigned int)" (??0ARC4@@QEAA@I@Z)". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "sk_num" in Funktion "tcp_connect". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "sk_value" in Funktion "tcp_connect". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "sk_pop_free" in Funktion "tcp_connect". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "OPENSSL_add_all_algorithms_noconf" in Funktion "soap_ssl_init". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "SSL_load_error_strings" in Funktion "soap_ssl_init". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "SSLv23_method" in Funktion "ssl_auth_init". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "SSL_library_init" in Funktion "soap_ssl_init". 26>gsoap.lib(stdsoap2.obj) : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol "SSL_state" in Funktion "tcp_connect". 26>D:\AshamaneCore\Source\cmake Build\bin\RelWithDebInfo\worldserver.exe : fatal error LNK1120: 16 nicht aufgelöste Externe 26>Die Erstellung des Projekts "worldserver.vcxproj" ist abgeschlossen -- FEHLER. 27>------ Erstellen gestartet: Projekt: ALL_BUILD, Konfiguration: RelWithDebInfo x64 ------ 27>Building Custom Rule D:/AshamaneCore/Source/CMakeLists.txt 27>CMake does not need to re-run because D:/AshamaneCore/Source/cmake Build/CMakeFiles/generate.stamp is up-to-date. ========== Erstellen: 25 erfolgreich, 2 fehlerhaft, 0 aktuell, 0 übersprungen ========== Link to comment Share on other sites More sharing options...
Sirius Posted April 11, 2018 Report Share Posted April 11, 2018 On 4/8/2018 at 8:57 AM, Livux said: Could someone help? Thanks!... So for those of you running into this, I updated CMake and changed my .vcxproj file and added <PropertyGroup> <PreferredToolArchitecture>x64</PreferredToolArchitecture> </PropertyGroup> Beneath: <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" /> Updating the cmake might have helped also, honestly I thought this was an OSSL issue but I double checked that I'm using x64-1.02.15. Link to comment Share on other sites More sharing options...
sheodd100 Posted April 14, 2018 Report Share Posted April 14, 2018 So I am having a problem when I go to build the file i keep getting the LNK2019 error but i have mysql and a libmysql.dll and the libmysql.lib I have changed the cmake path to but it dose not want to compile. Link to comment Share on other sites More sharing options...
Sirius Posted April 16, 2018 Report Share Posted April 16, 2018 On 4/13/2018 at 8:55 PM, sheodd100 said: So I am having a problem when I go to build the file i keep getting the LNK2019 error but i have mysql and a libmysql.dll and the libmysql.lib I have changed the cmake path to but it dose not want to compile. See my post. Link to comment Share on other sites More sharing options...
Kobiesan Posted May 2, 2018 Report Share Posted May 2, 2018 Get this error when compiling on debian 9 Link to comment Share on other sites More sharing options...
Aokromes Posted May 2, 2018 Report Share Posted May 2, 2018 not tc issue, instead server. Link to comment Share on other sites More sharing options...
Katria Posted June 11, 2018 Report Share Posted June 11, 2018 root@ns3085132:~/TrinityCore/build# make [ 4%] Built target g3dlib [ 4%] Built target Detour [ 5%] Built target Recast [ 6%] Built target fmt [ 9%] Built target jemalloc [ 9%] Built target gsoap [ 10%] Built target mpq [ 10%] Built target revision_data.h [ 14%] Built target common [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o fatal error: file '/usr/include/linux/limits.h' has been modified since the precompiled header '/root/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.hxx.pch' was built note: please rebuild precompiled header '/root/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.hxx.pch' 1 error generated. src/server/database/CMakeFiles/database.dir/build.make:427: recipe for target 'src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o' failed make[2]: *** [src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o] Error 1 CMakeFiles/Makefile2:1124: recipe for target 'src/server/database/CMakeFiles/database.dir/all' failed make[1]: *** [src/server/database/CMakeFiles/database.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 root@ns3085132:~/TrinityCore/build# Any ideas? I'm trying to create another realm on a single server. Ubuntu 18 Link to comment Share on other sites More sharing options...
Aokromes Posted June 12, 2018 Report Share Posted June 12, 2018 12 hours ago, Katria said: root@ns3085132:~/TrinityCore/build# make [ 4%] Built target g3dlib [ 4%] Built target Detour [ 5%] Built target Recast [ 6%] Built target fmt [ 9%] Built target jemalloc [ 9%] Built target gsoap [ 10%] Built target mpq [ 10%] Built target revision_data.h [ 14%] Built target common [ 14%] Building CXX object src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o fatal error: file '/usr/include/linux/limits.h' has been modified since the precompiled header '/root/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.hxx.pch' was built note: please rebuild precompiled header '/root/TrinityCore/build/src/server/database/cotire/database_CXX_prefix.hxx.pch' 1 error generated. src/server/database/CMakeFiles/database.dir/build.make:427: recipe for target 'src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o' failed make[2]: *** [src/server/database/CMakeFiles/database.dir/Database/Implementation/CharacterDatabase.cpp.o] Error 1 CMakeFiles/Makefile2:1124: recipe for target 'src/server/database/CMakeFiles/database.dir/all' failed make[1]: *** [src/server/database/CMakeFiles/database.dir/all] Error 2 Makefile:129: recipe for target 'all' failed make: *** [all] Error 2 root@ns3085132:~/TrinityCore/build# Any ideas? I'm trying to create another realm on a single server. Ubuntu 18 re-run cmake. Link to comment Share on other sites More sharing options...
Recommended Posts