|
|
Модератор форума: Dimitro |
Форум TrinityCore [TrinityCore] Help Cmake - ошибка при компиляции (РЕШЕНО) |
Cmake - ошибка при компиляции (РЕШЕНО) |
РЕШЕНО УДАЛЕНИЕ GIT И CMAKE И ПОСЛЕДОВАТЕЛЬНО УСТАНОВКОЙ ИХ
Привет народ. Появилась проблема при компиляции ядра 3.3.5 trinity. Собственно проблема в том, что, в Cmake выдает ошибку почти на половине стадии. Вроде бы ругается на openSSL , типо нужна версия 1.0.0 и выше - но я уже все попробовал (не лайт). И все равно, и указывал путь в ручную все равно так же. Код Selecting Windows SDK version 10.0.16299.0 to target Windows 6.1.7601. The C compiler identification is MSVC 19.13.26129.0 The CXX compiler identification is MSVC 19.13.26129.0 Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x64/cl.exe Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/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.13.26128/bin/Hostx86/x64/cl.exe Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/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 CMake Deprecation Warning at CMakeLists.txt:16 (cmake_policy): The OLD behavior for policy CMP0005 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. Detected 64-bit platform Using supplied MySQL sources MSVC: 64-bit platform, enforced -D_WIN64 parameter MSVC: Enabled extended object-support for debug-compiles 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/include CMake Error at cmake/macros/FindOpenSSL.cmake:200 (list): list GET given empty list Call Stack (most recent call first): CMakeLists.txt:56 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:201 (list): list GET given empty list Call Stack (most recent call first): CMakeLists.txt:56 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:202 (list): list GET given empty list Call Stack (most recent call first): CMakeLists.txt:56 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:203 (list): list GET given empty list Call Stack (most recent call first): CMakeLists.txt:56 (find_package) CMake Error at cmake/macros/EnsureVersion.cmake:76 (MATH): MATH cannot parse the expression: "..`*10000 + ..`*100 + 0": syntax error, unexpected exp_TIMES, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER (4) Call Stack (most recent call first): cmake/macros/EnsureVersion.cmake:95 (NORMALIZE_VERSION) cmake/macros/FindOpenSSL.cmake:221 (ENSURE_VERSION) CMakeLists.txt:56 (find_package) CMake Error at cmake/macros/FindOpenSSL.cmake:223 (message): TrinityCore needs OpenSSL version 1.0.0 but found version ..` Call Stack (most recent call first): CMakeLists.txt:56 (find_package) А вот эта ошибка при компиляции оф тринити: Код Selecting Windows SDK version 10.0.16299.0 to target Windows 6.1.7601. The C compiler identification is MSVC 19.13.26129.0 The CXX compiler identification is MSVC 19.13.26129.0 Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/bin/Hostx86/x64/cl.exe Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/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.13.26128/bin/Hostx86/x64/cl.exe Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.13.26128/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 CMake Deprecation Warning at CMakeLists.txt:22 (cmake_policy): The OLD behavior for policy CMP0005 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. CMake Deprecation Warning at CMakeLists.txt:24 (cmake_policy): The OLD behavior for policy CMP0043 will be removed from a future version of CMake. The cmake-policies(7) manual explains that the OLD behaviors of all policies are deprecated and that a policy should be set to OLD only under specific short-term circumstances. Projects should be ported to the NEW behavior and not rely on setting a policy to OLD. 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 cotire 1.7.10 loaded. 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 CMake Error at cmake/macros/FindGit.cmake:24 (message): Git was NOT FOUND on your system - did you forget to install a recent version, or setting the path to it? Observe that for revision hash/date to work you need at least version 1.7 Call Stack (most recent call first): CMakeLists.txt:70 (find_package) Configuring incomplete, errors occurred! See also "C:/empirewow/CMakeFiles/CMakeOutput.log". |
1) Ничего Вы там не подцепили (читайте лог). Если делаете вручную (при помощи текстового редактирования кеша), не забывайте его перезагружать из программы (Reload Cache) перед очередной попыткой генерации решения.
2) У Вас не был обнаружен Git. Он не является обязательным, однако, в случае его отсутствия, на этапе конфигурации необходимо отметить пункт 'WITHOUT_GIT'. И да, это не компиляция. Компиляция - один из этапов преобразования исходного кода в машинный. CMake же отвечает за генерацию файлов решения. Это служебные конфигурационные файлы различных IDE, которые позволяют им корректно распознавать и обрабатывать файлы, логически объединяемые в проекты. |
Сообщение # 3 написано 02.04.2018 в 17:39
|
| |||
| |||