ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

thanks guys for comment here is my console error of above client.cpp

/usr/bin/make all mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake .. Re-run cmake no build system arguments -- The C compiler identification is GNU -- The CXX compiler identification is GNU -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done [rosbuild] Building package add Failed to invoke /opt/ros/diamondback/ros/bin/rospack deps-manifests add -- Configuring incomplete, errors occurred! [rospack] package [add] depends on itself (/home/f/workspace/add/manifest.xml). [rospack] self-dependency

CMake Error at /opt/ros/diamondback/ros/core/rosbuild/public.cmake:113 (message):

Failed to invoke rospack to get compile flags for package 'add'. Look above for errors from rospack itself. Aborting. Please fix the broken dependency!

Call Stack (most recent call first): /opt/ros/diamondback/ros/core/rosbuild/public.cmake:183 (rosbuild_invoke_rospack) CMakeLists.txt:12 (rosbuild_init)

make: * [all] Error 1

click to hide/show revision 2
Fix formatting.

thanks guys for comment here is my console error of above client.cpp

/usr/bin/make all 
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild/rostoolchain.cmake rosbuild`/rostoolchain.cmake  ..
Re-run cmake no build system arguments
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
[rosbuild] Building package add
Failed to invoke /opt/ros/diamondback/ros/bin/rospack deps-manifests add
-- Configuring incomplete, errors occurred!
[rospack] package [add] depends on itself (/home/f/workspace/add/manifest.xml).
[rospack] self-dependency

self-dependency CMake Error at /opt/ros/diamondback/ros/core/rosbuild/public.cmake:113 (message):

(message): Failed to invoke rospack to get compile flags for package 'add'. Look above for errors from rospack itself. Aborting. Please fix the broken dependency!

dependency! Call Stack (most recent call first): /opt/ros/diamondback/ros/core/rosbuild/public.cmake:183 (rosbuild_invoke_rospack) CMakeLists.txt:12 (rosbuild_init)

(rosbuild_init) make: * *** [all] Error 1

1