[Rock-dev] [rock] #290: Generation of type fails during orogen
rock
noreply at opendfki.de
Mon Jul 8 17:17:58 CEST 2013
#290: Generation of type fails during orogen
----------------------------+-----------------------------------
Reporter: malte.wirkus@… | Owner: rock-dev-mailing-list
Type: defect | Status: new
Priority: normal | Milestone:
Component: toolchain | Keywords:
----------------------------+-----------------------------------
In an orogen package 'test_type_gen' with the folllowing type definition
file 'test_type_genTypes.hpp', run 'rock-create-orogen'
-----------------------
test_type_genTypes.hpp
-----------------------
#ifndef test_type_gen_TYPES_HPP
#define test_type_gen_TYPES_HPP
#include "base/samples/RigidBodyState.hpp"
#include <vector>
namespace test_type_gen {
struct RigidBodyStateVector
{
std::vector<std::vector<base::samples::RigidBodyState> > states;
};
}
#endif
--------------
Error Log
--------------
In file included from /tmp/orogen_pending_loads20130708-5898-1m9fql8:1:
/tmp/orogen20130708-5898-1reihuf:20: error: 'states' was not declared in
this scope
/tmp/orogen20130708-5898-1reihuf:20: error: '>>' should be '> >' within a
nested template argument list
===== Internal error =======
Please report the following error to the orogen developers
/media/data/Projects/BesMan/Software/Rock/project/install/lib/ruby/1.9.1/typelib/gccxml.rb:600:in
`block in gccxml': cannot load the definition of opaque m-types: cannot
load one of the header files /tmp/orogen20130708-5898-1reihuf: gccxml
returned an error while parsing
/tmp/orogen_pending_loads20130708-5898-1m9fql8
(Orocos::Generation::InternalError)
The faulty code is
0 /* Generated from
orogen/lib/orogen/templates/typekit/marshalling_types.hpp */
1
2
3
4 #include
"/media/data/Projects/BesMan/Software/Rock/project/control/orogen/test_type_gen/test_type_genTypes.hpp"
5 #include
"/media/data/Projects/BesMan/Software/Rock/project/control/orogen/test_type_gen/.orogen/test_type_genTaskStates.hpp"
6 #include "test_type_gen/test_type_genTypes.hpp"
7 #include "test_type_gen/test_type_genTaskStates.hpp"
8 #include <base/Types.hpp>
9 #include <logger/Types.hpp>
10 #include <std/Types.hpp>
11
12
13
14
15 namespace test_type_gen {
16
17 struct RigidBodyStateVector_m
18 {
19 ::std::vector< ::std::vector< ::base::samples::RigidBodyState_m>>
states ;
20 };
21 }
from /usr/lib/ruby/1.9.1/tempfile.rb:316:in `open'
from
/media/data/Projects/BesMan/Software/Rock/project/install/lib/ruby/1.9.1/typelib/gccxml.rb:597:in
`gccxml'
from
/media/data/Projects/BesMan/Software/Rock/project/install/lib/ruby/1.9.1/typelib/gccxml.rb:624:in
`load_from_gccxml'
from
/media/data/Projects/BesMan/Software/Rock/project/install/lib/ruby/1.9.1/typelib/registry.rb:474:in
`call'
from
/media/data/Projects/BesMan/Software/Rock/project/install/lib/ruby/1.9.1/typelib/registry.rb:474:in
`import'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1544:in
`do_import'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1283:in
`block in perform_pending_loads'
from /usr/lib/ruby/1.9.1/tempfile.rb:316:in `open'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1276:in
`perform_pending_loads'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1516:in
`block (2 levels) in handle_opaques_generation'
from /usr/lib/ruby/1.9.1/tempfile.rb:316:in `open'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1507:in
`block in handle_opaques_generation'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1506:in
`catch'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1506:in
`handle_opaques_generation'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/typekit.rb:1712:in
`generate'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/lib/orogen/gen/project.rb:665:in
`generate'
from
/media/data/Projects/BesMan/Software/Rock/project/tools/orogen/bin/orogen:158:in
`<main>'
--
Ticket URL: <http://rock.opendfki.de/ticket/290>
rock <http://rock.opendfki.de>
rock: the robot construction kit
More information about the Rock-dev
mailing list