gaoxiang12 / ORBSLAM2_with_pointcloud_map

830 stars 346 forks source link

error with g2o at make around 84% #5

Open qq184861643 opened 7 years ago

qq184861643 commented 7 years ago

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