run command:
sudo cmake -D CMAKE_INSTALL_PREFIX=/opt/caffe -D CMAKE_BUILD_TYPE=Release -D OpenCV_DIR=/usr/share/OpenCV ..
error:
CMake Error at /usr/share/cmake-3.5/Modules/FindBoost.cmake:1677 (message):
Unable to find the requested Boost libraries.
Boost version: 1.68.0
Boost include path: /usr/local/include
Could not find the following Boost libraries:
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.
run command: locate boost_filesystem
result:
/usr/lib/x86_64-linux-gnu/libboost_filesystem.a
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so
/usr/lib/x86_64-linux-gnu/libboost_filesystem.so.1.58.0
How can I fix this problem?