You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After compilation there are no cmake files in ./devel/lib/cmake/glog and it is impossible to do find_package(glog 0.3.5 REQUIRED) in packages depending on glog in the same workspace as described here.
I could not find the difference to gflags_catkin, where everything works as expected.
I'm on ubuntu 18.04 lts xenial and ROS kinetic, using catkin build to build gflags_catkin and glog_catkin.
Minimal example to reproduce:
mkdir -p ~/testws/src
cd ~/testws
catkin init
wstool init src
wstool set -t src catkin_simple --git https://github.com/catkin/catkin_simple.git
wstool set -t src gflags_catkin --git https://github.com/ethz-asl/gflags_catkin.git
wstool set -t src glog_catkin --git https://github.com/ethz-asl/glog_catkin.git
wstool update -t src
catkin build
ls -R devel/lib/cmake/
This seems to be intended behaviour when not building with cmake but with autotools, according to google/glog#398 (comment)
I'll try to migrate to using CMake for the build to get cmake files.
I fixed this in tu-darmstadt-ros-pkg@82760fa by using CMake to build, but now static libraries are not built and the documentation is not installed.
I did not find an easy way to add them to the cmake output and as for us only the dynamic library and the cmake files are important I cannot investigate further.
After compilation there are no cmake files in
./devel/lib/cmake/glog
and it is impossible to dofind_package(glog 0.3.5 REQUIRED)
in packages depending on glog in the same workspace as described here.I could not find the difference to gflags_catkin, where everything works as expected.
I'm on ubuntu 18.04 lts xenial and ROS kinetic, using catkin build to build gflags_catkin and glog_catkin.
Minimal example to reproduce:
produces:
I would expect to also see a glog subfolder containing .cmake files for glog.
The text was updated successfully, but these errors were encountered: