Пытаюсь скачать исходники лича. Git качает Дренор, как бы я не старался. Если нажимать "Download ZIP" — ошибка CMake. Как заставить Git качать 3.3.5 вместо 6.x?
The C compiler identification is MSVC 16.0.30319.1 The CXX compiler identification is MSVC 16.0.30319.1 Check for working C compiler using: Visual Studio 10 2010 Check for working C compiler using: Visual Studio 10 2010 -- broken CMake Error at C:/Program Files/CMake/share/cmake-3.2/Modules/CMakeTestCCompiler.cmake:61 (message): The C compiler "C:/Program Files/Microsoft Visual Studio 10.0/VC/bin/cl.exe" is not able to compile a simple test program.
CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:12 (project)
Configuring incomplete, errors occurred! See also "C:/TrinityCore-3.3.5a/build/CMakeFiles/CMakeOutput.log". See also "C:/TrinityCore-3.3.5a/build/CMakeFiles/CMakeError.log".
Сообщение # 5 отредактировано stas730 - Понедельник, 25.05.2015, 20:44
The C compiler identification is MSVC 18.0.31101.0 The CXX compiler identification is MSVC 18.0.31101.0 Check for working C compiler using: Visual Studio 12 2013 Check for working C compiler using: Visual Studio 12 2013 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 12 2013 Check for working CXX compiler using: Visual Studio 12 2013 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done 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;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MDd.lib Found OpenSSL headers: C:/Program Files/OpenSSL-Win32/include Looking for include file pthread.h Looking for include file pthread.h - not found Found Threads: TRUE CMake Error at cmake/macros/ConfigureBoost.cmake:17 (message): No BOOST_ROOT environment variable could be found! Please make sure it is set and the points to your Boost installation. Call Stack (most recent call first): CMakeLists.txt:62 (include)
Configuring incomplete, errors occurred! See also "C:/Build/CMakeFiles/CMakeOutput.log". See also "C:/Build/CMakeFiles/CMakeError.log".
The C compiler identification is MSVC 18.0.31101.0 The CXX compiler identification is MSVC 18.0.31101.0 Check for working C compiler using: Visual Studio 12 2013 Check for working C compiler using: Visual Studio 12 2013 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 12 2013 Check for working CXX compiler using: Visual Studio 12 2013 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done 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;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MDd.lib Found OpenSSL headers: C:/Program Files/OpenSSL-Win32/include Looking for include file pthread.h Looking for include file pthread.h - not found Found Threads: TRUE CMake Error at cmake/macros/FindBoost.cmake:1184 (message): Unable to find the requested Boost libraries.
Boost version: 1.58.0
Boost include path: C:/local/boost_1_58_0
Could not find the following static Boost libraries:
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. Call Stack (most recent call first): cmake/macros/ConfigureBoost.cmake:28 (find_package) CMakeLists.txt:62 (include)
Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Failed 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/Git/cmd/git.exe
* Build world/auth : Yes (default) * Build with scripts : Yes (default) * Build map/vmap tools : No (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 : No (default) * Use GIT revision hash : Yes
Performing Test FMT_INITIALIZER_LIST Performing Test FMT_INITIALIZER_LIST - Success Looking for open Looking for open - found SCRIPT PREPARATIONS -> Prepared: Spells -> Prepared: Commands -> Prepared: Custom -> Prepared: World -> Prepared: Outdoor PVP Zones -> Prepared: Eastern Kingdoms -> Prepared: Kalimdor -> Prepared: Outland -> Prepared: Northrend -> Prepared: Events -> Prepared: Pet SCRIPT PREPARATION COMPLETE
Configuring incomplete, errors occurred! See also "C:/Build/CMakeFiles/CMakeOutput.log". See also "C:/Build/CMakeFiles/CMakeError.log".
Добавлено (29.05.2015, 17:31) --------------------------------------------- Какой дурак такой Boost делал? Я ставлю BOOST_INCLUDEDIR: C:\local\boost_1_58_0\boost, а оно не меняет.
Добавлено (29.05.2015, 22:21) --------------------------------------------- Не скомпилировалось. Лог или не влез в буфер обмена, или я его не скопировал. === 19 ОК, 2 c ошибкой, 0 не скомпилировано, 1 пропущено ===
Сообщение # 14 отредактировано stas730 - Пятница, 29.05.2015, 19:51
Логи уже в дороге. Прибудут завтра (в случае неудачной компиляции).
Добавлено (30.05.2015, 10:31) --------------------------------------------- Лог 1-й конфигурации:
The C compiler identification is MSVC 18.0.31101.0 The CXX compiler identification is MSVC 18.0.31101.0 Check for working C compiler using: Visual Studio 12 2013 Check for working C compiler using: Visual Studio 12 2013 -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Check for working CXX compiler using: Visual Studio 12 2013 Check for working CXX compiler using: Visual Studio 12 2013 -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done 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;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MDd.lib Found OpenSSL headers: C:/Program Files/OpenSSL-Win32/include Looking for include file pthread.h Looking for include file pthread.h - not found Found Threads: TRUE Boost version: 1.58.0 Found the following Boost libraries: system filesystem thread program_options iostreams Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success 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/Git/cmd/git.exe
* Build world/auth : Yes (default) * Build with scripts : Yes (default) * Build map/vmap tools : No (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 : No (default) * Use GIT revision hash : Yes
Performing Test FMT_INITIALIZER_LIST Performing Test FMT_INITIALIZER_LIST - Success Looking for open Looking for open - found SCRIPT PREPARATIONS -> Prepared: Spells -> Prepared: Commands -> Prepared: Custom -> Prepared: World -> Prepared: Outdoor PVP Zones -> Prepared: Eastern Kingdoms -> Prepared: Kalimdor -> Prepared: Outland -> Prepared: Northrend -> Prepared: Events -> Prepared: Pet SCRIPT PREPARATION COMPLETE
Configuring done
Лог 2-й конфигурации:
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;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MD.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MD.lib;debug;C:/Program Files/OpenSSL-Win32/lib/VC/ssleay32MDd.lib;C:/Program Files/OpenSSL-Win32/lib/VC/libeay32MDd.lib Found OpenSSL headers: C:/Program Files/OpenSSL-Win32/include Boost version: 1.58.0 Found the following Boost libraries: system filesystem thread program_options iostreams Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM Performing Test boost_filesystem_copy_links_without_NO_SCOPED_ENUM - Success 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/Git/cmd/git.exe
11>C:\Trinity\src\server\game\Achievements\AchievementMgr.cpp(111): error C2143: синтаксическая ошибка: отсутствие ";" перед "==" 11>C:\Trinity\src\server\game\Achievements\AchievementMgr.cpp(111): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Achievements\AchievementMgr.cpp(112): error C2143: синтаксическая ошибка: отсутствие ";" перед "{" 11>C:\Trinity\src\server\game\Achievements\AchievementMgr.cpp(269): error C2143: синтаксическая ошибка: отсутствие ";" перед "==" 11>C:\Trinity\src\server\game\Achievements\AchievementMgr.cpp(269): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Achievements\AchievementMgr.cpp(270): error C2143: синтаксическая ошибка: отсутствие ";" перед "{" 11>C:\Trinity\src\server\game\Conditions\ConditionMgr.cpp(1802): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Conditions\ConditionMgr.cpp(1804): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(314): error C2143: синтаксическая ошибка: отсутствие ";" перед "!=" 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(314): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(315): error C2143: синтаксическая ошибка: отсутствие ";" перед "{" 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(315): error C2065: entry: необъявленный идентификатор 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(315): error C2227: выражение слева от "->GenType" должно указывать на тип класса, структуры или объединения либо на универсальный тип 11> тип: unknown-type 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(315): error C2227: выражение слева от "->Gender" должно указывать на тип класса, структуры или объединения либо на универсальный тип 11> тип: unknown-type 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(315): error C2227: выражение слева от "->Race" должно указывать на тип класса, структуры или объединения либо на универсальный тип 11> тип: unknown-type 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(315): error C2143: синтаксическая ошибка: отсутствие ";" перед "}" 11>C:\Trinity\src\server\game\DataStores\DBCStores.cpp(315): error C2143: синтаксическая ошибка: отсутствие ";" перед ")" 11>C:\Trinity\src\server\game\Globals\ObjectMgr.cpp(2592): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Globals\ObjectMgr.cpp(3453): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Globals\ObjectMgr.cpp(3519): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Globals\ObjectMgr.cpp(4130): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Globals\ObjectMgr.cpp(8108): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Handlers\CharacterHandler.cpp(1944): error C2059: синтаксическая ошибка: | 11>C:\Trinity\src\server\game\Handlers\CharacterHandler.cpp(1944): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Spells\SpellMgr.cpp(2693): error C2143: синтаксическая ошибка: отсутствие ";" перед "==" 11>C:\Trinity\src\server\game\Spells\SpellMgr.cpp(2693): error C2059: синтаксическая ошибка: ) 11>C:\Trinity\src\server\game\Spells\SpellMgr.cpp(2694): error C2143: синтаксическая ошибка: отсутствие ";" перед "{"
stas730, там некоторые пакеты играют вспомогательную функцию, им можно конечно понаставлять галочки для компиляции, но толку от этого нет. Все прекрасно работает и в конфигурации по умолчанию. Кстати, по поводу сборки - травис. Как видно, все прекрасно собралось, с предупреждениями, но без ошибок. Так что ищите проблему в своем коде.