Hi, Trinity. When i try to set the code in "Cmake" I have the following error:
Configuring incomplete, errors occurred!
See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeOutput.log".
See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeError.log".
Then, i read the following message; (i'm not able to understand what i need to do to fix this error).
________________________________________
Determining if the include file pthread.h exists failed with the following output:
Change Dir: C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_3b93f.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0"
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 27/05/2017 17:19:40.
Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_3b93f.dir\Debug\".
Creating directory "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_3b93f.dir\Debug\cmTC_3b93f.tlog\".
InitializeBuildStatus:
Creating "cmTC_3b93f.dir\Debug\cmTC_3b93f.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /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_3b93f.dir\Debug\\" /Fd"cmTC_3b93f.dir\Debug\vc141.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c
Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.10.25019 para x64
(C) Microsoft Corporation. Reservados todos los derechos.
CheckIncludeFile.c
cl /c /Zi /W1 /WX- /diagnostics:classic /Od /Ob0 /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_3b93f.dir\Debug\\" /Fd"cmTC_3b93f.dir\Debug\vc141.pdb" /Gd /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c
C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: No se puede abrir el archivo incluir: 'pthread.h': No such file or directory [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj]
Done Building Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj" (default target) (1) ->
(ClCompile target) ->
C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\CheckIncludeFile.c(1): fatal error C1083: No se puede abrir el archivo incluir: 'pthread.h': No such file or directory [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_3b93f.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:01.48
Performing C++ SOURCE FILE Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM failed with the following output:
Change Dir: C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp
Run Build Command:"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community/MSBuild/15.0/Bin/MSBuild.exe" "cmTC_70757.vcxproj" "/p:Configuration=Debug" "/p:VisualStudioVersion=15.0"
Microsoft (R) Build Engine version 15.1.1012.6693
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 27/05/2017 17:19:47.
Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj" on node 1 (default targets).
PrepareForBuild:
Creating directory "cmTC_70757.dir\Debug\".
Creating directory "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\Debug\".
Creating directory "cmTC_70757.dir\Debug\cmTC_70757.tlog\".
InitializeBuildStatus:
Creating "cmTC_70757.dir\Debug\cmTC_70757.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
ClCompile:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\CL.exe /c /IC:\local\boost_1_64_0 /Zi /W1 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_70757.dir\Debug\\" /Fd"cmTC_70757.dir\Debug\vc141.pdb" /Gd /TP /wd4351 /wd4091 /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue /we4263 /we4264 /bigobj /Zc:throwingNew /Zm500 C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\src.cxx
Compilador de optimizaci¢n de C/C++ de Microsoft (R) versi¢n 19.10.25019 para x64
(C) Microsoft Corporation. Reservados todos los derechos.
src.cxx
cl /c /IC:\local\boost_1_64_0 /Zi /W1 /WX- /diagnostics:classic /MP /Od /Ob0 /D WIN32 /D _WINDOWS /D boost_filesystem_copy_links_without_NO_SCOPED_ENUM /D "CMAKE_INTDIR=\"Debug\"" /D _MBCS /Gm- /EHsc /RTC1 /MDd /GS /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR /Fo"cmTC_70757.dir\Debug\\" /Fd"cmTC_70757.dir\Debug\vc141.pdb" /Gd /TP /wd4351 /wd4091 /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 /errorReport:queue /we4263 /we4264 /bigobj /Zc:throwingNew /Zm500 C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\src.cxx
Link:
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.10.25017\bin\HostX86\x64\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\Debug\cmTC_70757.exe" /INCREMENTAL /NOLOGO kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /manifest:embed /DEBUG /PDB:"C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp/Debug/cmTC_70757.pdb" /SUBSYSTEM:CONSOLE /TLBID:1 /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeTmp/Debug/cmTC_70757.lib" /MACHINE:X64 /machine:x64 cmTC_70757.dir\Debug\src.obj
LINK : fatal error LNK1104: no se puede abrir el archivo 'libboost_filesystem-vc141-mt-gd-1_64.lib' [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj]
Done Building Project "C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj" (default targets) -- FAILED.
Build FAILED.
"C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj" (default target) (1) ->
(Link target) ->
LINK : fatal error LNK1104: no se puede abrir el archivo 'libboost_filesystem-vc141-mt-gd-1_64.lib' [C:\Users\ivan\Desktop\Server7.2\TrinityCoreBuild\CMakeFiles\CMakeTmp\cmTC_70757.vcxproj]
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:06.22
Source file was:
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
int main() { boost::filesystem::copy_file(boost::filesystem::path(), boost::filesystem::path()); }
__________________
If it's not enough, i'll paste the progress of Cmake's configure:
______________
The C compiler identification is MSVC 19.10.25019.0
The CXX compiler identification is MSVC 19.10.25019.0
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe
Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe
Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.10.25017/bin/HostX86/x64/cl.exe -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
Detecting CXX compile features
Detecting CXX compile features - done
Detected 64-bit platform
MSVC: 64-bit platform, enforced -D_WIN64 parameter
MSVC: Enabled increased number of sections in object files
MSVC: Overloaded standard names
MSVC: Disabled NON-SECURE warnings
MSVC: Disabled POSIX warnings
MSVC: Disabled generic compiletime warnings
Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.6/lib/libmysql.lib
Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.6/include
Found MySQL executable: C:/Program Files/MySQL/MySQL Server 5.6/bin/mysql.exe
Found git binary : C:/Program Files (x86)/Git/cmd/git.exe
Could not find a proper repository signature (hash) - you may need to pull tags with git fetch -t
Continuing anyway - note that the versionstring will be set to "unknown 1970-01-01 00:00:00 (Archived)"
* TrinityCore revision : unknown 1970-01-01 00:00:00 +0000 (Archived branch)
* Install core to : C:/Program Files/TrinityCore
* 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)
Looking for pthread.h
Looking for pthread.h - not found
Found Threads: TRUE
Performing Test STD_HAS_WORKING_WREGEX
Performing Test STD_HAS_WORKING_WREGEX - Success
CMake Error at cmake/macros/FindBoost.cmake:1193 (message):
Unable to find the requested Boost libraries.
Boost version: 1.64.0
Boost include path: C:/local/boost_1_64_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:37 (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
Found OpenSSL library: optimized;C:/OpenSSL-Win64/lib/VC/ssleay32MD.lib;C:/OpenSSL-Win64/lib/VC/libeay32MD.lib;debug;C:/OpenSSL-Win64/lib/VC/ssleay32MDd.lib;C:/OpenSSL-Win64/lib/VC/libeay32MDd.lib
Found OpenSSL headers: C:/OpenSSL-Win64/include
* Script configuration (static):
|
+- worldserver
| +- Commands
| +- Custom
| +- EasternKingdoms
| +- Events
| +- Kalimdor
| +- Maelstrom
| +- Northrend
| +- OutdoorPvP
| +- Outland
| +- Pet
| +- Spells
| +- World
|
Configuring incomplete, errors occurred!
See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeOutput.log".
See also "C:/Users/ivan/Desktop/Server7.2/TrinityCoreBuild/CMakeFiles/CMakeError.log".
__________________________________________