Unable to build nav2d_karto
When trying to build nav2d_karto using catkin_make, I get the following error:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files: CSPARSE_INCLUDE_DIR used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto used as include directory in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto CSPARSE_LIBRARY linked by target "mapper" in directory /home/matt/catkin_ws/src/navigation_2d/nav2d_karto
-- Configuring incomplete, errors occurred! See also "/home/matt/catkin_ws/build/CMakeFiles/CMakeOutput.log". See also "/home/matt/catkin_ws/build/CMakeFiles/CMakeError.log". Makefile:9292: recipe for target 'cmake_check_build_system' failed make: * [cmake_check_build_system] Error 1 Invoking "make cmake_check_build_system" failed
I can't seem to fix it. Does anyone know how to resolve this problem?
Thanks.