Catkin build error with teb_local_planner: undefined reference to g2o
I continuously recieve this error and have not found any information that actually works. Anyone have any ideas?
The error is:
Errors << teb_local_planner:make /home/mason/autonomous_mobile_manipulation_ws/logs/teb_local_planner/build.make.001.log
/home/mason/autonomous_mobile_manipulation_ws/devel/.private/teb_local_planner/lib/libteb_local_planner.so: undefined reference to `g2o::csparse_extension::cs_chol_workspace(cs_di_sparse const*, cs_di_symbolic const*, int*, double*)'
/home/mason/autonomous_mobile_manipulation_ws/devel/.private/teb_local_planner/lib/libteb_local_planner.so: undefined reference to `g2o::csparse_extension::cs_cholsolsymb(cs_di_sparse const*, double*, cs_di_symbolic const*, double*, int*)'
/home/mason/autonomous_mobile_manipulation_ws/devel/.private/teb_local_planner/lib/libteb_local_planner.so: undefined reference to `g2o::csparse_extension::writeCs2Octave(char const*, cs_di_sparse const*, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/mason/autonomous_mobile_manipulation_ws/devel/.private/teb_local_planner/lib/teb_local_planner/test_optim_node] Error 1
make[1]: *** [CMakeFiles/test_optim_node.dir/all] Error 2
make: *** [all] Error 2