I meet "undefined reference"problem when
cd build
cmake ..
make
at around 84%.
The problem has been solved.
just add
include_directories(
"/home/finale/ORBSLAM2_with_pointcloud_map-master/g2o_with_orbslam2/"
"/home/finale/ORBSLAM2_with_pointcloud_map-master/g2o_with_orbslam2/build"
)
link_directories("/home/finale/ORBSLAM2_with_pointcloud_map-master/g2o_with_orbslam2/lib")
in your CMakeList
I meet "undefined reference"problem when cd build cmake .. make at around 84%. The problem has been solved. just add include_directories( "/home/finale/ORBSLAM2_with_pointcloud_map-master/g2o_with_orbslam2/" "/home/finale/ORBSLAM2_with_pointcloud_map-master/g2o_with_orbslam2/build" ) link_directories("/home/finale/ORBSLAM2_with_pointcloud_map-master/g2o_with_orbslam2/lib") in your CMakeList