RTT 2.0 exercises

Hi,

the RTT 2.0 exercises available at
git://github.com/psoetens/orocos-rtt-examples.git fail to compile
here:

[ 57%] Building CXX object
CMakeFiles/rtt-exercises/hello-4-methods/helloworld.dir/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.o
/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.cpp:17:26:
error: rtt/Method.hpp: No such file or directory
/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.cpp:94:
error: ISO C++ forbids declaration of ‘Method’ with no type
/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.cpp:94:
error: expected ‘;’ before ‘<’ token
/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.cpp:
In member function ‘virtual bool Example::World::configureHook()’:
/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.cpp:115:
error: ‘hello_method’ was not declared in this scope
/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.cpp:
In member function ‘virtual void Example::World::updateHook()’:
/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.cpp:124:
error: ‘hello_method’ was not declared in this scope
make[3]: *** [CMakeFiles/rtt-exercises/hello-4-methods/helloworld.dir/rtt_exercises_2.0-git/rtt-exercises/hello-4-methods/HelloWorld.o]
Error 1
make[3]: Leaving directory
`/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/build'
make[2]: *** [CMakeFiles/rtt-exercises/hello-4-methods/helloworld.dir/all]
Error 2
make[2]: Leaving directory
`/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/steven/src/svn/cturtle/install/stacks/kul-ros-pkg/orocos/rtt_exercises_2.0/build'
make: *** [all] Error 2

It looks like they are not updated according to the new renaming
scheme. Is this still the right place to get the exercises from?

Steven

RTT 2.0 exercises

On Tuesday 14 September 2010 09:51:39 Steven Bellens wrote:
> Hi,
>
> the RTT 2.0 exercises available at
> git://github.com/psoetens/orocos-rtt-examples.git fail to compile
> here:

It's still the correct place. I have updated them just now.

Peter