uzh-rpg / rpg_svo

Semi-direct Visual Odometry
GNU General Public License v3.0
2.11k stars 862 forks source link

How to fix Sophus? #220

Open moonsummer opened 6 years ago

moonsummer commented 6 years ago

farsight@linux:~/find/rpg_svo/svo$ cmake . -- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") -- Checking for module 'eigen3' -- Found eigen3, version 3.2.92 -- Found Eigen: /usr/include/eigen3
-- Eigen found (include: /usr/include/eigen3) CMake Error at CMakeLists.txt:50 (FIND_PACKAGE): By not providing "FindSophus.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Sophus", but CMake did not find one.

Could not find a package configuration file provided by "Sophus" with any of the following names:

SophusConfig.cmake
sophus-config.cmake

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

-- Configuring incomplete, errors occurred! See also "/home/farsight/find/rpg_svo/svo/CMakeFiles/CMakeOutput.log".

clydemcqueen commented 6 years ago

sudo apt-get install ros-kinetic-sophus

Coderx7 commented 3 years ago

installing it through apt-get didnt fix my issue, I had to build it from source as stated here