Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can not build with catkin_make #15

Open
fangkd8 opened this issue May 21, 2019 · 5 comments
Open

Can not build with catkin_make #15

fangkd8 opened this issue May 21, 2019 · 5 comments

Comments

@fangkd8
Copy link

fangkd8 commented May 21, 2019

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
Copy link

CrownsDE commented Jul 5, 2019

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.

@chongjeelee
Copy link

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
Copy link

YibinWu commented Aug 3, 2022

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
Copy link

YibinWu commented Aug 3, 2022

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
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants