error with catkin_make
rookierobot opened this issue · 1 comments
when I run with 'catkin_make -DSUPERBUILD_INSTALL_DIR=/home/river/ct_icp/install'
I meet this error:
-- ==> add_subdirectory(slam_roscore)
INFO [Superbuild] -- Successfully found target glog::glog
INFO [Superbuild] -- Variable EIGEN_DIR not found, setting it to directory /home/river/ct_icp/install/Eigen3/share/eigen3/cmake
INFO [Superbuild] -- Successfully Found Target Eigen3::Eigen
-- Found installed version of Eigen: /usr/local/share/eigen3/cmake
-- Found required Ceres dependency: Eigen version 3.3.9 in /usr/local/include/eigen3
-- Found required Ceres dependency: glog
-- Found installed version of gflags: /usr/lib/x86_64-linux-gnu/cmake/gflags
-- Detected gflags version: 2.2.1
-- Found required Ceres dependency: gflags
-- Found Ceres version: 1.13.0 installed in: /usr/local with components: [LAPACK, SuiteSparse, SparseLinearAlgebraLibrary, CXSparse, SchurSpecializations, OpenMP]
CMake Error at /home/river/ct_icp/install/superbuild_import.cmake:37 (message):
[Superbuild] -- Could not find target Ceres::ceres
Call Stack (most recent call first):
/home/river/ct_icp/install/superbuild_import.cmake:82 (SLAM_DEFAULT_FIND_PACKAGE)
/home/river/ct_icp/install/CT_ICP/lib/cmake/cmake/superbuild_utils.cmake:27 (include)
slam_roscore/CMakeLists.txt:20 (SLAM_INCLUDE_SUPERBUILD)
-- Configuring incomplete, errors occurred!
See also "/home/river/catkin_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/river/catkin_ws/build/CMakeFiles/CMakeError.log".
Makefile:1724: recipe for target 'cmake_check_build_system' failed
make: *** [cmake_check_build_system] Error 1
Invoking "make cmake_check_build_system" failed
Thanks for your helping!