R: [Rock-dev] Build fails with Unknown CMake command "orocos_generate_package"

Dear Sir,

first of all thank you for your support,
Doing autoproj update and autoproj build now I get the following error:

root@UBU1004:/usr/src/rock# autoproj build
Access method to import data from gitorious.com (git, http or ssh): git
Which flavor of Rock do you want to use ? master
autodetecting the operating system
Which prepackaged software (a.k.a. 'osdeps') should autoproj install automatically (all, ruby, os, none) ? all

Which flavor of Rock do you want to use ? master
autoproj: loading ...
run 'autoproj reconfigure' to change configuration options
and use 'autoproj switch-config' to change the remote source for
autoproj's main build configuration
Do you need compatibility with OCL ? (yes or no): true
Which flavor of Rock do you want to use ? master
the target operating system for Orocos/RTT (gnulinux or xenomai): gnulinux
which CORBA implementation should the RTT use ? omniorb

autoproj: importing and loading selected packages
WARN: base/templates/vizkit from rock.base does not have a manifest
WARN: external/sisl from rock.base does not have a manifest
WARN: external/yaml-cpp from rock does not have a manifest
autoproj: building and installing packages
configuring build system for log4cpp
building log4cpp [progress not available]
installing log4cpp
building gui/vizkit (100%)
installing gui/vizkit
generating and configuring build system for ocl
building ocl (47%)Build failed: ocl: failed in build phase
'make -j2' returned status 2
see /usr/src/rock/install/log/ocl-build.log for details
last 10 lines are:

/usr/src/rock/tools/ocl/logging/CategoryStream.hpp:61: error: ‘rt_ostringstream’ in namespace ‘RTT’ does not name a type
/usr/src/rock/tools/ocl/logging/CategoryStream.hpp: In member function ‘OCL::logging::CategoryStream&amp; OCL::logging::CategoryStream::operator<<(const T&amp;)’:
/usr/src/rock/tools/ocl/logging/CategoryStream.hpp:52: error: ‘oss’ was not declared in this scope
make[2]: *** [logging/CMakeFiles/orocos-log4cpp.dir/Category.cpp.o] Error 1
make[1]: *** [logging/CMakeFiles/orocos-log4cpp.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 47%] Building CXX object deployment/CMakeFiles/orocos-deployment.dir/comppath.cpp.o
Linking CXX shared library liborocos-deployment-gnulinux.so
[ 47%] Built target orocos-deployment
make: *** [all] Error 2

Best regards

Gianpaolo Rizzi

----Messaggio originale----
Da: sylvain [dot] joyeux [..] ...
Data: 7-feb-2011 10.08 AM
A: "gprizzi [..] ..."<gprizzi [..] ...>
Cc: <orocos-dev [..] ...>, <rock-dev [..] ...>
Ogg: Re: [Orocos-Dev] [Rock-dev] Build fails with Unknown CMake command &amp;quot;orocos_generate_package&amp;quot;

Hi Gianpaolo

I've pushed a change to the rock's build configuration that should fix
your issue. We are now tracking the toolchain-2.2 branch of ocl and log4cpp.

Hope it will help

Best,

R: [Rock-dev] Build fails with Unknown CMake command "orocos_ge

Your problems should be fixed now. At least the build server

I had to merge the current toolchain-2.2 into rock-rtt

Sorry for that, I will make sure it does not happen again
--

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-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev

R: R: [Rock-dev] Build fails with Unknown CMake command "oroco

Dear Sirs,

now ocl is build with no errors, but build fails with the following error:

autoproj update
Access method to import data from gitorious.org (git, http or ssh): git
Which flavor of Rock do you want to use ? master
Which prepackaged software (a.k.a. 'osdeps') should autoproj install automatically (all, ruby, os, none) ? all
looking for RubyGems updates
updating autoproj main configuration
WARN: import from git://gitorious.org/rock/buildconf-all.git failed, falling back to using http for all packages on gitorious.org
updating autoproj main configuration
autoproj: updating remote definitions of package sets
updating rock.toolchain
WARN: import from git://gitorious.org/rock-toolchain/package_set.git failed, falling back to using http for all packages on gitorious.org
updating rock.toolchain
updating rock
WARN: import from git://gitorious.org/rock/package_set.git failed, falling back to using http for all packages on gitorious.org
updating rock
rock.toolchain: auto-importing orocos.toolchain
updating orocos.toolchain
WARN: import from git://gitorious.org/orocos-toolchain/autoproj.git failed, falling back to using http for all packages on gitorious.org
updating orocos.toolchain
rock.toolchain: auto-importing rock.base
updating rock.base
WARN: import from git://gitorious.org/rock-base/package_set.git failed, falling back to using http for all packages on gitorious.org
updating rock.base

Which flavor of Rock do you want to use ? master
autoproj: loading ...
run 'autoproj reconfigure' to change configuration options
and use 'autoproj switch-config' to change the remote source for
autoproj's main build configuration
Do you need compatibility with OCL ? (yes or no): true
Which flavor of Rock do you want to use ? master
the target operating system for Orocos/RTT (gnulinux or xenomai): gnulinux
which CORBA implementation should the RTT use ? omniorb

autoproj: importing and loading selected packages
updating base/orogen/types
WARN: import from git://gitorious.org/rock-toolchain/orogen-base-types.git failed, falling back to using http for all packages on gitorious.org
updating base/orogen/types
updating base/scripts
updating base/templates/cmake_lib
updating base/templates/vizkit
WARN: base/templates/vizkit from rock.base does not have a manifest
updating base/types
updating base/types_ruby
updating control/motor_controller
updating control/orogen/skid4_control
updating control/orogen/trajectory_follower
updating control/orogen/waypoint_navigation
updating control/trajectory_follower
updating control/waypoint_navigation
updating drivers/aggregator
updating drivers/camera_interface
updating drivers/canbus
updating drivers/controldev
updating drivers/dynamixel
updating drivers/hokuyo
updating drivers/iodrivers_base
updating drivers/mb500
updating drivers/orogen/canbus
updating drivers/orogen/controldev
updating drivers/orogen/dynamixel
updating drivers/orogen/gps
updating drivers/orogen/hokuyo
updating drivers/orogen/parport
updating drivers/orogen/wifimon
updating drivers/orogen/xsens_imu
updating drivers/parport
updating drivers/transformer
updating drivers/xsens_imu
updating external/libply
updating external/sisl
WARN: external/sisl from rock.base does not have a manifest
updating external/yaml-cpp
WARN: external/yaml-cpp from rock does not have a manifest
updating gui/rock_widget_collection
updating gui/vizkit
updating image_processing/frame_helper
updating planning/corridor_navigation
updating planning/corridor_planner
updating planning/orogen/corridor_planner
updating planning/vfh_star
updating slam/envire
updating slam/pose_ekf
updating tools/logger
updating tools/orocos.rb
updating tools/pocolog
updating tools/roby
updating ocl
updating orogen
updating rtt
updating typelib
updating utilmm
updating utilrb
updating log4cpp

autodetected the shell to be bash, sourcing autoproj shell helpers
add "Autoproj.shell_helpers = false" in autoproj/init.rb to disable
autoproj: updated /usr/src/rock/env.sh
Build finished successfully at Tue Feb 08 19:27:17 +0100 2011
root@UBU1004:/usr/src/rock# autoproj build
Access method to import data from gitorious.org (git, http or ssh): git
Which flavor of Rock do you want to use ? master
autodetecting the operating system
Which prepackaged software (a.k.a. 'osdeps') should autoproj install automatically (all, ruby, os, none) ? all

Which flavor of Rock do you want to use ? master
autoproj: loading ...
run 'autoproj reconfigure' to change configuration options
and use 'autoproj switch-config' to change the remote source for
autoproj's main build configuration
Do you need compatibility with OCL ? (yes or no): true
Which flavor of Rock do you want to use ? master
the target operating system for Orocos/RTT (gnulinux or xenomai): gnulinux
which CORBA implementation should the RTT use ? omniorb

autoproj: importing and loading selected packages
WARN: base/templates/vizkit from rock.base does not have a manifest
WARN: external/sisl from rock.base does not have a manifest
WARN: external/yaml-cpp from rock does not have a manifest
autoproj: building and installing packages
building base/types (100%)
installing base/types
generating and configuring build system for drivers/hokuyo
building drivers/hokuyo (100%)
installing drivers/hokuyo
building log4cpp [progress not available]
installing log4cpp
generating and configuring build system for drivers/aggregator
building drivers/aggregator (100%)
installing drivers/aggregator
generating and configuring build system for drivers/transformer
building drivers/transformer (100%)
installing drivers/transformer
generating and configuring build system for gui/vizkit
building gui/vizkit (100%)
installing gui/vizkit
generating and configuring build system for control/motor_controller
building control/motor_controller (100%)
installing control/motor_controller
building rtt (100%)
installing rtt
generating and configuring build system for ocl
building ocl (100%)
installing ocl
generating and configuring build system for drivers/dynamixel
building drivers/dynamixel (100%)
installing drivers/dynamixel
generating and configuring build system for utilmm
building utilmm (100%)
installing utilmm
setting up Ruby package utilrb
generating and configuring build system for typelib
building typelib (100%)
installing typelib
setting up Ruby package orogen
setting up Ruby package base/types_ruby
generating oroGen project base/orogen/types
generating and configuring build system for base/orogen/types
building base/orogen/types (100%)
installing base/orogen/types
generating oroGen project tools/logger
generating and configuring build system for tools/logger
building tools/logger (100%)
installing tools/logger
generating oroGen project drivers/orogen/dynamixel
generating and configuring build system for drivers/orogen/dynamixel
building drivers/orogen/dynamixel (100%)
installing drivers/orogen/dynamixel
generating and configuring build system for control/waypoint_navigation
building control/waypoint_navigation (100%)
installing control/waypoint_navigation
generating oroGen project control/orogen/waypoint_navigation
generating and configuring build system for control/orogen/waypoint_navigation
building control/orogen/waypoint_navigation (100%)
installing control/orogen/waypoint_navigation
generating and configuring build system for drivers/canbus
building drivers/canbus (100%)
installing drivers/canbus
generating oroGen project drivers/orogen/canbus
generating and configuring build system for drivers/orogen/canbus
building drivers/orogen/canbus (100%)
installing drivers/orogen/canbus
generating build system for external/libply
configuring build system for external/libply
building external/libply [progress not available]
installing external/libply
generating and configuring build system for slam/envire
building slam/envire (100%)
installing slam/envire
generating and configuring build system for image_processing/frame_helper
building image_processing/frame_helper (100%)
installing image_processing/frame_helper
generating and configuring build system for planning/corridor_planner
building planning/corridor_planner (100%)
installing planning/corridor_planner
generating oroGen project planning/orogen/corridor_planner
generating and configuring build system for planning/orogen/corridor_planner
building planning/orogen/corridor_planner (100%)
installing planning/orogen/corridor_planner
setting up Ruby package tools/orocos.rb
generating and configuring build system for drivers/camera_interface
building drivers/camera_interface (100%)
installing drivers/camera_interface
generating oroGen project drivers/orogen/hokuyo
generating and configuring build system for drivers/orogen/hokuyo
building drivers/orogen/hokuyo (100%)
installing drivers/orogen/hokuyo
generating and configuring build system for control/trajectory_follower
building control/trajectory_follower (100%)
installing control/trajectory_follower
generating and configuring build system for planning/vfh_star
building planning/vfh_star (100%)
installing planning/vfh_star
generating oroGen project control/orogen/trajectory_follower
generating and configuring build system for control/orogen/trajectory_follower
building control/orogen/trajectory_follower (100%)
installing control/orogen/trajectory_follower
generating and configuring build system for drivers/mb500
building drivers/mb500 (100%)
installing drivers/mb500
generating oroGen project drivers/orogen/gps
generating and configuring build system for drivers/orogen/gps
building drivers/orogen/gps (100%)
installing drivers/orogen/gps
generating and configuring build system for drivers/parport
building drivers/parport (100%)
installing drivers/parport
generating oroGen project drivers/orogen/parport
generating and configuring build system for drivers/orogen/parport
building drivers/orogen/parport (100%)
installing drivers/orogen/parport
generating oroGen project drivers/orogen/wifimon
generating and configuring build system for drivers/orogen/wifimon
building drivers/orogen/wifimon (100%)
installing drivers/orogen/wifimon
generating and configuring build system for planning/corridor_navigation
building planning/corridor_navigation (100%)
installing planning/corridor_navigation
setting up Ruby package tools/pocolog
generating and configuring build system for drivers/controldev
building drivers/controldev (100%)
installing drivers/controldev
generating oroGen project drivers/orogen/controldev
generating and configuring build system for drivers/orogen/controldev
building drivers/orogen/controldev (100%)
installing drivers/orogen/controldev
generating oroGen project control/orogen/skid4_control
generating and configuring build system for control/orogen/skid4_control
building control/orogen/skid4_control (100%)
installing control/orogen/skid4_control
generating and configuring build system for drivers/xsens_imu
building drivers/xsens_imu (100%)
installing drivers/xsens_imu
generating oroGen project drivers/orogen/xsens_imu
generating and configuring build system for drivers/orogen/xsens_imu
building drivers/orogen/xsens_imu (100%)
installing drivers/orogen/xsens_imu
setting up Ruby package base/scripts
generating and configuring build system for gui/rock_widget_collection
Build failed: gui/rock_widget_collection: failed in configure phase
'cmake -DCMAKE_INSTALL_PREFIX=/usr/src/rock/install -DCMAKE_MODULE_PATH=/usr/src/rock/base/types/cmake -DCMAKE_BUILD_TYPE=Debug /usr/src/rock/gui/rock_widget_collection' returned status 1
see /usr/src/rock/install/log/gui/rock_widget_collection-configure.log for details
last 10 lines are:

-- checking for module 'frame_helper'
-- found frame_helper, version 1.0
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:70 (MESSAGE):
Could NOT find QWT (missing: QWT_LIBRARIES QWT_INCLUDE_DIRS)
Call Stack (most recent call first):
cmake/FindQWT.cmake:34 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:29 (find_package)

-- Configuring incomplete, errors occurred!

Moreover if try to run orogen from a user directory command fails with the the following output:

orogen Rosetta3.orogen
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require': no such file to load -- typelib (LoadError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/src/rock/tools/orogen/lib/orogen/base.rb:5
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/src/rock/tools/orogen/lib/orogen.rb:3
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `gem_original_require'
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
from /usr/src/rock/tools/orogen/bin/orogen:3

The installed version of ruby is 1.8.7.
Have I missed something?

Thanks for your kind support.

Gianpaolo Rizzi

----Messaggio originale----
Da: sylvain [dot] joyeux [..] ...
Data: 8-feb-2011 12.41 PM
A: "gprizzi [..] ..."<gprizzi [..] ...>
Cc: <orocos-dev [..] ...>, <rock-dev [..] ...>
Ogg: Re: R: Re: [Orocos-Dev] [Rock-dev] Build fails with Unknown CMake command &amp;quot;orocos_generate_package&amp;quot;

Your problems should be fixed now. At least the build server

I had to merge the current toolchain-2.2 into rock-rtt

Sorry for that, I will make sure it does not happen again

[Rock-dev] R: R: Build fails with Unknown CMake command "oroco

On Tue, 2011-02-08 at 23:13 +0100, gprizzi [..] ... wrote:
> now ocl is build with no errors, but build fails with the following
> error:
>
> Could NOT find QWT (missing: QWT_LIBRARIES QWT_INCLUDE_DIRS)
> Call Stack (most recent call first):
> cmake/FindQWT.cmake:34 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
> CMakeLists.txt:29 (find_package)

Thank you for the report. It should compile now.

Alex

--
Dipl.-Ing. Alexander Duda
Unterwasserrobotik

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

Phone: +49 (0)421 178-456620
Fax: +49 (0)421 178-454150
E-Mail: alexander [dot] duda [..] ...

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-Dev mailing list
Orocos-Dev [..] ...
http://lists.mech.kuleuven.be/mailman/listinfo/orocos-dev