jhu-lcsr / handeye_calib_camodocal

Easy to use and accurate hand eye calibration which has been working reliably for years (2016-present) with kinect, kinectv2, rgbd cameras, optical trackers, and several robots including the ur5 and kuka iiwa.
BSD 2-Clause "Simplified" License
543 stars 178 forks source link

cankin_make error #5

Closed james2254 closed 7 years ago

james2254 commented 7 years ago

When I run "cankin_make", there is an error that could not find glog, but I can find libglog.so.0.0.0 in /usr/lib, I have installed the package of glog-0.3.4. `CMake Error at handeye_calib_camodocal-master/CMakeLists.txt:30 (find_package): By not providing "FindGlog.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Glog", but CMake did not find one.

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

GlogConfig.cmake
glog-config.cmake

Add the installation prefix of "Glog" to CMAKE_PREFIX_PATH or set "Glog_DIR" to a directory containing one of the above files. If "Glog" provides a separate development package or SDK, be sure it has been installed. `

sundw2014 commented 7 years ago

Ubuntu 14.04 I encountered the same problem. Building glog from source using cmake solved this problem.

ahundt commented 7 years ago

Yes, you need to install a more recent version of glog, either the cmake config file didn't exist when the package was made or the ubuntu package maintainers forgot to include it, which I've also seen happen on a number of occasions.

ahundt commented 7 years ago

feel free to comment if there is still a problem

StanleyYake commented 6 years ago

I was on Ubuntu 14.04 and ROS indigo.Even when I install gflags and glog from source, and still can't catkin_make successful.Looking at glog github, they build with ./autogen.sh && ./configure && make && make install routine, they use new way to let cmake search glog so catkin_make fail. so I use Cmake 3.x GUI to generate make file and thenmake; make install which will install cmake config file(I recommand this way to install) and then catkin_make told me the default cmake version is low.After upgrade Cmake and softlink sudo ln -s /usr/local/lib/libgflags.so /usr/lib/x86_64-linux-gnu/ and sudo ln -s /usr/local/lib/libglog.so /usr/lib/x86_64-linux-gnu/ and all things catkin_make successfully.

ahundt commented 6 years ago

tray catkin build rather than catkin make

hongtaowu67 commented 3 years ago

I use the cmake way to make the downloaded source file of glog and catkin_make successfully.