[prev in list] [next in list] [prev in thread] [next in thread] 

List:       orocos-users
Subject:    [Orocos-users] typegen fails on laser.h from typegen tests directory
From:       ruben.smits () intermodalics ! eu (Ruben Smits)
Date:       2012-08-23 12:40:34
Message-ID: CAN8Phbn4eTRDhL2EDU63c7Q1XFiJGpTkwX=2zw=PUeB9Q6wOXA () mail ! gmail ! com
[Download RAW message or body]

Hi,

I'm trying to get the Orocos Toolchain running on RHEL 6 and I'm
almost there, I have the full toolchain compiled succesfully and my
deployer and rttlua are working as expected. Only typegen is still
giving me a headache. I'm trying to parse one of the headers that are
in the typegen tests directory: laser.h but I get the following error.

typegen foo laser.h -o foo
/usr/lib/ruby/1.8/typelib-gccxml.rb:566:in `gccxml': cannot load one
of the header files /home/codac-dev/tmp/laser.h: gccxml returned an
error while parsing /tmp/orogen_pending_loads20120823-8048-1i3dv6k-0
(ArgumentError)
	from /usr/lib/ruby/1.8/tempfile.rb:188:in `open'
	from /usr/lib/ruby/1.8/typelib-gccxml.rb:563:in `gccxml'
	from /usr/lib/ruby/1.8/typelib-gccxml.rb:590:in `load_from_gccxml'
	from /usr/lib/ruby/1.8/typelib.rb:1886:in `call'
	from /usr/lib/ruby/1.8/typelib.rb:1886:in `import'
	from /usr/share/ros-stacks/orocos_toolchain/orogen/lib/orogen/gen/typekit.rb:1385:in
`do_import'
	from /usr/share/ros-stacks/orocos_toolchain/orogen/lib/orogen/gen/typekit.rb:1136:in
`perform_pending_loads'
	from /usr/lib/ruby/1.8/tempfile.rb:188:in `open'
	from /usr/share/ros-stacks/orocos_toolchain/orogen/lib/orogen/gen/typekit.rb:1129:in
`perform_pending_loads'
	from /usr/share/ros-stacks/orocos_toolchain/orogen/lib/orogen/gen/typekit.rb:1552:in
`generate'
	from /usr/share/ros-stacks/orocos_toolchain/orogen/bin/typegen:113

Can someone point me into the right direction for solving this
problem? Is it gccxml or a problem in typegen itself?

Ruben

-- 
Ruben Smits, Phd
Chief Technology Officer
Intermodalics BVBA
+32479511786
www.intermodalics.eu

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic