Sophus
Sophus copied to clipboard
Add/Link installation instructions in the README
Thanks
+1 I installed the library using general CMake steps
cd Sophus
mkdir build
cd build
cmake ..
make
However in my project CMakeLists.txt I have
#Sophus
FIND_PACKAGE( Sophus REQUIRED )
INCLUDE_DIRECTORIES( ${Sophus_INCLUDE_DIRS} )
#Link with third party libs.
set( THIRD_PARTY_LIBS
${OpenCV_LIBS}
${Sophus_LIBRARIES}
g2o_core g2o_stuff g2o_types_sba
)
But I am getting error in my include
In file included from /home/menonsandu/github/Online_Correction/Online_Correction/src/initializer.cpp:1:
/home/menonsandu/github/Online_Correction/Online_Correction/include/initializer.h:7:10: fatal error: sophus/se3.h: No such file or directory
#include "sophus/se3.hpp"
You can try:
FIND_PACKAGE( Sophus REQUIRED )
#Link with third party libs.
set( THIRD_PARTY_LIBS
${OpenCV_LIBS}
Sophus::Sophus
g2o_core g2o_stuff g2o_types_sba
)
Thank you. That worked!