Problem install KDL.

Dear people,

I try to install KDL, I just create build and execute "ccmake .." from downloaded source code.

parameters selecte by default has been:

 BUILD_MODELS                     ON                                                                                                                              
 CMAKE_BACKWARDS_COMPATIBILITY    2.4                                                                                                                             
 CMAKE_BUILD_TYPE                 Release                                                                                                                         
 CMAKE_INSTALL_PREFIX             /usr/local                                                                                                                      
 EIGEN2_INCLUDE_DIR               /media/DATA/orocos-toolchain/eigen-eigen-3.0.2                                                                                  
 ENABLE_TESTS                     OFF                                                                                                                             
 EXECUTABLE_OUTPUT_PATH                                                                                                                                           
 KDL_VERSION                      1.0.2                                                                                                                           
 LIBRARY_OUTPUT_PATH                                                                                                                                              
 OROCOS_CORBA_TARGET              corba-gnulinux                                                                                                                  
 OROCOS_INSTALL                   /media/DATA/orocos-toolchain                                                                                                                         
 OROCOS_PLUGIN                    ON                                                                                                                              
 OROCOS_TARGET                    gnulinux                                                                                                                        
 PYTHON_BINDINGS                  OFF         
And when I try to [c]onfigure appear: Orocos KDL version (1.0.2)

 Build type set to 'Release' by user.

 Searching RTT in ./../..:

 -- Looking for orocos-rtt >= 1.1.0 -- not found

 -- Looking for orocos-rtt >= 1.0.0 -- not found

 CMake Error at config/FindOrocosRTT.cmake:151 (MESSAGE):
   Can't find Orocos Real-Time Toolkit (orocos-rtt.pc)
 Call Stack (most recent call first):
   CMakeLists.txt:58 (INCLUDE)

 OROCOS_INSTALL has the correct path to the root of the orocos-toolchain where inside exists /rtt/ folder. but I search this file "orocos-rtt.pc" and it isn't exists.
Any idea? How I can install KDL ¿? Thanks in advance, Toni

Ruben Smits's picture

Problem install KDL.

On Thursday 22 September 2011 10:29:02 antonio [dot] castellon [..] ... wrote:
> Dear people,
>
> I try to install KDL, I just create build and execute "ccmake .." from
> downloaded source code.

Where did you get the source code from?

> parameters selecte by default has been:
>
> BUILD_MODELS ON
> CMAKE_BACKWARDS_COMPATIBILITY 2.4
> CMAKE_BUILD_TYPE Release
> CMAKE_INSTALL_PREFIX /usr/local
> EIGEN2_INCLUDE_DIR
> /media/DATA/orocos-toolchain/eigen-eigen-3.0.2 ENABLE_TESTS
> OFF
> EXECUTABLE_OUTPUT_PATH
> KDL_VERSION 1.0.2
> LIBRARY_OUTPUT_PATH
> OROCOS_CORBA_TARGET corba-gnulinux
> OROCOS_INSTALL /media/DATA/orocos-toolchain
> OROCOS_PLUGIN ON
> OROCOS_TARGET gnulinux
> PYTHON_BINDINGS OFF
> And when I try to [c]onfigure appear:
> Orocos KDL version (1.0.2)
>
> Build type set to 'Release' by user.
>
> Searching RTT in ./../..:
>
> -- Looking for orocos-rtt >= 1.1.0 -- not found
>
> -- Looking for orocos-rtt >= 1.0.0 -- not found
>
> CMake Error at config/FindOrocosRTT.cmake:151 (MESSAGE):
> Can't find Orocos Real-Time Toolkit (orocos-rtt.pc)
> Call Stack (most recent call first):
> CMakeLists.txt:58 (INCLUDE)
>
> OROCOS_INSTALL has the correct path to the root of the orocos-toolchain
> where inside exists /rtt/ folder. but I search this file "orocos-rtt.pc"
> and it isn't exists. Any idea? How I can install KDL ¿? Thanks in advance,

To get started you could disable the OROCOS_PLUGIN.

> Toni

-- Ruben

enkulator's picture

Problem install KDL.

Dear Ruben.,

Thanks in advance,

the sourcecode was downloaded from:
http://people.mech.kuleuven.be/~rsmits/kdl/orocos-kdl-svn-src.tar.bz

and I disable the OROCOS_PLUGIN, but when I run : "make" appear other
errors:

/media/DATA/orocos-toolchain/*kdl-1.0.2*/build$ make
[ 1%] Building CXX object src/CMakeFiles/orocos-kdl.dir/chain.o
[ 3%] Building CXX object
src/CMakeFiles/orocos-kdl.dir/chainfksolverpos_recursive.o
[ 5%] Building CXX object
src/CMakeFiles/orocos-kdl.dir/chainfksolvervel_recursive.o
[ 7%] Building CXX object
src/CMakeFiles/orocos-kdl.dir/chainidsolver_recursive_newton_euler.o
[ 9%] Building CXX object
src/CMakeFiles/orocos-kdl.dir/chainiksolverpos_nr.o
[ 11%] Building CXX object
src/CMakeFiles/orocos-kdl.dir/chainiksolverpos_nr_jl.o
[ 13%] Building CXX object
src/CMakeFiles/orocos-kdl.dir/chainiksolvervel_pinv.o
[ 15%] Building CXX object
src/CMakeFiles/orocos-kdl.dir/chainiksolvervel_pinv_givens.o
*In file included from
/media/DATA/orocos-toolchain/kdl-1.0.2/src/chainiksolvervel_pinv_givens.cpp:22:
*
*/media/DATA/orocos-toolchain/kdl-1.0.2/src/chainiksolvervel_pinv_givens.hpp:11:
error: expected constructor, destructor, or type conversion before ‘;’ token
*
*/media/DATA/orocos-toolchain/kdl-1.0.2/src/chainiksolvervel_pinv_givens.hpp:53:
error: ‘MatrixXd’ does not name a type*
*/media/DATA/orocos-toolchain/kdl-1.0.2/src/chainiksolvervel_pinv_givens.hpp:54:
error: ‘VectorXd’ does not name a type*
*In file included from
/media/DATA/orocos-toolchain/kdl-1.0.2/src/chainiksolvervel_pinv_givens.cpp:23:
*
*/media/DATA/orocos-toolchain/kdl-1.0.2/src/utilities/svd_eigen_Macie.hpp:31:
error: expected constructor, destructor, or type conversion before
‘namespace’*
*make[2]: *** [src/CMakeFiles/orocos-kdl.dir/chainiksolvervel_pinv_givens.o]
Error 1*
*make[1]: *** [src/CMakeFiles/orocos-kdl.dir/all] Error 2*
*make: *** [all] Error 2*

any idea?
Thanks.
Toni

On Thu, Sep 22, 2011 at 13:53, Ruben Smits <ruben [dot] smits [..] ...>wrote:

> On Thursday 22 September 2011 10:29:02 antonio [dot] castellon [..] ... wrote:
> > Dear people,
> >
> > I try to install KDL, I just create build and execute "ccmake .." from
> > downloaded source code.
>
> Where did you get the source code from?
>
> > parameters selecte by default has been:
> >
> > BUILD_MODELS ON
> > CMAKE_BACKWARDS_COMPATIBILITY 2.4
> > CMAKE_BUILD_TYPE Release
> > CMAKE_INSTALL_PREFIX /usr/local
> > EIGEN2_INCLUDE_DIR
> > /media/DATA/orocos-toolchain/eigen-eigen-3.0.2 ENABLE_TESTS
> > OFF
> > EXECUTABLE_OUTPUT_PATH
> > KDL_VERSION 1.0.2
> > LIBRARY_OUTPUT_PATH
> > OROCOS_CORBA_TARGET corba-gnulinux
> > OROCOS_INSTALL /media/DATA/orocos-toolchain
> > OROCOS_PLUGIN ON
> > OROCOS_TARGET gnulinux
> > PYTHON_BINDINGS OFF
> > And when I try to [c]onfigure appear:
> > Orocos KDL version (1.0.2)
> >
> > Build type set to 'Release' by user.
> >
> > Searching RTT in ./../..:
> >
> > -- Looking for orocos-rtt >= 1.1.0 -- not found
> >
> > -- Looking for orocos-rtt >= 1.0.0 -- not found
> >
> > CMake Error at config/FindOrocosRTT.cmake:151 (MESSAGE):
> > Can't find Orocos Real-Time Toolkit (orocos-rtt.pc)
> > Call Stack (most recent call first):
> > CMakeLists.txt:58 (INCLUDE)
> >
> > OROCOS_INSTALL has the correct path to the root of the orocos-toolchain
> > where inside exists /rtt/ folder. but I search this file "orocos-rtt.pc"
> > and it isn't exists. Any idea? How I can install KDL ¿? Thanks in
> advance,
>
> To get started you could disable the OROCOS_PLUGIN.
>
> > Toni
>
> -- Ruben
>