问题遇到的现象和发生背景
需要下载编译eos3D人脸拟合库,但是cmake一直有问题
问题相关代码,请勿粘贴截图
PS C:\EOS\eos_build> cmake -G "Visual Studio 17" -DOpenCV_DIR=C:\opencv -DBOOST_ROOT=C:\boost\boost_1_78_0 -DBOOST_LIBRARYDIR=C:\boost\boost_1_78_0\stage\lib -DCMAKE_INSTALL_PREFIX=C:\EOS\eos_bulid -DEOS_BUILD_EXAMPLES=on -DEOS_BUILD_UTILS=on -DEOS_GENERATE_PYTHON_BINDINGS=on ..\eos-master
CMake Warning at C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
examples/CMakeLists.txt:25 (find_package)
CMake Warning at C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
examples/CMakeLists.txt:25 (find_package)
CMake Warning at C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:1384 (message):
New Boost version may have incorrect or missing dependencies and imported
targets
Call Stack (most recent call first):
C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:1507 (_Boost_COMPONENT_DEPENDENCIES)
C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:2118 (_Boost_MISSING_DEPENDENCIES)
examples/CMakeLists.txt:25 (find_package)
CMake Error at C:/user/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: system filesystem program_options) (found
suitable version "1.80.0", minimum required is "1.50.0")
Call Stack (most recent call first):
C:/user/CMake/share/cmake-3.24/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
C:/user/CMake/share/cmake-3.24/Modules/FindBoost.cmake:2376 (find_package_handle_standard_args)
examples/CMakeLists.txt:25 (find_package)