Make errors using toolchain 2.2

Since I got dependency errors if I was trying to build with the toolchain 2.2 version of the git, I tried to install the debian packages.

And this saved me a lot of building time :)

If I try to make a simple orocos component containing:

#include <rtt/TaskContext.hpp>
#include <rtt/Port.hpp>

It works fine with ros-cturtle-orocos-toolchain-ros and ros-unstable-orocos-toolchain-ros. However with the diamondback version I get this error:

[100%] Building CXX object CMakeFiles/MatrixTransform.dir/src/MatrixTransform.o
/home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:1:31: error: rtt/TaskContext.hpp: No such file or directory
/home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:2:24: error: rtt/Port.hpp: No such file or directory
In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,
                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:4:23: error: rtt/RTT.hpp: No such file or directory
In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:5,
                 from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,
                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/ocl-config.h:9:28: error: rtt/rtt-config.h: No such file or directory
...

I get the same errors with the git version toolchain-2.2.

Just wondering were the difference comes from. Unfortunately I would like the newest version because of the possibility of deploying with scripts.

Thanks in advance,

Tim

Make errors using toolchain 2.2

2011/2/2 t [dot] t [dot] g [dot] clephas [..] ... <t [dot] t [dot] g [dot] clephas [..] ...>:
> Since I got dependency errors if I was trying to build with the toolchain 2.2 version of the git, I tried to install the debian packages.
>
> And this saved me a lot of building time :)
>
> If I try to make a simple orocos component containing:
>

> #include <rtt/TaskContext.hpp>
> #include <rtt/Port.hpp>
> 

>
> It works fine with ros-cturtle-orocos-toolchain-ros and ros-unstable-orocos-toolchain-ros.
> However with the diamondback version I get this error:
>
>
>
> [100%] Building CXX object CMakeFiles/MatrixTransform.dir/src/MatrixTransform.o
> /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:1:31: error: rtt/TaskContext.hpp: No such file or directory
> /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:2:24: error: rtt/Port.hpp: No such file or directory
> In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,
>                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:4:23: error: rtt/RTT.hpp: No such file or directory
> In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:5,
>                 from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,
>                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
> /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/ocl-config.h:9:28: error: rtt/rtt-config.h: No such file or directory
> ...
> 

I'm not sure where this error comes from. You can try to include
<rtt/Component.hp

and remove the ocl dependency to see if that fixes
your problem.

>
> I get the same errors with the git version toolchain-2.2.
>
> Just wondering were the difference comes from. Unfortunately I would like the newest version because of the possibility of deploying with scripts.

I'm only testing the diamondback release myself just now, still need
to test the orocos-toolchain debian packages it offers.
However, if you want the newest version: use the git repository.
Due to some differences in ROS header locations, Ruben set up
different branches for whether you are using cturtle or higher.

@Ruben: which are the preferred branches to use with CTurtle / Diamondback?

regards,

Steven

>
> Thanks in advance,
>
> Tim
> --
> Orocos-Users mailing list
> Orocos-Users [..] ...
> http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users
>

Ruben Smits's picture

Make errors using toolchain 2.2

On Wednesday 02 February 2011 12:38:49 Steven Bellens wrote:
> 2011/2/2 t [dot] t [dot] g [dot] clephas [..] ... <t [dot] t [dot] g [dot] clephas [..] ...>:
> > Since I got dependency errors if I was trying to build with the
> > toolchain 2.2 version of the git, I tried to install the debian
> > packages.
> >
> > And this saved me a lot of building time :)
> >
> > If I try to make a simple orocos component containing:
> >

> > #include <rtt/TaskContext.hpp>
> > #include <rtt/Port.hpp>
> > 

> >
> > It works fine with ros-cturtle-orocos-toolchain-ros and
> > ros-unstable-orocos-toolchain-ros. However with the diamondback version
> > I get this error:
> >
> >
> > 
> > [100%] Building CXX object
> > CMakeFiles/MatrixTransform.dir/src/MatrixTransform.o
> > /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:1:3
> > 1: error: rtt/TaskContext.hpp: No such file or directory
> > /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:2:2
> > 4: error: rtt/Port.hpp: No such file or directory In file included from
> > /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc
> > l/Component.hpp:42, from
> > /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
> > /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc
> > l/OCL.hpp:4:23: error: rtt/RTT.hpp: No such file or directory In file
> > included from
> > /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc
> > l/OCL.hpp:5, from
> > /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc
> > l/Component.hpp:42, from
> > /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
> > /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc
> > l/ocl-config.h:9:28: error: rtt/rtt-config.h: No such file or directory
> > ...
> > 

>
> I'm not sure where this error comes from. You can try to include
> <rtt/Component.hp

and remove the ocl dependency to see if that fixes
> your problem.
>
> > I get the same errors with the git version toolchain-2.2.
> >
> > Just wondering were the difference comes from. Unfortunately I would
> > like the newest version because of the possibility of deploying with
> > scripts.
>
> I'm only testing the diamondback release myself just now, still need
> to test the orocos-toolchain debian packages it offers.
> However, if you want the newest version: use the git repository.
> Due to some differences in ROS header locations, Ruben set up
> different branches for whether you are using cturtle or higher.
>
> @Ruben: which are the preferred branches to use with CTurtle / Diamondback?

Diamondback is branched of from unstable so the unstable, unstable_next or
orocos_toolchain_ros-0.2 branches should all work.

> regards,
>
> Steven

--Ruben

> > Thanks in advance,
> >
> > Tim
> > --
> > Orocos-Users mailing list
> > Orocos-Users [..] ...
> > http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users

Make errors using toolchain 2.2

Since I got dependency errors if I was trying to build with the toolchain 2.2 version of the git, I tried to install the debian packages.

And this saved me a lot of building time :)

If I try to make a simple orocos component containing:

#include <rtt/TaskContext.hpp>
#include <rtt/Port.hpp>

It works fine with ros-cturtle-orocos-toolchain-ros and ros-unstable-orocos-toolchain-ros.
However with the diamondback version I get this error:

[100%] Building CXX object CMakeFiles/MatrixTransform.dir/src/MatrixTransform.o
/home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:1:31: error: rtt/TaskContext.hpp: No such file or directory
/home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:2:24: error: rtt/Port.hpp: No such file or directory
In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,
                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:4:23: error: rtt/RTT.hpp: No such file or directory
In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:5,
                 from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,
                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:
/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/ocl-config.h:9:28: error: rtt/rtt-config.h: No such file or directory
...

I get the same errors with the git version toolchain-2.2.

Just wondering were the difference comes from. Unfortunately I would like the newest version because of the possibility of deploying with scripts.

Thanks in advance,

Tim