thien94 / orb_slam3_ros_wrapper

A ROS wrapper for ORB-SLAM3. Focus on portability and flexibility.
176 stars 79 forks source link

Build Error #14

Closed Mothish97 closed 2 years ago

Mothish97 commented 2 years ago

I am getting "fatal error: sophus/se3.hpp: No such file or directory" when I try to build the package. I am using Noetic with Ubuntu 20. Please provide your insights regarding the issue

error

Mothish97 commented 2 years ago

sudo apt-get install ros-noetic-sophus

dazory commented 10 months ago

Alternatively, add ${ORB_SLAM3_DIR}/Thirdparty/Sophus into include_directories like this:

include_directories(
   ${ORB_SLAM3_DIR}
   ${ORB_SLAM3_DIR}/include
   ${ORB_SLAM3_DIR}/include/CameraModels
   ${ORB_SLAM3_DIR}/Thirdparty/Sophus # <--
   ${PROJECT_SOURCE_DIR}/include
   ${EIGEN3_INCLUDE_DIR}
   ${catkin_INCLUDE_DIRS}
   ${Pangolin_INCLUDE_DIRS}
)