rubengooj / pl-slam

This code contains an algorithm to compute stereo visual SLAM by using both point and line segment features.
GNU General Public License v3.0
734 stars 242 forks source link

build error in yaml-cpp #37

Open suphill opened 5 years ago

suphill commented 5 years ago

$ sh build.sh Building 3rdparty/line_descriptor ... mkdir: cannot create directory ‘build’: File exists -- Configuring done -- Generating done -- Build files have been written to: /home/wangwq/pl-slam-master/3rdparty/line_descriptor/build [100%] Built target linedesc Building 3rdparty/DBoW2 ... mkdir: cannot create directory ‘build’: File exists -- Build type: Release -- Configuring done -- Generating done -- Build files have been written to: /home/wangwq/pl-slam-master/3rdparty/DBoW2/build [100%] Built target DBoW2 Uncompressing vocabulary ... Building PL-SLAM ... mkdir: cannot create directory ‘build’: File exists -- Boost version: 1.54.0 -- Found the following Boost libraries: -- regex -- thread -- system -- filesystem CMake Error at CMakeLists.txt:43 (FIND_PACKAGE): Could not find a package configuration file provided by "yaml-cpp" with any of the following names:

yaml-cppConfig.cmake
yaml-cpp-config.cmake

Add the installation prefix of "yaml-cpp" to CMAKE_PREFIX_PATH or set "yaml-cpp_DIR" to a directory containing one of the above files. If "yaml-cpp" provides a separate development package or SDK, be sure it has been installed.

-- Configuring incomplete, errors occurred! See also "/home/wangwq/pl-slam-master/build/CMakeFiles/CMakeOutput.log". make: *** No targets specified and no makefile found. Stop.

CMake Error at CMakeLists.txt:43 (FIND_PACKAGE): Could not find a package configuration file provided by "yaml-cpp" with any of the following names:

yaml-cppConfig.cmake
yaml-cpp-config.cmake

how to do?

suphill commented 5 years ago

my os is ubuntu 14.04LTS