Re: cannot find libfovis when compiling
Posted by
matlabbe on
URL: http://official-rtab-map-forum.206.s1.nabble.com/cannot-find-libfovis-when-compiling-tp4932p5073.html
I retried the docker instructions in the
post above with latest code and loam_velodyne is still found:
$ docker pull ros:kinetic-perception
$ docker run -it ros:kinetic-perception
# cd
# mkdir catkin_ws
# cd catkin_ws
# mkdir src
# cd src
# catkin_init_workspace
# git clone https://github.com/laboshinl/loam_velodyne.git
# cd loam_velodyne
# git fetch origin pull/89/head:matlabbe
# git checkout matlabbe
# cd ../..
# catkin_make -DCMAKE_BUILD_TYPE=Release
# cd
# source catkin_ws/devel/setup.bash
# git clone https://github.com/introlab/rtabmap.git
# cd rtabmap/build
# cmake ..
-- --------------------------------------------
-- Info :
-- Version : 0.17.7
-- CMAKE_INSTALL_PREFIX = /usr/local
-- CMAKE_BUILD_TYPE = Release
-- CMAKE_INSTALL_LIBDIR = lib
-- BUILD_APP = ON
-- BUILD_TOOLS = ON
-- BUILD_EXAMPLES = ON
-- BUILD_SHARED_LIBS = ON
-- CMAKE_CXX_FLAGS = -fmessage-length=0 -fopenmp -std=c++14
-- PCL_DEFINITIONS = -DEIGEN_USE_NEW_STDVECTOR;-DEIGEN_YES_I_KNOW_SPARSE_MODULE_IS_NOT_STABLE_YET;-DFLANN_STATIC;-Dqh_QHpointer
-- Optional dependencies ('*' affects some default parameters) :
-- *With OpenCV 3 xfeatures2d module (SIFT/SURF/BRIEF/FREAK) = YES (License: Non commercial)
-- With external SQLite3 = YES (License: Public Domain)
-- With Freenect = NO (libfreenect not found)
-- With OpenNI2 = NO (OpenNI2 not found)
-- With Freenect2 = NO (libfreenect2 not found)
-- With Kinect for Windows 2 = NO (Kinect for Windows 2 SDK not found)
-- With dc1394 = NO (dc1394 not found)
-- With FlyCapture2/Triclops = NO (Point Grey SDK not found)
-- With TORO = YES (License: Creative Commons [Attribution-NonCommercial-ShareAlike])
-- *With g2o = NO (g2o not found)
-- *With GTSAM = NO (GTSAM not found)
-- With VERTIGO = NO (GTSAM or g2o required)
-- With cvsba = NO (cvsba not found)
-- *With libpointmatcher = NO (libpointmatcher not found)
-- With loam_velodyne = YES (License: BSD)
-- With ZED = NO (ZED sdk not found)
-- With RealSense = NO (librealsense not found)
-- With RealSense2 = NO (librealsense2 not found)
-- With OCTOMAP = NO (octomap not found)
-- With CPUTSDF = NO (CPUTSDF not found)
-- With OpenChisel = NO (open_chisel not found)
-- With libfovis = NO (libfovis not found)
-- With libviso2 = NO (libviso2 not found)
-- With dvo_core = NO (dvo_core not found)
-- With okvis = NO (okvis not found)
-- With msckf_vio = NO (WITH_MSCKF_VIO=OFF)
-- With ORB_SLAM2 = NO (ORB_SLAM2 not found, make sure environment variable ORB_SLAM2_ROOT_DIR is set)
-- With Qt5 = YES (License: Open Source or Commercial)
-- --------------------------------------------
Not sure why cmake cannot find it on your system...