R: orogen errors in makefile generation

Dear Sir,

thank you for your quick support, I apologize for my short experience on autoproj.
I added the lines

overrides:

- orogen:

url:
git://gitorious.org/+orocos-dfki-maintainers/dfki-ric-orogen.git

branch: master

in the file autoproj/overrides.yml

then I ran autoproj update and I got the following error.

Should autoproj handle the OS package installation automatically (yes, no, wait or ask) ? true
Access method to gitorious (git, http or ssh): git
looking for RubyGems updates
looking for RubyGems updates
installing/updating RubyGems dependencies: autobuild
Should autoproj handle the OS package installation automatically (yes, no, wait or ask) ? true
Access method to gitorious (git, http or ssh): git
looking for RubyGems updates
updating autoproj main configuration
autoproj: updating remote definitions of package sets
looking for RubyGems updates
installing/updating OS dependencies: git
updating orocos.toolchain

Set the CORBA implementation: TAO or OMNIORB: OMNIORB
autoproj: loading ...
run 'autoproj --reconfigure' to change configuration values
build RTT-related software with CORBA support: true
the target operating system for Orocos/RTT (gnulinux or xenomai): gnulinux

autoproj: importing and loading selected packages
looking for RubyGems updates
installing/updating OS dependencies: git, cmake
updating ocl
updating orogen
switching branch of orogen to master
autoproj: updated /usr/src/orocos-toolchain/env.sh
Build failed: importing the current version of orogen would require a merge: Autobuild::PackageException

Have I to modify some other configuration file to insert Autobuilb::PackageException ?

Thank you.

Gianpaolo Rizzi

----Messaggio originale----

Da: sylvain [dot] joyeux [..] ...

Data: 5-nov-2010 9.44 AM

A: "gprizzi [..] ..."<gprizzi [..] ...>

Cc: <orocos-users [..] ...>

Ogg: Re: [Orocos-users] orogen errors in makefile generation

-->

On 11/04/2010 08:13 PM, gprizzi [..] ... wrote:
Dear Sir,

I am trying to generate a simple test using orogen.

Following the examples provided in orocos-toolchain I create the
file robot.orogen with the following content:

name "robot"

task_context "hmi" do

output_port "desiredP", "/std/vector<float>"

end

task_context "oneaxisfilter" do

input_port "inDesiredP", "/std/vector<float>"

output_port "outDesiredP", "/std/vector<float>"

end

task_context "robot" do

input_port "inDesiredP", "/std/vector<float>"

property "curPos" , "/std/vector<float>"

end

# Static deployment for testing. The hmi produce a new setpoint

# the filter component filter it and robot move to the desired set
points

deployment "testrobot" do

do_not_install

hmi = task("mmi", "hmi").

start

filter = task("filter", "oneaxisfilter").

start

robot = task("myRobot", "robot").

realtime.

periodic(0.1).

start

connect(hmi.desiredP, filter.inDesiredP)

connect(filter.outDesiredP , robot.inDesiredP)

end

Then I executed the command

orogen --target=gnulinux -v robot.orogen

no errors occurred.

After this i executed the following command

mkdir build

cd build

cmake -G "Unix Makefiles" ../

this command fail and the following errors occurred:

root@UBU1004:~/EsempiOrocos/orogenRobot/build# cmake -G "Unix
Makefiles" ../

-- The C compiler identification is GNU

-- The CXX compiler identification is GNU

-- Check for working C compiler: /usr/bin/gcc

-- Check for working C compiler: /usr/bin/gcc -- works

-- Detecting C compiler ABI info

-- Detecting C compiler ABI info - done

-- Check for working CXX compiler: /usr/bin/c++

-- Check for working CXX compiler: /usr/bin/c++ -- works

-- Detecting CXX compiler ABI info

-- Detecting CXX compiler ABI info - done

-- Performing Test ,

-- Performing Test , - Failed

-- Found Doxygen: /usr/bin/doxygen

-- documentation can be built

-- checking for module 'orocos-rtt-gnulinux>=1.99.4'

-- found orocos-rtt-gnulinux, version 2.1.0

CMake Error at .orogen/typekit/CMakeLists.txt:44 (install):

install TARGETS given no LIBRARY DESTINATION for shared library
target

"robot-typekit-gnulinux".

-- checking for module 'typelib'

-- found typelib, version 1.1

CMake Error at
.orogen/typekit/transports/typelib/CMakeLists.txt:24 (install):

install TARGETS given no LIBRARY DESTINATION for shared library
target

"robot-transport-typelib-gnulinux".

Orocos-RTT found in
/usr/src/orocos-toolchain/install/lib/cmake/orocos-rtt/orocos-rtt-gnulinux-libraries.cmake

-- Found orocos-rtt 2.1.0 for the gnulinux target. Available
transports: corba mqueue

-- Orocos reports in
/usr/src/orocos-toolchain/install/include/rtt/transports/corba/rtt-corba-config.h
to use the OMNIORB

CMake Error at .orogen/typekit/transports/corba/CMakeLists.txt:47
(install):

install TARGETS given no LIBRARY DESTINATION for shared library
target

"robot-transport-corba-gnulinux".

-- checking for module 'orocos-rtt-corba-gnulinux'

-- found orocos-rtt-corba-gnulinux, version 2.1.0

-- Optional library RTT_PLUGIN_rtt-typekit NOT FOUND. If the
library is already installed, use the
RTT_PLUGIN_rtt-typekit_ROOT_DIR environment variable or ccmake to
set the missing variables manually.

-- Optional library RTT_PLUGIN_rtt-transport-corba NOT FOUND. If
the library is already installed, use the
RTT_PLUGIN_rtt-transport-corba_ROOT_DIR environment variable or
ccmake to set the missing variables manually.

-- Configuring incomplete, errors occurred!

What have I missed in robot.orogen or in my configuration?

I have installed orocos-toolchain 2.1.0 using the following
commands from /usr directory

mkdir orocos-toolchain
cd orocos-toolchain
wget http://gitorious.com/orocos-toolchain/build/blobs/raw/toolchain-2.1/boot...
sh bootstrap.sh
source env.sh

The toolchain's orogen has been badly broken in september, and it
has not yet been fixed by the involved people.

In the meantime, I suggest that you use oroGen from the master
branch of

git://gitorious.org/+orocos-dfki-maintainers/dfki-ric-orogen.git

You can pin that branch in autoproj by editing
autoproj/overrides.yml and add the following:

overrides:

- orogen:

url:
git://gitorious.org/+orocos-dfki-maintainers/dfki-ric-orogen.git

branch: master

Sorry for that

--

Sylvain Joyeux
Space & Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik [..] ...

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------

R: orogen errors in makefile generation

On 11/05/2010 05:04 PM, gprizzi [..] ... wrote:
> Dear Sir,
>
> thank you for your quick support, I apologize for my short experience
> on autoproj.
No problem at all.

> I added the lines
>
> overrides:
> - orogen:
> url:
> git://gitorious.org/+orocos-dfki-maintainers/dfki-ric-orogen.git
> branch: master
>
> in the file autoproj/overrides.yml
>
> then I ran autoproj update and I got the following error.
> [snip error]

Autoproj refuses to touch a working copy if the update is not trivial,
which is the case here. Hence the message "importing the current version
of orogen would require a merge".

You will have to do the switching yourself. Go in orogen/

1. you should be on the master branch already. Check with
git branch
(there should be a '*' in front of master)
2. do
git remote update
git reset --hard autobuild/master
3. git log -1 should display

commit 07f2a8ceb84df01328f2a4f8962a8295cbd1cf76
Author: Sylvain Joyeux <sylvain [dot] joyeux [..] ...>
Date: Wed Nov 3 17:38:42 2010 +0100

Revert "changing findRTT cmake logic"

> Have I to modify some other configuration file to insert
> Autobuilb::PackageException ?
Eeeh. No. It is the name of the Ruby exception that has been thrown. It
is a display bug.
--

Sylvain Joyeux
Space& Security Robotics

!!! Achtung, neue Telefonnummer!!!

Standort Bremen:
DFKI GmbH
Robotics Innovation Center
Robert-Hooke-Straße 5
28359 Bremen, Germany

Phone: +49 (0)421 178-454136
Fax: +49 (0)421 218-454150
E-Mail: robotik [..] ...

Weitere Informationen: http://www.dfki.de/robotik
-----------------------------------------------------------------------
Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH
Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern
Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster
(Vorsitzender) Dr. Walter Olthoff
Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes
Amtsgericht Kaiserslautern, HRB 2313
Sitz der Gesellschaft: Kaiserslautern (HRB 2313)
USt-Id.Nr.: DE 148646973
Steuernummer: 19/673/0060/3
-----------------------------------------------------------------------

--
Orocos-Users mailing list
Orocos-Users [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-users