ethz-asl / kitti_to_rosbag

Dataset tools for working with the KITTI dataset raw data ( http://www.cvlibs.net/datasets/kitti/raw_data.php ) and converting it to a ROS bag. Also allows a library for direct access to poses, velodyne scans, and images.
248 stars 100 forks source link

Can not build with catkin_make #15

Open fangkd8 opened 5 years ago

fangkd8 commented 5 years ago

The error is shown as: CMake Error at /home/fangkd/catkin_ws/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:38 (find_package): By not providing "Findgflags_catkin.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "gflags_catkin", but CMake did not find one.

Could not find a package configuration file provided by "gflags_catkin" with any of the following names:

gflags_catkinConfig.cmake
gflags_catkin-config.cmake

Add the installation prefix of "gflags_catkin" to CMAKE_PREFIX_PATH or set "gflags_catkin_DIR" to a directory containing one of the above files. If "gflags_catkin" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): kitti_to_rosbag/CMakeLists.txt:5 (catkin_simple)

CrownsDE commented 5 years ago

The problem is with the dependencies, that are not mentioned in this Repo. You need following repositories in your /src folder:

You can find all of them in the ETHZ repositories.

chongjeelee commented 2 years ago

The problem is with the dependencies, that are not mentioned in this Repo. You need following repositories in your /src folder:

* catkin_boost_python_buildtool

* catkin_simple

* cmake-build-debug

* eigen_catkin

* eigen_checks

* gflags_catkin

* glog_catkin

* minkindr

* minkindr_ros

* numpy_eigen

You can find all of them in the ETHZ repositories.

it does work,thank you!

YibinWu commented 2 years ago

I tried to download all these dependencies in the /src folder, but when I did catkin_make agian, an error occurred (see below). Any solutions? Thanks a lot. CMake Error at /home/yibin/code/data_process/kitti2rosbag_cpp/devel/share/gflags_catkin/cmake/gflags_catkinConfig.cmake:173 (message): Project 'glog_catkin' tried to find library 'gflags'. The library is neither a target nor built/installed properly. Did you compile project 'gflags_catkin'? Did you find_package() it before the subdirectory containing its code is included? Call Stack (most recent call first): /home/yibin/code/data_process/kitti2rosbag_cpp/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:40 (find_package) glog_catkin/CMakeLists.txt:5 (catkin_simple)

YibinWu commented 2 years ago

I tried to download all these dependencies in the /src folder, but when I did catkin_make agian, an error occurred (see below). Any solutions? Thanks a lot. CMake Error at /home/yibin/code/data_process/kitti2rosbag_cpp/devel/share/gflags_catkin/cmake/gflags_catkinConfig.cmake:173 (message): Project 'glog_catkin' tried to find library 'gflags'. The library is neither a target nor built/installed properly. Did you compile project 'gflags_catkin'? Did you find_package() it before the subdirectory containing its code is included? Call Stack (most recent call first): /home/yibin/code/data_process/kitti2rosbag_cpp/devel/share/catkin_simple/cmake/catkin_simple-extras.cmake:40 (find_package) glog_catkin/CMakeLists.txt:5 (catkin_simple)

Solved. Check if you have the glog library installed on your system: sudo apt install libgoogle-glog-dev

mengzengyou commented 1 year ago

I have put all the 9 repositories in the folder:kitti_to_rosbag/src,when catkin_make,I still got the error: CMake Error at CMakeLists.txt:9 (find_package): By not providing "Findcatkin_simple.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "catkin_simple", but CMake did not find one.

Could not find a package configuration file provided by "catkin_simple" with any of the following names:

catkin_simpleConfig.cmake
catkin_simple-config.cmake

Add the installation prefix of "catkin_simple" to CMAKE_PREFIX_PATH or set "catkin_simple_DIR" to a directory containing one of the above files. If "catkin_simple" provides a separate development package or SDK, be sure it has been installed. who can help me,thanks.