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

Redundent interface build #1047

Open
yswhynot opened this issue Jul 1, 2018 · 0 comments
Open

Redundent interface build #1047

yswhynot opened this issue Jul 1, 2018 · 0 comments

Comments

@yswhynot
Copy link

yswhynot commented Jul 1, 2018

For the problem mentioned in #1046.
The log from open_ros_bridge package:

Not searching for unused variables given on the command line.
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - 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
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using CATKIN_DEVEL_PREFIX: /home/yisha/workspace/jsk_ws/devel/.private/openrtm_ros_bridge
-- Using CMAKE_PREFIX_PATH: /home/yisha/workspace/jsk_ws/devel;/opt/ros/indigo
-- This workspace overlays: /home/yisha/workspace/jsk_ws/devel;/opt/ros/indigo
-- Found PythonInterp: /usr/bin/python (found version "2.7.6")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using Debian Python package layout
-- Using empy: /usr/bin/empy
-- Using CATKIN_ENABLE_TESTING: ON
-- Call enable_testing()
-- Using CATKIN_TEST_RESULTS_DIR: /home/yisha/workspace/jsk_ws/build/openrtm_ros_bridge/test_results
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found gtest sources under '/usr/src/gtest': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.6.19
-- Using these message generators: gencpp;genlisp;genpy
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.26")
-- Checking for module 'openrtm-aist'
--   Found openrtm-aist, version 1.1.2
-- Checking for module 'openhrp3.1'
--   Found openhrp3.1, version 3.1.9
[rtmbuild_init] Building package /home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge openrtm_ros_bridge
[rtmbuild_init] - CATKIN_TOPLEVEL =
[rtmbuild_init] - idl2srv_EXECUTABLE     -> /home/yisha/workspace/jsk_ws/src/rtmros_common/rtmbuild/scripts/idl2srv.py
[rtmbuild_init] - rtmskel_EXECUTABLE     -> PATH=/usr/bin:/home/yisha/workspace/jsk_ws/devel/bin:/opt/ros/indigo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games;PYTHONPATH=/usr/lib/openrtm-1.1/py_helper:/home/yisha/workspace/jsk_ws/devel/lib/python2.7/dist-packages:/opt/ros/indigo/lib/python2.7/dist-packages;/usr/bin/rtm-skelwrapper
[rtmbuild_init] - rtm_idlc               -> /usr/bin/omniidl
[rtmbuild_init] - rtm_idlflags           -> -bcxx;-Wba;-nf;-Wbuse_quotes;-I/usr/include/openrtm-1.1/rtm/idl;-Wbuse_quotes
[rtmbuild_init] - rtm_idldir             -> /usr/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_cxx                -> c++
[rtmbuild_init] - rtm_cflags             -> -Wall;-fPIC;-O2;-I/usr/include;-I/usr/include/coil-1.1;-I/usr/include/openrtm-1.1;-I/usr/include/openrtm-1.1/rtm/idl
[rtmbuild_init] - rtm_libs               -> -luuid;-ldl;-export-dynamic;-Wl,-z,defs;-L/usr/lib/x86_64-linux-gnu;-lpthread;;-lomniORB4;-lomnithread;-lomniDynamic4;-lRTC;-lcoil
[rtmbuild_init] - hrp_idldir             -> /usr/local/share/OpenHRP-3.1/idl
[rtmbuild_init] Generating bridge compornents from /home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge/idl
[rtmbuild_init] - openrtm_ros_bridge_idl_files : /home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge/idl/AutoTestService.idl;/home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge/idl/MyService.idl
CMake Error: Attempt to add a custom rule to output "/home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge/src_gen/MyServiceROSBridgeComp.cpp.rule" which already has a custom rule.
[rtmbuild_init] - openrtm_ros_bridge_autogen_msg_files  : AutoTest_MyService.msg;SimpleService_MyService.msg
[rtmbuild_init] - openrtm_ros_bridge_autogen_srv_files  : AutoTest_MyService_echo.srv;AutoTest_MyService_get_echo_history.srv;AutoTest_MyService_set_value.srv;AutoTest_MyService_get_value.srv;AutoTest_MyService_get_value_history.srv;SimpleService_MyService_echo.srv;SimpleService_MyService_get_echo_history.srv;SimpleService_MyService_set_value.srv;SimpleService_MyService_get_value.srv;SimpleService_MyService_get_value_history.srv
[rtmbuild_init] - openrtm_ros_bridge_autogen_interfaces : MyService;MyService
-- openrtm_ros_bridge: 2 messages, 10 services
[rtmbuild_genidl] add_custom_command for idl files in package openrtm_ros_bridge
[rtmbuild_genidl] - _output_cpp_dir : /home/yisha/workspace/jsk_ws/devel/.private/openrtm_ros_bridge/include/openrtm_ros_bridge
[rtmbuild_genidl] - _output_lib_dir : /home/yisha/workspace/jsk_ws/devel/.private/openrtm_ros_bridge/lib
[rtmbuild_genidl] - _output_python_dir : /home/yisha/workspace/jsk_ws/devel/.private/openrtm_ros_bridge/lib/python2.7/dist-packages/openrtm_ros_bridge
[rtmbuild_genidl] - _idl_file : /home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge/idl/AutoTestService.idl
[rtmbuild_genidl] - _idl_name : AutoTestService
[rtmbuild_genidl] - _idl_file : /home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge/idl/MyService.idl
[rtmbuild_genidl] - _idl_name : MyService
[rtmbuild_genbridge] generate OpenRTM-ROS bridges
[rtmbuild_genbridge] - openrtm_ros_bridge_autogen_interfaces : MyService;MyService
[rtmbuild_genbridge] - rtmbuild_add_executable : MyServiceROSBridgeComp
[rtmbuild_genbridge] - rtmbuild_add_executable : MyServiceROSBridgeComp
CMake Error at /home/yisha/workspace/jsk_ws/src/rtmros_common/rtmbuild/cmake/rtmbuild.cmake:286 (add_executable):
  add_executable cannot create target "MyServiceROSBridgeComp" because
  another target with the same name already exists.  The existing target is
  an executable created in source directory
  "/home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  /home/yisha/workspace/jsk_ws/src/rtmros_common/rtmbuild/cmake/rtmbuild.cmake:264 (rtmbuild_add_executable)
  CMakeLists.txt:63 (rtmbuild_genbridge)


CMake Error at /home/yisha/workspace/jsk_ws/src/rtmros_common/rtmbuild/cmake/rtmbuild.cmake:265 (add_custom_target):
  add_custom_target cannot create target
  "RTMBUILD_openrtm_ros_bridge_MyService_genbridge" because another target
  with the same name already exists.  The existing target is a custom target
  created in source directory
  "/home/yisha/workspace/jsk_ws/src/rtmros_common/openrtm_ros_bridge".  See
  documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  CMakeLists.txt:63 (rtmbuild_genbridge)


-- Configuring incomplete, errors occurred!
See also "/home/yisha/workspace/jsk_ws/build/openrtm_ros_bridge/CMakeFiles/CMakeOutput.log".
See also "/home/yisha/workspace/jsk_ws/build/openrtm_ros_bridge/CMakeFiles/CMakeError.log".
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