For more information about this bug, visit
A new bug was added:
Summary: Compiling KDL toolkit fails
Product: KDL
Version: kdl-trunk
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Plugin
AssignedTo: orocos-dev [..] ...
ReportedBy: wim [dot] meeussen [..] ...
I was trying to build the latest RTT and KDL for gnulinux. In RTT the option
OS_HAVE_IOSTREAM is on. RTT completed 6 out of 7 tests successfully, and KDL
builds fine without the toolkit. However, when building the toolkit, I get the
following error:
[ 78%] Building CXX object kdl/kdltk/CMakeFiles/kdltk.dir/toolkit.o
/home/install/build-gnulinux/include/rtt/TemplateTypeInfo.hpp: In static member
function ‘static std::istream& RTT::detail::TypeStreamSelector
/home/install/build-gnulinux/include/rtt/TemplateTypeInfo.hpp:275:
instantiated from ‘std::istream& RTT::TemplateTypeInfo
const [with T = KDL::JointRotZ, bool use_ostream = true]’
/home/src/kdl/kdl/kdltk/toolkit.cpp:482: instantiated from here
/home/install/build-gnulinux/include/rtt/TemplateTypeInfo.hpp:76: error: no
match for ‘operator>>’ in ‘os >> t’
[Bug 366] Compiling KDL toolkit fails
For more information about this bug, visit
wim [dot] meeussen [..] ... changed:
What |Removed |Added
---------------------------------------------------------------------------
Resolution| |FIXED
Status|NEW |RESOLVED
------- Comment #3 from wim [dot] meeussen [..] ... 2007-04-17 14:27
Thanks Ruben!
[Bug 366] Compiling KDL toolkit fails
For more information about this bug, visit
A comment was added:
------- Comment #2 from peter [dot] soetens [..] ... 2007-04-17 11:00
(In reply to comment #0)
> true>::read(std::istream&, T&) [with T = KDL::JointRotZ]’:
> use_ostream>::read(std::istream&, boost::intrusive_ptr)
> I was trying to build the latest RTT and KDL for gnulinux. In RTT the option
> OS_HAVE_IOSTREAM is on. RTT completed 6 out of 7 tests successfully, and KDL
> builds fine without the toolkit. However, when building the toolkit, I get the
> following error:
>
> [ 78%] Building CXX object kdl/kdltk/CMakeFiles/kdltk.dir/toolkit.o
> /home/install/build-gnulinux/include/rtt/TemplateTypeInfo.hpp: In static member
> function ‘static std::istream& RTT::detail::TypeStreamSelector
> /home/install/build-gnulinux/include/rtt/TemplateTypeInfo.hpp:275:
> instantiated from ‘std::istream& RTT::TemplateTypeInfo
> const [with T = KDL::JointRotZ, bool use_ostream = true]’
> /home/src/kdl/kdl/kdltk/toolkit.cpp:482: instantiated from here
> /home/install/build-gnulinux/include/rtt/TemplateTypeInfo.hpp:76: error: no
> match for ‘operator>>’ in ‘os >> t’
>
This is due to bug #301 "Toolkit Plugins should provide read()/operator>> as
well". Make sure that operator>> is defined and included for your type
(KDL::JointRotZ).
[Bug 366] Compiling KDL toolkit fails
For more information about this bug, visit
A comment was added:
------- Comment #1 from wim [dot] meeussen [..] ... 2007-04-17 10:55
The problems reported in this bug are with: orocos/trunk/rtt and
orocos/kdl/trunk.
When I try to build with orocos/trunk/rtt and orocos/trunk/kdl, I get the
following error:
[ 35%] Building CXX object kdl/CMakeFiles/kdl.dir/kinfam/chain.o
/home/src/kdl/kdl/kinfam/joint.hpp:21: error: ‘JointType’ does not
name a type
/home/src/kdl/kdl/kinfam/chain.hpp:22: error: ISO C++ forbids declaration of
‘vector’ with no type
/home/src/kdl/kdl/kinfam/chain.hpp:22: error: invalid use of ‘::’
/home/src/kdl/kdl/kinfam/chain.hpp:22: error: expected ‘;’ before
‘<’ token