|
Архив - только для чтения |
Модератор форума: andycrowz |
Форум » Корзина форума » Корзина » pthread.h cmake Ошибка?! или же бусты? |
pthread.h cmake Ошибка?! или же бусты? |
Прошу помощи у ветеранов. При сборке солюшна через cmake произошла ошибка
Код Detected 32-bit platform MSVC: Enabled large address awareness MSVC: Enabled SSE2 support MSVC: Disabled Safe Exception Handlers for debug builds MSVC: Overloaded standard names MSVC: Disabled NON-SECURE warnings MSVC: Disabled POSIX warnings MSVC: Disabled generic compiletime warnings Found OpenSSL library: optimized;SSL_EAY_RELEASE-NOTFOUND;LIB_EAY_RELEASE-NOTFOUND;debug;SSL_EAY_DEBUG-NOTFOUND;LIB_EAY_DEBUG-NOTFOUND Found OpenSSL headers: C:/OpenSSL-Win64/include Found ZMQ library: C:/Program Files/ZeroMQ 4.0.4/lib/libzmq-v90-mt-4_0_4.lib Found ZMQ headers: C:/Program Files/ZeroMQ 4.0.4/include CMake Warning (dev) at cmake/macros/FindBoost.cmake:344 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "MSVC" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): cmake/macros/FindBoost.cmake:741 (_Boost_GUESS_COMPILER_PREFIX) cmake/macros/ConfigureBoost.cmake:28 (find_package) CMakeLists.txt:61 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Error at cmake/macros/FindBoost.cmake:1115 (message): Unable to find the requested Boost libraries. Boost version: 1.38.0 Boost include path: C:/TrinityCore/boost Detected version of Boost is too old. Requested version was 1.49 (or newer). Call Stack (most recent call first): cmake/macros/ConfigureBoost.cmake:28 (find_package) CMakeLists.txt:61 (include) Found MySQL library: C:/Program Files/MySQL/MySQL Server 5.1/lib/opt/libmysql.lib Found MySQL headers: C:/Program Files/MySQL/MySQL Server 5.1/include * TrinityCore revision : unknown 1970-01-01 00:00:00 +0000 (Archived branch) * Install core to : C:/Program Files (x86)/TrinityCore * Build world/auth : Yes (default) * Build with scripts : No * Build map/vmap tools : Yes * Build core w/PCH : Yes (default) * Build scripts w/PCH : Yes (default) * Show compile-warnings : No (default) * Use coreside debug : No (default) * Use MySQL sourcetree : No * Use GIT revision hash : No *** WITHOUT_GIT - WARNING! *** By choosing the WITHOUT_GIT option you have waived all rights for support, *** and accept that or all requests for support or assistance sent to the core *** developers will be rejected. This due to that we will be unable to detect *** what revision of the codebase you are using in a proper way. *** We remind you that you need to use the repository codebase and a supported *** version of git for the revision-hash to work, and be allowede to ask for *** support if needed. SCRIPT PREPARATIONS -> Prepared: Spells -> Prepared: Commands SCRIPT PREPARATION COMPLETE CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: LIB_EAY_DEBUG (ADVANCED) linked by target "authserver" in directory C:/TrinityCore/src/server/authserver linked by target "bnetserver" in directory C:/TrinityCore/src/server/bnetserver linked by target "worldserver" in directory C:/TrinityCore/src/server/worldserver LIB_EAY_RELEASE (ADVANCED) linked by target "authserver" in directory C:/TrinityCore/src/server/authserver linked by target "bnetserver" in directory C:/TrinityCore/src/server/bnetserver linked by target "worldserver" in directory C:/TrinityCore/src/server/worldserver SSL_EAY_DEBUG (ADVANCED) linked by target "authserver" in directory C:/TrinityCore/src/server/authserver linked by target "bnetserver" in directory C:/TrinityCore/src/server/bnetserver linked by target "worldserver" in directory C:/TrinityCore/src/server/worldserver SSL_EAY_RELEASE (ADVANCED) linked by target "authserver" in directory C:/TrinityCore/src/server/authserver linked by target "bnetserver" in directory C:/TrinityCore/src/server/bnetserver linked by target "worldserver" in directory C:/TrinityCore/src/server/worldserver Configuring incomplete, errors occurred! See also "C:/TrinityCore/build/CMakeFiles/CMakeOutput.log". See also "C:/TrinityCore/build/CMakeFiles/CMakeError.log". Сам CMakeError.log Код Determining if files pthread.h exist failed with the following output: Change Dir: C:/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE/devenv.com" "CMAKE_TRY_COMPILE.sln" "/build" "Debug" "/project" "cmTryCompileExec1726317538" Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec1726317538, Configuration: Debug Win32 ------ 1>Compiling... 1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec1726317538.dir\Debug\\" /Fd"cmTryCompileExec1726317538.dir\Debug\vc90.pdb" /W3 /c /Zi /TC /wd4996 /wd4355 /wd4244 /wd4985 /wd4267 /wd4619 /wd4512 .\CheckIncludeFiles.c 1>CheckIncludeFiles.c 1>.\CheckIncludeFiles.c(2) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory 1>Build log was saved at "file://c:\TrinityCore\build\CMakeFiles\CMakeTmp\cmTryCompileExec1726317538.dir\Debug\BuildLog.htm" 1>cmTryCompileExec1726317538 - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ========== Source: /* */ #include <pthread.h> int main(void){return 0;} CMakeOutput Код The system is: Windows - 6.1 - AMD64 Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded. Compiler: Build flags: Id flags: The output was: 0 Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: CompilerIdC, Configuration: Debug Win32 ------ 1>Compiling... 1>CMakeCCompilerId.c 1>Linking... 1>Embedding manifest... 1>Performing Post-Build Event... 1>CMAKE_C_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe 1>Build log was saved at "file://c:\TrinityCore\build\CMakeFiles\3.1.0\CompilerIdC\Debug\BuildLog.htm" 1>CompilerIdC - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.exe" Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "CompilerIdC.vcproj" The C compiler identification is MSVC, found in "C:/TrinityCore/build/CMakeFiles/3.1.0/CompilerIdC/CompilerIdC.exe" Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded. Compiler: Build flags: Id flags: The output was: 0 Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: CompilerIdCXX, Configuration: Debug Win32 ------ 1>Compiling... 1>CMakeCXXCompilerId.cpp 1>Linking... 1>Embedding manifest... 1>Performing Post-Build Event... 1>CMAKE_CXX_COMPILER=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\cl.exe 1>Build log was saved at "file://c:\TrinityCore\build\CMakeFiles\3.1.0\CompilerIdCXX\Debug\BuildLog.htm" 1>CompilerIdCXX - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.exe" Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "CompilerIdCXX.vcproj" The CXX compiler identification is MSVC, found in "C:/TrinityCore/build/CMakeFiles/3.1.0/CompilerIdCXX/CompilerIdCXX.exe" Determining if the C compiler works passed with the following output: Change Dir: C:/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE/devenv.com" "CMAKE_TRY_COMPILE.sln" "/build" "Debug" "/project" "cmTryCompileExec3929509020" Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec3929509020, Configuration: Debug Win32 ------ 1>Compiling... 1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec3929509020.dir\Debug\\" /Fd"cmTryCompileExec3929509020.dir\Debug\vc90.pdb" /W3 /c /Zi /TC .\testCCompiler.c 1>testCCompiler.c 1>Compiling manifest to resources... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Linking... 1>Embedding manifest... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Build log was saved at "file://c:\TrinityCore\build\CMakeFiles\CMakeTmp\cmTryCompileExec3929509020.dir\Debug\BuildLog.htm" 1>cmTryCompileExec3929509020 - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Detecting C compiler ABI info compiled with the following output: Change Dir: C:/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE/devenv.com" "CMAKE_TRY_COMPILE.sln" "/build" "Debug" "/project" "cmTryCompileExec125243554" Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec125243554, Configuration: Debug Win32 ------ 1>Compiling... 1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /RTC1 /MDd /Fo"cmTryCompileExec125243554.dir\Debug\\" /Fd"cmTryCompileExec125243554.dir\Debug\vc90.pdb" /W3 /c /Zi /TC "D:\Games\World of Warcraft 4.3.4\SERVER WOW548\cmake-3.1.0-win32-x86\share\cmake-3.1\Modules\CMakeCCompilerABI.c" 1>CMakeCCompilerABI.c 1>Compiling manifest to resources... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Linking... 1>Embedding manifest... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Build log was saved at "file://c:\TrinityCore\build\CMakeFiles\CMakeTmp\cmTryCompileExec125243554.dir\Debug\BuildLog.htm" 1>cmTryCompileExec125243554 - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Determining if the CXX compiler works passed with the following output: Change Dir: C:/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE/devenv.com" "CMAKE_TRY_COMPILE.sln" "/build" "Debug" "/project" "cmTryCompileExec1176502384" Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec1176502384, Configuration: Debug Win32 ------ 1>Compiling... 1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec1176502384.dir\Debug\\" /Fd"cmTryCompileExec1176502384.dir\Debug\vc90.pdb" /W3 /c /Zi /TP .\testCXXCompiler.cxx 1>testCXXCompiler.cxx 1>Compiling manifest to resources... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Linking... 1>Embedding manifest... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Build log was saved at "file://c:\TrinityCore\build\CMakeFiles\CMakeTmp\cmTryCompileExec1176502384.dir\Debug\BuildLog.htm" 1>cmTryCompileExec1176502384 - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Detecting CXX compiler ABI info compiled with the following output: Change Dir: C:/TrinityCore/build/CMakeFiles/CMakeTmp Run Build Command:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/Common7/IDE/devenv.com" "CMAKE_TRY_COMPILE.sln" "/build" "Debug" "/project" "cmTryCompileExec1261831657" Microsoft (R) Visual Studio Version 9.0.21022.8. Copyright (C) Microsoft Corp. All rights reserved. 1>------ Build started: Project: cmTryCompileExec1261831657, Configuration: Debug Win32 ------ 1>Compiling... 1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 15.00.21022.08 for 80x86 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec1261831657.dir\Debug\\" /Fd"cmTryCompileExec1261831657.dir\Debug\vc90.pdb" /W3 /c /Zi /TP "D:\Games\World of Warcraft 4.3.4\SERVER WOW548\cmake-3.1.0-win32-x86\share\cmake-3.1\Modules\CMakeCXXCompilerABI.cpp" 1>CMakeCXXCompilerABI.cpp 1>Compiling manifest to resources... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Linking... 1>Embedding manifest... 1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0 1>Copyright (C) Microsoft Corporation. All rights reserved. 1>Build log was saved at "file://c:\TrinityCore\build\CMakeFiles\CMakeTmp\cmTryCompileExec1261831657.dir\Debug\BuildLog.htm" 1>cmTryCompileExec1261831657 - 0 error(s), 0 warning(s) ========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ========== Проблема в бустах? надо их обновить? Если да то откуда скачать какую версию, прошу помощи господа. студия 2008. и еще хотелось бы узнать, смейк сам автоматически находит мускул или его надо указать ? а то здесь его не вижу ) спасибо
Сообщение # 1 написано 24.12.2014 в 13:09
|
| |||
| |||