Reporting Errors

If you encounter a problem that isn't addressed on this page or the KDL homepage, please file a bug

The current list of open issues is available on bugzilla

Common Problems When Using Package

Infinite build when building kdl

Error:

CMake Error at src/cmake_install.cmake:120 (FILE):
file INSTALL cannot find
 "/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build/src/orocos-kdl.pc".
Call Stack (most recent call first):
cmake_install.cmake:38 (INCLUDE)

Trying to do a simple workaround and just commenting out line 120 of src/cmake_install.cmake, and recompiling (or even just re-running make
after the first failure) I get the following repeated compile:

[ 96%] Generating PyKDL.so
gmake[64]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
gmake[65]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
gmake[66]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
gmake[66]: Leaving directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Built target orocos-kdl
gmake[66]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
gmake[66]: Leaving directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
gmake[66]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
[ 96%] Generating PyKDL.so
gmake[67]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build/src/bindings/python'
gmake[68]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
gmake[69]: Entering directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'
gmake[69]: Leaving directory
`/home/dfseifer/ros/pkgs/geometry/kdl/kdl-svn-trunk/build'

Cause:

The version of kdl in the boxturtle release is not compatible with Cmake-2.8.

Solution:

The destination of the configure_file call seems to be different in cmake 2.8. To fix it, change the following line in src/CMakeLists.txt CONFIGURE_FILE( kdl.pc.in src/orocos-kdl.pc @ONLY) into CONFIGURE_FILE( kdl.pc.in orocos-kdl.pc @ONLY) and everything should be fine.

Wiki: kdl/Troubleshooting (last edited 2012-11-26 10:37:54 by PeterSoetens)