edubart / otclient

An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize
Other
652 stars 399 forks source link

CMake Error at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:1841 #1213

Closed rybong closed 11 months ago

rybong commented 11 months ago

Helloo. Totally newbie here, who want to play an ot on hist macbookpro M2. Just after clonning a otclient and running those commands got an errors like this:

build % cmake \ -DUSE_STATIC_LIBS=OFF \ -DLUA_LIBRARY=/opt/homebrew/Cellar/lua@5.1/5.1.5_8/lib/liblua.5.1.5.dylib \ -DLUA_INCLUDE_DIR=/opt/homebrew/Cellar/lua@5.1/5.1.5_8/include/lua5.1/ \ -DBoost_INCLUDE_DIR=/opt/homebrew/Cellar/boost@1.59/1.59.0/include/ \ -DOPENSSL_INCLUDE_DIR=/opt/homebrew/Cellar/openssl@1.1/1.1.1p/include/ \ -DGMP_INCLUDE_DIR=/opt/homebrew/Cellar/gmp/6.2.1_1/include/ \ -DGMP_LIBRARY=/opt/homebrew/Cellar/gmp/6.2.1_1/lib/libgmp.dylib \ ../ CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake.

Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions.

-- Link to static libraries: OFF -- Build type: RelWithDebInfo -- Build commit: devel -- Build revision: 0 CMake Error at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:1841 (file): file STRINGS file "/opt/homebrew/Cellar/boost@1.59/1.59.0/include//boost/version.hpp" cannot be read. Call Stack (most recent call first): src/framework/CMakeLists.txt:202 (find_package) CMakeLists.txt:12 (include)

CMake Warning at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:1015 (message): Imported targets and dependency information not available for Boost version 0.0.0 (all versions older than 1.33) Call Stack (most recent call first): /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_COMPONENT_DEPENDENCIES) /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:2134 (_Boost_MISSING_DEPENDENCIES) src/framework/CMakeLists.txt:202 (find_package) CMakeLists.txt:12 (include)

CMake Warning at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:1015 (message): Imported targets and dependency information not available for Boost version 0.0.0 (all versions older than 1.33) Call Stack (most recent call first): /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:1523 (_Boost_COMPONENT_DEPENDENCIES) /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:2134 (_Boost_MISSING_DEPENDENCIES) src/framework/CMakeLists.txt:202 (find_package) CMakeLists.txt:12 (include)

CMake Error at /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Boost: Found unsuitable version "0.0.0", but required is at least "1.48.0" (found /opt/homebrew/Cellar/boost@1.59/1.59.0/include/, ) Call Stack (most recent call first): /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:598 (_FPHSA_FAILURE_MESSAGE) /opt/homebrew/Cellar/cmake/3.28.1/share/cmake/Modules/FindBoost.cmake:2392 (find_package_handle_standard_args) src/framework/CMakeLists.txt:202 (find_package) CMakeLists.txt:12 (include)

-- Configuring incomplete, errors occurred!