ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I have the same problem building it from gentoo. Well, atcually I do have the .cmake file in the indicated folder but still cmake doesn't find it. Did you manage do solve it?
2 | No.2 Revision |
I have the same problem building it from gentoo. Well, atcually I do have the .cmake file in the indicated folder but still cmake doesn't find it. Did you manage do solve it?
Also with genpy.
3 | No.3 Revision |
I have the same problem building it from gentoo. Well, atcually I do have the .cmake file in the indicated folder but still cmake doesn't find it. Did you manage do solve it?
Also with genpy.
Edit:
$ ls /usr/local/share/genmsg/cmake/ -l total 44
-rw-r--r-- 1 root root 6126 Jun 20 17:42 genmsgConfig.cmake
-rw-r--r-- 1 root root 427 Jun 20 17:42 genmsgConfig-version.cmake
-rw-r--r-- 1 root root 10757 Jun 20 17:46 genmsg-extras.cmake
-rw-r--r-- 1 root root 4219 Jun 19 19:53 pkg-genmsg.cmake.em
-rw-r--r-- 1 root root 364 Jun 19 19:53 pkg-genmsg.context.in
-rw-r--r-- 1 root root 104 Jun 19 19:53 pkg-msg-extras.cmake.in
-rw-r--r-- 1 root root 118 Jun 19 19:53 pkg-msg-paths.cmake.in
We can see that the file is there, or at least a file with the indicated name.
cmake -DCMAKE_PREFIX_PATH=/usr/local/share/genmsg/cmake/ ..
-- Using CATKIN_DEVEL_PREFIX: /home/fox/Downloads/gencpp/build/devel
-- Using CMAKE_PREFIX_PATH: /usr/local/share/genmsg/cmake/
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /home/fox/Downloads/gencpp/build/test_results
-- catkin 0.5.67
CMake Error at /usr/local/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
Could not find a package configuration file provided by "genmsg" with any
of the following names:
genmsgConfig.cmake
genmsg-config.cmake
Add the installation prefix of "genmsg" to CMAKE_PREFIX_PATH or set
"genmsg_DIR" to a directory containing one of the above files. If "genmsg"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
But still it does not work. I tried too with the path to genmsg:
$ cmake -DCMAKE_PREFIX_PATH=/usr/local/share/genmsg/ ..
-- Using CATKIN_DEVEL_PREFIX: /home/fox/Downloads/gencpp/build/devel
-- Using CMAKE_PREFIX_PATH: /usr/local/share/genmsg/
-- Found gtest: gtests will be built
-- Using CATKIN_TEST_RESULTS_DIR: /home/fox/Downloads/gencpp/build/test_results
-- catkin 0.5.67
CMake Error at /usr/local/share/catkin/cmake/catkinConfig.cmake:72 (find_package):
Could not find a package configuration file provided by "genmsg" with any
of the following names:
genmsgConfig.cmake
genmsg-config.cmake
Add the installation prefix of "genmsg" to CMAKE_PREFIX_PATH or set
"genmsg_DIR" to a directory containing one of the above files. If "genmsg"
provides a separate development package or SDK, be sure it has been
installed.
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)
-- Configuring incomplete, errors occurred!
But I managed to compile the system without this. Now some packages are crashing while running rosmake -a
.
[ rosmake ] All 21 linesobot_pose_ekf: 0.5 sec ]... [ 4 Active 35/109 Complete ]
{-------------------------------------------------------------------------------
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=/opt/ros/groovy/share/ros/core/rosbuild/rostoolchain.cmake ..
[rosbuild] Building package robot_pose_ekf
Failed to invoke /opt/ros/groovy/bin/rospack deps-manifests robot_pose_ekf
[rospack] Error: package/stack 'robot_pose_ekf' depends on non-existent package 'bfl' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'
CMake Error at /opt/ros/groovy/share/ros/core/rosbuild/public.cmake:129 (message):
Failed to invoke rospack to get compile flags for package 'robot_pose_ekf'.
Look above for errors from rospack itself. Aborting. Please fix the
broken dependency!
Call Stack (most recent call first):
/opt/ros/groovy/share/ros/core/rosbuild/public.cmake:203 (rosbuild_invoke_rospack)
CMakeLists.txt:4 (rosbuild_init)
-- Configuring incomplete, errors occurred!