[ros-users] Problem with Rosmake on Timer
#TAN ZHI PING#
TANZ0066 at e.ntu.edu.sg
Mon Aug 23 06:34:23 UTC 2010
Hi to all,
I trying to reproduce the Timer Package from http://www.ros.org/wiki/roscpp_tutorials/Tutorials/Timers and these are the commands i entered.
1. roscreate -pkg --xcproj Timer roscpp std_msgs
2. rospack export --lan=cpp --attrib=cflags Timer
3. rospack export --lan=cpp --attrib=flags Timer
4. rosmake --rosdep --install
But this following errors occurs
----------------------------------------------------------------------------------------------------------------------------------------------------
Usage: rosmake [options] [PACKAGE]...
rosmake: error: ambiguous option: --rosdep (--rosdep-install, --rosdep-yes?)
Traceback (most recent call last):
File "/opt/ros/cturtle/ros/bin/rosmake", line 65, in <module>
if rma.main():
File "/opt/ros/cturtle/ros/tools/rosmake/src/rosmake/rosmake.py", line 706, in main
options, args = parser.parse_args()
File "/usr/lib/python2.6/optparse.py", line 1396, in parse_args
self.error(str(err))
File "/usr/lib/python2.6/optparse.py", line 1578, in error
self.exit(2, "%s: error: %s\n" % (self.get_prog_name(), msg))
File "/usr/lib/python2.6/optparse.py", line 1568, in exit
sys.exit(status)
SystemExit: 2
---------------------------------------------------------------------------------------------------------------------------------------------------
What does this error means?
if i change the command to rosmake only,
-- Configuring incomplete, errors occurred!
--------------------------------------------------------------------------------------------------------------------------------------------------------------------}
[ rosmake ] Output from build of package Timer written to:
[ rosmake ] /home/snoopy/.ros/rosmake/rosmake_output-20100823-143146/Timer/build_output.log
[rosmake-1] Finished <<< Timer [FAIL] [ 1.16 seconds ]
[ rosmake ] Halting due to failure in package Timer.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 10 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/snoopy/.ros/rosmake/rosmake_output-20100823-143146
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
how should i address these 2 problems?
With thanks,
Zhiping
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100823/f1075b13/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Timer.tar.gz
Type: application/x-gzip
Size: 16662 bytes
Desc: Timer.tar.gz
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100823/f1075b13/attachment-0004.bin>
More information about the ros-users
mailing list