• Страница 1 из 1
  • 1
Архив - только для чтения
Модератор форума: andycrowz  
Форум » Корзина форума » Корзина » [Решено]Проблема компиляции сервера 2.4.3
[Решено]Проблема компиляции сервера 2.4.3
DDS
Скаут
Сам сервер взят от сюда: https://github.com/trinityclassic/trinityone
Код
Error    1    error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory    C:\Trinity\src\server\shared\Logging\Log.h    26    1    shared
Error    2    error C1083: Cannot open include file: 'boost/asio/buffer.hpp': No such file or directory    C:\Trinity\src\server\shared\Packets\ByteBuffer.h    36    1    game
Error    3    error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory (C:\Trinity\src\server\collision\Management\MMapManager.cpp)    C:\Trinity\src\server\shared\Logging\Log.h    26    1    collision
Error    4    error C1083: Cannot open include file: 'boost/asio/buffer.hpp': No such file or directory (C:\Trinity\src\server\collision\Management\MMapFactory.cpp)    C:\Trinity\src\server\shared\Packets\ByteBuffer.h    36    1    collision
Error    5    error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory (C:\Trinity\src\server\collision\Management\VMapManager2.cpp)    C:\Trinity\src\server\shared\Logging\Log.h    26    1    collision
Error    6    error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory (C:\Trinity\src\server\collision\Maps\MapTree.cpp)    C:\Trinity\src\server\shared\Logging\Log.h    26    1    collision
Error    7    error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory (C:\Trinity\src\server\collision\Models\GameObjectModel.cpp)    C:\Trinity\src\server\shared\Logging\Log.h    26    1    collision
Error    8    error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory (C:\Trinity\src\server\collision\DynamicTree.cpp)    C:\Trinity\src\server\shared\Logging\Log.h    26    1    collision
Error    9    error C1083: Cannot open include file: 'boost/asio/io_service.hpp': No such file or directory    C:\Trinity\src\server\shared\Logging\Log.h    26    1    scripts
Error    10    error C1083: Cannot open include file: 'boost/property_tree/ptree.hpp': No such file or directory    C:\Trinity\src\server\shared\Configuration\Config.h    25    1    authserver
Error    11    error C1083: Cannot open include file: 'boost/asio/buffer.hpp': No such file or directory    C:\Trinity\src\server\shared\Packets\ByteBuffer.h    36    1    worldserver

Путь до Boost указывался в Trinity\CMakeLists.txt вот таким образом set (ENV {BOOST_ROOT} "C :/ boost_1_57_0")
Пример путь до boost/asio/io_service.hpp (1 ошибка) вот такой: c:\boost_1_57_0\boost\asio\io_service.hpp.
Возможно нужно указать дополнительные пути в CMakeLists.txt для Cmake, но я не знаю, какими они должны быть, т.к. это моя первая компиляция по исходникам, и Cmake-ром я никогда не пользовался.

Добавлено (28.03.2015, 19:44)
---------------------------------------------
Оказалось, что я поставил не то, что нужно. Нужно ставить было boost_XXXX_msvc.exe, я же ставил boost_XXXX.zip (windows). Не знаю в чем разница, но все ошибки исчезли.

Добавлено (28.03.2015, 19:48)
---------------------------------------------
Так же предупредили: "You should NOT change any CMAkeLists.txt. All you need to do is add an enviroment variable named BOOST_ROOT with the path to Boost."
Сообщение # 1 отредактировано DDS - Воскресенье, 29.03.2015, 18:12
Форум » Корзина форума » Корзина » [Решено]Проблема компиляции сервера 2.4.3
  • Страница 1 из 1
  • 1
Поиск: