Jump to content
TrinityCore

Recommended Posts

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

 

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

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

Hi, please help

OS Debian 9 x64

gcc 6.3.0-4

clang 3.8-36

cmake 3.7.2-1

Cmake options :

	[email protected]:~/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

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 :

 

	[email protected]:~/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

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:

[email protected]:~/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 by Gib_adm
addition
Link to comment
Share on other sites

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

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

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

  • 3 weeks later...
  • 3 weeks later...

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

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

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

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)" ([email protected]@@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)" ([email protected]@@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 *)" ([email protected]@[email protected]@@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)" ([email protected]@@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)" ([email protected]@[email protected]@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 *)" ([email protected]@[email protected]@@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)" ([email protected]@[email protected]@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

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

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

  • 3 weeks later...
  • 1 month later...

[email protected]:~/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
[email protected]:~/TrinityCore/build#


Any ideas? I'm trying to create another realm on a single server.

Ubuntu 18

Link to comment
Share on other sites

12 hours ago, Katria said:

[email protected]:~/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
[email protected]:~/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

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.

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.


  • Similar Content

    • By xgamerninjax
      Hello all, first time posting here and it's really got me scratching my head.
      I've compiled everything on my own computer, and then transferred everything to a host computer so the server can stay live. The server was running fine for a month or so and then suddenly it just crashes when it hits "Loading C++ scripts", exiting saying "caught signal 22"
      I tried setting up the host computer from scratch and transferred everything over fresh and it's still happening for some reason. (Note, I can run the server perfectly on my personal pc where I compiled it.)
      Any help would be greatly appreciated, thanks!
      3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].dmp 3d7e3a40e2b3+_worldserver.exe_[1-4_15-19-45].txt
    • By Deer_Hunter
      Hello all,
      I just updated from the latest Git 
      Trinity Core REV. ac6baa547376 + 2020-02-21  3.3.5 Branch.
      I'm getting this error after crash.
      Problem signature:
        Problem Event Name:    APPCRASH
        Application Name:    worldserver.exe
        Application Version:    0.0.0.0
        Application Timestamp:    5e50a462
        Fault Module Name:    StackHash_f12f
        Fault Module Version:    6.3.9600.19629
        Fault Module Timestamp:    5e2fdc0d
        Exception Code:    c0000374
        Exception Offset:    PCH_9E_FROM_ntdll+0x0000000000090D0A
        OS Version:    6.3.9600.2.0.0.272.7
        Locale ID:    1033
        Additional Information 1:    f12f
        Additional Information 2:    f12f0934d3e965f73c68e60f20f2cd40
        Additional Information 3:    7595
        Additional Information 4:    7595e4d8d703db9dcd3d2f6ea540e357
      the exception code says its a Heap error,  I'm not sure how to troubleshoot this.
      Thanks
    • 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.
×
×
  • Create New...