rtt/ocl alternative install+rtt_exercises

Hello,

Does the following 3 step method of installing orocos-rtt/ocl have any
pitfalls.

Step 1:

git clone git://gitorious.org/orocos-toolchain/rtt.git;cd rtt;mkdir
build;cd build;ccmake -i ..;make && make install

Step 2: (optional, if ocl will be built without logging support)

git clone git://gitorious.org/orocos-toolchain/log4cpp.git;cd
log4cpp;mkdir build;cd build;ccmake -i ..;make && make install

Step 3:

git clone git://gitorious.org/orocos-toolchain/ocl.git;cd ocl;mkdir
build;cd build;ccmake -i ..;make && make install

The above steps worked, even though 'autoproj build' failed during the
normal install method described at
http://www.orocos.org/wiki/orocos/toolchain/quick-start-linux

I'm fed up with autoproj and am looking for a simpler install method :)

Also, the git repo at

git://gitorious.org/orocos-toolchain/rtt_examples.git

specifically says "RTT 2.0 Tutorial and other small examples."

However, at least some of the contents of rtt_examples/simple-examples
(I looked at simple-task and task-intro) contain Events, Methods and
Commands. I thought these were no longer used in RTT 2.0 ?!

Regards,
Sagar

rtt/ocl alternative install+rtt_exercises

On 10/07/2012 12:37 AM, Sagar Behere wrote:
> Hello,
>
> Does the following 3 step method of installing orocos-rtt/ocl have any
> pitfalls.
>
> Step 1:
>
> git clone git://gitorious.org/orocos-toolchain/rtt.git;cd rtt;mkdir
> build;cd build;ccmake -i ..;make && make install
>
> Step 2: (optional, if ocl will be built without logging support)
>
> git clone git://gitorious.org/orocos-toolchain/log4cpp.git;cd
> log4cpp;mkdir build;cd build;ccmake -i ..;make && make install
>
> Step 3:
>
> git clone git://gitorious.org/orocos-toolchain/ocl.git;cd ocl;mkdir
> build;cd build;ccmake -i ..;make && make install
>
> The above steps worked, even though 'autoproj build' failed during the
> normal install method described at
> http://www.orocos.org/wiki/orocos/toolchain/quick-start-linux
>
> I'm fed up with autoproj and am looking for a simpler install method :)
What is failing for you is the ruby stuff, which, on the toolchain-2.5,
is broken for wheezy

The only packages you are interested in are ocl and rtt, just do

autoproj build ocl rtt

rtt/ocl alternative install+rtt_exercises

On 10/08/2012 11:58 AM, Sylvain Joyeux wrote:
> What is failing for you is the ruby stuff, which, on the toolchain-2.5,
> is broken for wheezy
>
> The only packages you are interested in are ocl and rtt, just do
>
> autoproj build ocl rtt
Also: autoproj build -k will build everything that builds and give you
errors for the rest (i.e. build as much as possible).

rtt/ocl alternative install+rtt_exercises

On Sun, Oct 7, 2012 at 12:37 AM, Sagar Behere <sagar [dot] behere [..] ...> wrote:
> Hello,
>
> Does the following 3 step method of installing orocos-rtt/ocl have any
> pitfalls.
>
> Step 1:
>
> git clone git://gitorious.org/orocos-toolchain/rtt.git;cd rtt;mkdir
> build;cd build;ccmake -i ..;make && make install
>
> Step 2: (optional, if ocl will be built without logging support)
>
> git clone git://gitorious.org/orocos-toolchain/log4cpp.git;cd
> log4cpp;mkdir build;cd build;ccmake -i ..;make && make install
>
> Step 3:
>
> git clone git://gitorious.org/orocos-toolchain/ocl.git;cd ocl;mkdir
> build;cd build;ccmake -i ..;make && make install
>
> The above steps worked, even though 'autoproj build' failed during the
> normal install method described at
> http://www.orocos.org/wiki/orocos/toolchain/quick-start-linux
>
> I'm fed up with autoproj and am looking for a simpler install method :)

Please use -D CMAKE_INSTALL_PREFIX= $(pwd)/../../install
when running ccmake from your build directory. We have by convention an
'install' directory alongside the packages. Anyhow it also works for
/usr/local afaikt.

>
>
> Also, the git repo at
>
> git://gitorious.org/orocos-toolchain/rtt_examples.git
>
> specifically says "RTT 2.0 Tutorial and other small examples."
>
> However, at least some of the contents of rtt_examples/simple-examples
> (I looked at simple-task and task-intro) contain Events, Methods and
> Commands. I thought these were no longer used in RTT 2.0 ?!

You need to select the correct branch, first, so the rtt-2.0-examples
branch. Second, yes, the 'simple' examples have never been upgraded.
We'd better remove them and keep rtt-exercises only.

Peter

rtt/ocl alternative install+rtt_exercises

On 10/07/2012 12:37 AM, Sagar Behere wrote:
> Hello,
>
> Does the following 3 step method of installing orocos-rtt/ocl have any
> pitfalls.
>
> Step 1:
>
> git clone git://gitorious.org/orocos-toolchain/rtt.git;cd rtt;mkdir
> build;cd build;ccmake -i ..;make && make install
>
> Step 2: (optional, if ocl will be built without logging support)
>
> git clone git://gitorious.org/orocos-toolchain/log4cpp.git;cd
> log4cpp;mkdir build;cd build;ccmake -i ..;make && make install
>
> Step 3:
>
> git clone git://gitorious.org/orocos-toolchain/ocl.git;cd ocl;mkdir
> build;cd build;ccmake -i ..;make && make install
>
> The above steps worked, even though 'autoproj build' failed during the
> normal install method described at
> http://www.orocos.org/wiki/orocos/toolchain/quick-start-linux
>
> I'm fed up with autoproj and am looking for a simpler install method :)
there is also the ROS way, using debian pkgs, which can be practical if
you use ROS, or don't care installing it alongside
See http://www.ros.org/wiki/orocos_toolchain_ros (although not available
yet for the latest ubuntu versions)
>
>
> Also, the git repo at
>
> git://gitorious.org/orocos-toolchain/rtt_examples.git
>
> specifically says "RTT 2.0 Tutorial and other small examples."
>
> However, at least some of the contents of rtt_examples/simple-examples
> (I looked at simple-task and task-intro) contain Events, Methods and
> Commands. I thought these were no longer used in RTT 2.0 ?!
>
> Regards,
> Sagar
>

rtt/ocl alternative install+rtt_exercises

On Mon, Oct 8, 2012 at 9:57 AM, Dominick Vanthienen
<dominick [dot] vanthienen [..] ...> wrote:
>
>
> On 10/07/2012 12:37 AM, Sagar Behere wrote:
>> Hello,
>>
>> Does the following 3 step method of installing orocos-rtt/ocl have any
>> pitfalls.
>>
>> Step 1:
>>
>> git clone git://gitorious.org/orocos-toolchain/rtt.git;cd rtt;mkdir
>> build;cd build;ccmake -i ..;make && make install
>>
>> Step 2: (optional, if ocl will be built without logging support)
>>
>> git clone git://gitorious.org/orocos-toolchain/log4cpp.git;cd
>> log4cpp;mkdir build;cd build;ccmake -i ..;make && make install
>>
>> Step 3:
>>
>> git clone git://gitorious.org/orocos-toolchain/ocl.git;cd ocl;mkdir
>> build;cd build;ccmake -i ..;make && make install
>>
>> The above steps worked, even though 'autoproj build' failed during the
>> normal install method described at
>> http://www.orocos.org/wiki/orocos/toolchain/quick-start-linux
>>
>> I'm fed up with autoproj and am looking for a simpler install method :)
> there is also the ROS way, using debian pkgs, which can be practical if
> you use ROS, or don't care installing it alongside
> See http://www.ros.org/wiki/orocos_toolchain_ros (although not available
> yet for the latest ubuntu versions)

I believe his platform is Debian, not Ubuntu.

Peter