Code: Select all
[jeff@localhost spring]$ cmake .
-- gcc 9.3.1 detected
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes
-- Checking to see if CXX compiler accepts flag -std=gnu++11
-- Checking to see if CXX compiler accepts flag -std=gnu++11 - yes
-- Building Spring on 64bit environment
-- Targetting 64bit
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR regex system) (Required is
at least version "1.69.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindBoost.cmake:2145 (find_package_handle_standard_args)
CMakeLists.txt:254 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/jeff/dev-game/spring/CMakeFiles/CMakeOutput.log".
See also "/home/jeff/dev-game/spring/CMakeFiles/CMakeError.log".
Code: Select all
FIND_PACKAGE(Boost 1.69.0 COMPONENTS regex system REQUIRED)
#FIND_PACKAGE(Boost 1.51.0 COMPONENTS regex system REQUIRED)
INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIR})
Here is the error if I search for version 1.51.0 which is exactly the same problem as above.
Code: Select all
[jeff@localhost spring]$ cmake .
-- gcc 9.3.1 detected
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden
-- Checking to see if CXX compiler accepts flag -fvisibility=hidden - yes
-- Checking to see if CXX compiler accepts flag -std=gnu++11
-- Checking to see if CXX compiler accepts flag -std=gnu++11 - yes
-- Building Spring on 64bit environment
-- Targetting 64bit
CMake Error at /usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:164 (message):
Could NOT find Boost (missing: Boost_INCLUDE_DIR regex system) (Required is
at least version "1.51.0")
Call Stack (most recent call first):
/usr/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:445 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake/Modules/FindBoost.cmake:2145 (find_package_handle_standard_args)
CMakeLists.txt:255 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/home/jeff/dev-game/spring/CMakeFiles/CMakeOutput.log".
See also "/home/jeff/dev-game/spring/CMakeFiles/CMakeError.log".
Code: Select all
Package boost-1.69.0-10.fc31.x86_64 is already installed.