R: error in vizkit while updating rock

Dear Sir,

I have tried the update just now but I got the following errors.

I cant build slam too and planning that depends on slam.
I excluded these the component in manifest file.

Thank you for you suggestion in building rock.

root@UBU1004:/usr/src/rock# autoproj update
Access method to import data from gitorious (git, http or ssh): git
Which flavor of Rock do you want to use ? master
autodetecting the operating system
looking for RubyGems updates
updating autoproj main configuration
autoproj: updating remote definitions of package sets
updating rock.toolchain
updating rock
rock.toolchain: auto-importing orocos.toolchain
updating orocos.toolchain
rock.toolchain: auto-importing rock.base
updating rock.base

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
WARN: osdeps definition for readline, previously defined in autoproj/remotes/orocos.toolchain/orocos.osdeps overriden by autoproj/remotes/rock/rock.osdeps
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
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/vicon
updating drivers/orogen/wifimon
updating drivers/orogen/xsens_imu
updating drivers/parport
updating drivers/vicon
updating drivers/xsens_imu
updating external/libply
updating external/yaml-cpp
WARN: external/yaml-cpp from rock does not have a manifest
updating gui/vizkit
updating planning/corridor_planner
updating planning/orogen/corridor_planner
updating planning/vfh_star
updating slam/envire
updating slam/pose_ekf
updating tools/configuration-manager
updating tools/logger
updating tools/orocos.rb
updating tools/pocolog
updating tools/reigen
updating tools/roby
updating base/types
updating external/sisl
WARN: external/sisl from rock.base does not have a manifest
updating ocl
updating orogen
updating rtt
updating typelib
updating utilmm
updating utilrb
updating log4cpp
installing/updating RubyGems dependencies: rdoc

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 Mon Jan 03 20:45:54 +0100 2011
root@UBU1004:/usr/src/rock# autoproj build
Access method to import data from gitorious (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

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
WARN: osdeps definition for readline, previously defined in autoproj/remotes/orocos.toolchain/orocos.osdeps overriden by autoproj/remotes/rock/rock.osdeps
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: external/yaml-cpp from rock does not have a manifest
WARN: external/sisl from rock.base does not have a manifest
autoproj: building and installing packages
building gui/vizkit (94%)Build failed: gui/vizkit: failed in build phase
'make -j2' returned status 2
see /usr/src/rock/install/log/gui/vizkit-build.log for details
last 10 lines are:

testWidget.cpp:(.text._ZN16QtThreadedWidgetIN6vizkit17QTrajectoryWidgetEE5startEv[QtThreadedWidget<vizkit::QTrajectoryWidget>::start()]+0x9b): undefined reference to `boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)'
CMakeFiles/testWidget.dir/testWidget.cpp.o: In function `QtThreadedWidget<vizkit::QTrajectoryWidget>::stop()':
testWidget.cpp:(.text._ZN16QtThreadedWidgetIN6vizkit17QTrajectoryWidgetEE4stopEv[QtThreadedWidget<vizkit::QTrajectoryWidget>::stop()]+0x43): undefined reference to `boost::condition_variable::wait(boost::unique_lock<boost::mutex>&)'
CMakeFiles/testWidget.dir/testWidget.cpp.o: In function `QtThreadedWidget<vizkit::QTrajectoryWidget>::run()':
testWidget.cpp:(.text._ZN16QtThreadedWidgetIN6vizkit17QTrajectoryWidgetEE3runEv[QtThreadedWidget<vizkit::QTrajectoryWidget>::run()]+0x1b8): undefined reference to `boost::condition_variable::notify_one()'
testWidget.cpp:(.text._ZN16QtThreadedWidgetIN6vizkit17QTrajectoryWidgetEE3runEv[QtThreadedWidget<vizkit::QTrajectoryWidget>::run()]+0x200): undefined reference to `boost::condition_variable::notify_one()'
collect2: ld returned 1 exit status
make[2]: *** [bin/testWidget] Error 1
make[1]: *** [test/CMakeFiles/testWidget.dir/all] Error 2
make: *** [all] Error 2

building slam/envire (95%)Build failed: slam/envire: failed in build phase
'make -j2' returned status 2
see /usr/src/rock/install/log/slam/envire-build.log for details
last 10 lines are:

Building CXX object test/CMakeFiles/testWidget.dir/testWidget.cpp.o
[100%] Built target test_icp
/usr/src/rock/slam/envire/test/testWidget.cpp:5:39: error: vizkit/QtThreadedWidget.hpp: No such file or directory
/usr/src/rock/slam/envire/test/testWidget.cpp: In function ‘int main(int, char**)’:
/usr/src/rock/slam/envire/test/testWidget.cpp:41: error: ‘QtThreadedWidget’ was not declared in this scope
/usr/src/rock/slam/envire/test/testWidget.cpp:41: error: expected primary-expression before ‘>’ token
/usr/src/rock/slam/envire/test/testWidget.cpp:41: error: ‘app’ was not declared in this scope
make[2]: *** [test/CMakeFiles/testWidget.dir/testWidget.cpp.o] Error 1
make[1]: *** [test/CMakeFiles/testWidget.dir/all] Error 2
make: *** [all] Error 2

----Messaggio originale----
Da: sylvain [dot] joyeux [..] ...
Data: 3-gen-2011 10.54 AM
A: "gprizzi [..] ..."<gprizzi [..] ...>
Ogg: Re: error in vizkit while updating rock

On 12/30/2010 05:06 PM, gprizzi [..] ... wrote:
> Dear Sir,
>
> I tried to update rock with commands
>
> autoproj update
> autoproj build

Hello.

Can you try updating again and tell me if it is fixed ?

Please send these kind of emails to the rock-dev mailing list. I'm not
always around ;-)

Moreover, if a package that you don't use does not work, you can remove
it from the build by adding it to the exclude_packages section in
autoproj/manifest:

exclude_packages:
- vizkit

You can also build with the -k option, which will ignore the error:

autoproj build -k

finally, you can build only the package *you* are working on with

autoproj build name/of/package

or

autoproj build .

if you are in the package source directory.

Sylvain