cmake Failed to process package 'kdl_parser' [solved]
In Gentoo, noetic.
Building ros like previously done I have this error when launching "./src/catkin/bin/catkin_make_isolated --install"
==> Processing catkin package: 'kdl_parser' ==> Building with env: '/home/david/ROS_ws/install_isolated/env.sh' Makefile exists, skipping explicit cmake invocation... ==> make cmake_check_build_system in '/home/david/ROS_ws/build_isolated/kdl_parser' -- Using CATKIN_DEVEL_PREFIX: /home/david/ROS_ws/devel_isolated/kdl_parser -- Using CMAKE_PREFIX_PATH: /home/david/ROS_ws/install_isolated -- This workspace overlays: /home/david/ROS_ws/install_isolated -- Using PYTHON_EXECUTABLE: /usr/bin/python3 -- Using default Python package layout -- Using empy: /usr/lib/python3.8/site-packages/em.py -- Using CATKIN_ENABLE_TESTING: ON -- Call enable_testing() -- Using CATKIN_TEST_RESULTS_DIR: /home/david/ROS_ws/build_isolated/kdl_parser/test_results -- Found gtest: gtests will be built -- Using Python nosetests: /usr/bin/nosetests -- catkin 0.8.10 -- BUILD_SHARED_LIBS is on CMake Error at /home/david/ROS_ws/install_isolated/share/urdf/cmake/urdfConfig.cmake:173 (message): Project 'kdl_parser' tried to find library
'$<$<not:$<config:debug>>:/usr/lib64/liburdfdom_sensor.so>'. The library is neither a target nor built/installed properly. Did you compile project 'urdf'? Did you find_package() it before the subdirectory containing its code is included? Call Stack (most recent call first): CMakeLists.txt:34 (find_package) -- Configuring incomplete, errors occurred! See also "/home/david/ROS_ws/build_isolated/kdl_parser/CMakeFiles/CMakeOutput.log". See also "/home/david/ROS_ws/build_isolated/kdl_parser/CMakeFiles/CMakeError.log". make: * [Makefile:782: cmake_check_build_system] Error 1 <== Failed to process package 'kdl_parser': Command '['/home/david/ROS_ws/install_isolated/env.sh', 'make', 'cmake_check_build_system']' returned non-zero exit status 2.
But "urdf" was just the previously processed package:
<== Finished processing package [185 of 203]: 'urdf'
Anybody with the same problem?
Sorry, I do not know how to properly format the output of "cmake".
Hi @obiwan, you could install from
apt
, I believe it should be ok in Gentoo.From the repository I have exactly the same error:
There is a bug in Gentoo bugzilla:
https://bugs.gentoo.org/829292
Let's see.
Thanks @osilva
Hopefully you get it working. If so pls update with an answer.
Now the problem is in "rviz". In the linking with "YAML". Do not find any related bug. Let's see.
Problem in "rviz" solved editing the CMakeList.txt with proper value for libyaml-cpp