我正在尝试安装并使用DeepLab进行分段项目,但是当尝试使用CMake进行配置时,尽管确定了boost的版本和位置,但无法找到增强库。我已尝试通过手动指定位置但仍遇到相同问题的类似问题提供建议。下面附带错误消息。知道可能导致这个问题的原因是什么? 提前谢谢。
CMake Error at E:/Program Files/CMake/share/cmake-3.10/Modules/FindBoost.cmake:1956 (message):
Unable to find the requested Boost libraries.
Boost version: 1.65.0
Boost include path: C:/local/boost_1_65_0
Could not find the following Boost libraries:
boost_system
boost_thread
boost_filesystem
Some (but not all) of the required Boost libraries were found. You may
need to install these additional Boost libraries. Alternatively, set
BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
to the location of Boost.
Call Stack (most recent call first):
cmake/Dependencies.cmake:5 (find_package)
CMakeLists.txt:50 (include)
Found gflags (include: C:/Program Files/gflags/include, library: optimized;C:/Program Files/gflags/lib;debug;C:/Program Files/gflags/lib)
Found glog (include: C:/Program Files/glog/include, library: optimized;C:/Program Files/glog/lib;debug;C:/Program Files/glog/lib)
CMake Error at E:/Program Files/CMake/share/cmake-3.10/Modules/FindProtobuf.cmake:425 (file):
file STRINGS file
"C:/Users/Benn/.caffe/dependencies/libraries_v140_x64_py27_1.1.0/libraries/include/google/protobuf/google/protobuf/stubs/common.h"
cannot be read.
Call Stack (most recent call first):
cmake/ProtoBuf.cmake:4 (find_package)
cmake/Dependencies.cmake:24 (include)
CMakeLists.txt:50 (include)
CMake Error at E:/Program Files/CMake/share/cmake-3.10/Modules/FindProtobuf.cmake:431 (math):
math cannot parse the expression: " / 1000000": syntax error, unexpected
exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER
(2)
Call Stack (most recent call first):
cmake/ProtoBuf.cmake:4 (find_package)
cmake/Dependencies.cmake:24 (include)
CMakeLists.txt:50 (include)
CMake Error at E:/Program Files/CMake/share/cmake-3.10/Modules/FindProtobuf.cmake:432 (math):
math cannot parse the expression: " / 1000 % 1000": syntax error,
unexpected exp_DIVIDE, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or
exp_NUMBER (2)
Call Stack (most recent call first):
cmake/ProtoBuf.cmake:4 (find_package)
cmake/Dependencies.cmake:24 (include)
CMakeLists.txt:50 (include)
CMake Error at E:/Program Files/CMake/share/cmake-3.10/Modules/FindProtobuf.cmake:433 (math):
math cannot parse the expression: " % 1000": syntax error, unexpected
exp_MOD, expecting exp_PLUS or exp_MINUS or exp_OPENPARENT or exp_NUMBER
(2)
Call Stack (most recent call first):
cmake/ProtoBuf.cmake:4 (find_package)
cmake/Dependencies.cmake:24 (include)
CMakeLists.txt:50 (include)
Found PROTOBUF Compiler: C:/Users/Benn/.caffe/dependencies/libraries_v140_x64_py27_1.1.0/libraries/include/google/protobuf
CMake Error at cmake/ProtoBuf.cmake:19 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
cmake/Dependencies.cmake:24 (include)
CMakeLists.txt:50 (include)
CMake Error at E:/Program Files/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message):
Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS
HDF5_HL_LIBRARIES HL) (found version "")
Call Stack (most recent call first):
E:/Program Files/CMake/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
E:/Program Files/CMake/share/cmake-3.10/Modules/FindHDF5.cmake:905 (find_package_handle_standard_args)
cmake/Dependencies.cmake:27 (find_package)
CMakeLists.txt:50 (include)
Configuring incomplete, errors occurred!