Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rtt-exercise building error #2

Open
roboticsai opened this issue Feb 27, 2018 · 0 comments
Open

rtt-exercise building error #2

roboticsai opened this issue Feb 27, 2018 · 0 comments

Comments

@roboticsai
Copy link

I am using ros kinetic in ubuntu 16.04. My first error is:

[Traceback (most recent call last):
File "/opt/ros/kinetic/share/ros/core/rosbuild/bin/check_same_directories.py", line 46, in
raise Exception
Exception

CMake Error at /opt/ros/kinetic/share/ros/core/rosbuild/private.cmake:102 (message):

[rosbuild] rospack found package "controller-1" at "", but the current
directory is "/home/robot/rtt-exercises-2.7.0/controller-1". 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/kinetic/share/ros/core/rosbuild/public.cmake:177 (_rosbuild_check_package_location)
CMakeLists.txt:24 (rosbuild_init)

-- Configuring incomplete, errors occurred!
See also "/home/robot/rtt-exercises-2.7.0/controller-1/build/CMakeFiles/CMakeOutput.log".](url)

So when i enter command " export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:~/rtt-example/rtt_examples-rtt-2.0-examples/rtt-exercises/controller-1 " than i'm getting below error:

[Failed to invoke /opt/ros/kinetic/bin/rospack deps-manifests controller-1
[rospack] Error: package 'controller-1' depends on non-existent package 'rtt' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'

CMake Error at /opt/ros/kinetic/share/ros/core/rosbuild/public.cmake:129 (message):

Failed to invoke rospack to get compile flags for package 'controller-1'.

Look above for errors from rospack itself. Aborting. Please fix the
broken dependency!

Call Stack (most recent call first):
/opt/ros/kinetic/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)
CMakeLists.txt:24 (rosbuild_init)

-- Configuring incomplete, errors occurred!
See also "/home/robot/rtt-exercises-2.7.0/controller-1/build/CMakeFiles/CMakeOutput.log"](url)

I have already installed the rtt-ros-integration package and orocos-toolchain package from source. And when i enter command " source ~/ws/underlay_isolated/installd_isolated/setup.sh " it again repeates the first error. So how should i solve this error. I was practicing the rtt-example package tutorial to learn orocos basics. This package is also avialabe in [here:] ( https://github.com/orocos-toolchain/r... )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant