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

I'm not sure where this error comes from. You can try to include
<rtt/Component.hpp> 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:
> > &#10;&gt; &gt; #include &lt;rtt/TaskContext.hpp&gt;&#10;&gt; &gt; #include &lt;rtt/Port.hpp&gt;&#10;&gt; &gt;
> >
> > It works fine with ros-cturtle-orocos-toolchain-ros and
> > ros-unstable-orocos-toolchain-ros. However with the diamondback version
> > I get this error:
> >
> > &#10;&gt; &gt; &#10;&gt; &gt; [100%] Building CXX object&#10;&gt; &gt; CMakeFiles/MatrixTransform.dir/src/MatrixTransform.o&#10;&gt; &gt; /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:1:3&#10;&gt; &gt; 1: error: rtt/TaskContext.hpp: No such file or directory&#10;&gt; &gt; /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:2:2&#10;&gt; &gt; 4: error: rtt/Port.hpp: No such file or directory In file included from&#10;&gt; &gt; /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc&#10;&gt; &gt; l/Component.hpp:42, from&#10;&gt; &gt; /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:&#10;&gt; &gt; /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc&#10;&gt; &gt; l/OCL.hpp:4:23: error: rtt/RTT.hpp: No such file or directory In file&#10;&gt; &gt; included from&#10;&gt; &gt; /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc&#10;&gt; &gt; l/OCL.hpp:5, from&#10;&gt; &gt; /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc&#10;&gt; &gt; l/Component.hpp:42, from&#10;&gt; &gt; /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:&#10;&gt; &gt; /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/oc&#10;&gt; &gt; l/ocl-config.h:9:28: error: rtt/rtt-config.h: No such file or directory&#10;&gt; &gt; ...&#10;&gt; &gt;
>
> I'm not sure where this error comes from. You can try to include
> <rtt/Component.hpp> 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:
&#10;#include &lt;rtt/TaskContext.hpp&gt;&#10;#include &lt;rtt/Port.hpp&gt;&#10;

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

&#10;&#10;[100%] Building CXX object CMakeFiles/MatrixTransform.dir/src/MatrixTransform.o&#10;/home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:1:31: error: rtt/TaskContext.hpp: No such file or directory&#10;/home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:2:24: error: rtt/Port.hpp: No such file or directory&#10;In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,&#10;                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:&#10;/opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:4:23: error: rtt/RTT.hpp: No such file or directory&#10;In file included from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/OCL.hpp:5,&#10;                 from /opt/ros/diamondback/stacks/orocos_toolchain_ros/ocl/install/include/ocl/Component.hpp:42,&#10;                 from /home/s050745/svn/dev/Tim/orocos_playground/src/MatrixTransform.cpp:3:&#10;/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&#10;...&#10;

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