0
我想这里描述建立来自Caffe窗户寻找提升: https://github.com/willyd/caffe-windows-dependencies问题的cmake
要做到这一点,我需要下载升压(我有,版本1.60.0),我解压到C :\升压\ boost_1_60_0 在我的环境变量,我已设置:
BOOST_INCLUDEDIR:C:\升压\ boost_1_60_0 \升压
BOOST_LIBRARYDIR:C:\升压\ boost_1_60_0 \库
BOOST_RO OT:C:\升压\ boost_1_60_0
我尝试运行CMake的GUI,其中包括:
来源:C:/库/朱古力/朱古力窗口依赖性
体形:C:\库\朱古力\集结朱古力窗口依赖性
然而,它失败,出现错误:
CMake Error at C:/Program Files (x86)/CMake/share/cmake-3.3/Modules/FindBoost.cmake:1245 (message):
Unable to find the requested Boost libraries.
Boost version: 1.60.0
Boost include path: C:/Boost/boost_1_60_0
Could not find the following Boost libraries:
boost_system
boost_thread
boost_filesystem
boost_date_time
No Boost libraries were found. You may need to set BOOST_LIBRARYDIR to the
directory containing Boost libraries or BOOST_ROOT to the location of
Boost.
Call Stack (most recent call first):
CMakeLists.txt:11 (find_package)
CMake Error at CMakeLists.txt:107 (set):
Syntax error in cmake code at
C:/libs/caffe/caffe-windows-dependencies/CMakeLists.txt:107
when parsing string
${CMAKE_INSTALL_
syntax error, unexpected $end, expecting } (16)
任何人有我要去哪里错了什么想法?
请输入'cmake -DBoost_DEBUG = ON'。 –
Tsyvarev
除非你做了一些不寻常的事情,库dir不正确。您需要构建这些库,然后指定包含它们的目录。 – llonesmiz