2013-01-19 23:04:52 -0500 | received badge | ● Famous Question
(source)
|
2012-07-31 08:47:44 -0500 | received badge | ● Notable Question
(source)
|
2012-05-31 16:03:28 -0500 | received badge | ● Famous Question
(source)
|
2012-03-19 05:11:04 -0500 | received badge | ● Popular Question
(source)
|
2012-03-01 15:28:22 -0500 | received badge | ● Notable Question
(source)
|
2012-01-29 21:51:04 -0500 | received badge | ● Popular Question
(source)
|
2011-11-26 00:14:11 -0500 | commented question | compiling a project based on OpenCV in ubuntu thanks a lot, it works |
2011-11-25 09:11:18 -0500 | asked a question | compiling a project based on OpenCV in ubuntu I have an error when doing cmake [actually rosmake] to my project, I have already installed OpenCV but I have this error: Linking CXX shared library ../lib/libCornerHelper.so
/usr/bin/ld: cannot find -lopencv_contrib
/usr/bin/ld: cannot find -lopencv_legacy
/usr/bin/ld: cannot find -lopencv_stitching
/usr/bin/ld: cannot find -lopencv_gpu
/usr/bin/ld: cannot find -lopencv_objdetect
/usr/bin/ld: cannot find -lopencv_calib3d
/usr/bin/ld: cannot find -lopencv_features2d
/usr/bin/ld: cannot find -lopencv_video
/usr/bin/ld: cannot find -lopencv_highgui
/usr/bin/ld: cannot find -lopencv_ml
/usr/bin/ld: cannot find -lopencv_imgproc
/usr/bin/ld: cannot find -lopencv_flann
/usr/bin/ld: cannot find -lopencv_core
collect2: ld returned 1 exit status
make[3]: *** [../lib/libCornerHelper.so] Error 1
How to solve it? |
2011-11-25 07:17:13 -0500 | marked best answer | Building a project depending on ros.org platform Did you go through the beginner tutorials? That should tell you how to properly make a ROS package. From your error messages: Don't call cmake directly. Use make or rosmake. Are you using cturtle? I think you system setup might be inconsistent. |
2011-11-25 04:35:25 -0500 | answered a question | Building a project depending on ros.org platform Note: I have already installed all the requested packages by (an example): sudo apt-get install ros-cturtle-image-common
the same error is shown when I trying to install dependencies by rosdep install mypackage
I think these installed packages must add to ROS_PACKAGE_PATH but I don't know their paths! |
2011-11-25 01:31:12 -0500 | answered a question | Building a project depending on ros.org platform Thanks for your reply,
Actually I have read the tutorial about making ROS package at :
http://www.ros.org/wiki/ROS/Tutorials/BuildingPackages when I have put something like: $ roscd mypackage
$ cat manifest.xml
Then it's ok, and it gives me list of dependent packages, <package>
<description brief="mypackage">
mypackage
</description>
...
<depend package="roscpp"/>
<depend package="sensor_msgs"/>
<depend package="cv_bridge"/>
<depend package="image_transport"/>
<depend package="std_msgs"/>
<depend package="mypackage2"/>
</package>
but when I put rosdep install mypackage
it gives me an error: [rosstack] opendir error [No such file or directory] while crawling /opt/ros/stacks
Failed to find stack for package [sensor_msgs]
Failed to load rosdep.yaml for package [sensor_msgs]:Cannot locate installation of package sensor_msgs: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [sensor_msgs]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [image_transport]
Failed to load rosdep.yaml for package [image_transport]:Cannot locate installation of package image_transport: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [image_transport]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [geometry_msgs]
Failed to load rosdep.yaml for package [geometry_msgs]:Cannot locate installation of package geometry_msgs: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [geometry_msgs]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [cv_bridge]
Failed to load rosdep.yaml for package [cv_bridge]:Cannot locate installation of package cv_bridge: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [cv_bridge]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]]
executing this script:
set -o errexit
#No Packages to install
sanfbox@sandbox:~/mypackagefolder/mypackage$ rosdep install[rospack] couldn't find package [image_transport]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]]
|
2011-11-24 21:58:19 -0500 | received badge | ● Editor
(source)
|
2011-11-24 21:57:55 -0500 | answered a question | Building a project depending on ros.org platform I have solved previous problem using rosmake,
but now I have these errors.. [rosstack] opendir error [No such file or directory] while crawling /opt/ros/stacks
Failed to find stack for package [sensor_msgs]
Failed to load rosdep.yaml for package [sensor_msgs]:Cannot locate installation of package sensor_msgs: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [sensor_msgs]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [image_transport]
Failed to load rosdep.yaml for package [image_transport]:Cannot locate installation of package image_transport: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [image_transport]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [geometry_msgs]
Failed to load rosdep.yaml for package [geometry_msgs]:Cannot locate installation of package geometry_msgs: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [geometry_msgs]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
Failed to find stack for package [cv_bridge]
Failed to load rosdep.yaml for package [cv_bridge]:Cannot locate installation of package cv_bridge: [rospack] opendir error [No such file or directory] while crawling /opt/ros/stacks
[rospack] couldn't find package [cv_bridge]. ROS_ROOT[/opt/ros/cturtle/ros] ROS_PACKAGE_PATH[/opt/ros/stacks:/home/sandbox/mypackagefolder:/home/sandbox/mypackagefolder/mypackage]
|
2011-11-24 20:53:07 -0500 | asked a question | Building a project depending on ros.org platform I'm new to ros and trying to do: cmake CMakeLists.txt
this file includes some ros libraries but I have an error: [rosbuild] Building package mypackage
CMake Error at /opt/ros/cturtle/ros/core/rosbuild/private.cmake:119 (message):
[rosbuild] rospack found package "mypackage" at "", but the current
directory is "/home/mypackage/code". You should
double-check your ROS_PACKAGE_PATH to ensure that packages are found in the
correct precedence order.
Call Stack (most recent call first):
/opt/ros/cturtle/ros/core/rosbuild/public.cmake:157 (_rosbuild_check_package_location)
CMakeLists.txt:12 (rosbuild_init)
-- Configuring incomplete, errors occurred! |