Open ryought opened 6 years ago
ROS kineticは16.04向けだからもしかしたらその辺りが原因かも
16.04の間違いですすみません…
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial
==> Processing catkin package: 'robotx_tools'
==> Creating build directory: 'build_isolated/robotx_tools'
==> Building with env: '/home/ubuntu/ouxt/devel_isolated/robotx_navigation/env.sh'
==> cmake /home/ubuntu/ouxt/src/robotx_packages/robotx_tools -DCATKIN_DEVEL_PREFIX=/home/ubuntu/ouxt/devel_isolated/robotx_tools -DCMAKE_INSTALL_PREFIX=/home/ubuntu/ouxt/install_isolated -G Unix Makefiles in '/home/ubuntu/ouxt/build_isolated/robotx_tools'
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- 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/ubuntu/ouxt/devel_isolated/robotx_tools
-- Using CMAKE_PREFIX_PATH: /home/ubuntu/ouxt/devel_isolated/robotx_navigation;/home/ubuntu/ouxt/devel_isolated/robotx_driver;/home/ubuntu/ouxt/devel_isolated/robotx_msgs;/opt/ros/kinetic
-- This workspace overlays: /home/ubuntu/ouxt/devel_isolated/robotx_navigation;/home/ubuntu/ouxt/devel_isolated/robotx_driver;/home/ubuntu/ouxt/devel_isolated/robotx_msgs;/opt/ros/kinetic
-- Found PythonInterp: /usr/bin/python (found version "2.7.12")
-- 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/ubuntu/ouxt/build_isolated/robotx_tools/test_results
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- 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/gmock': gtests will be built
-- Using Python nosetests: /usr/bin/nosetests-2.7
-- catkin 0.7.11
-- Using these message generators: gencpp;geneus;genlisp;gennodejs;genpy
-- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found version "2.7.12")
-- Found OpenCV: /opt/ros/kinetic (found version "3.3.1")
-- robotx_tools: 0 messages, 1 services
-- Using Qt5 based on the rviz_QT_VERSION: 5.5.1
-- Configuring done
-- Generating done
-- Build files have been written to: /home/ubuntu/ouxt/build_isolated/robotx_tools
==> make -j1 -l1 in '/home/ubuntu/ouxt/build_isolated/robotx_tools'
Scanning dependencies of target robotx_tools_automoc
[ 8%] Automatic moc for target robotx_tools
Generating moc_overlay_gps_display.cpp
[ 8%] Built target robotx_tools_automoc
Scanning dependencies of target robotx_tools
[ 16%] Building CXX object CMakeFiles/robotx_tools.dir/src/overlay_gps_display.cpp.o
とりあえずrobotx_tools内部のCMakeLists.txtにあるoverlay_gps_gps_displayに関する部分をコメントアウトしてみて他ちゃんとビルドされるか確かめてみたらどうだろう??
Bug
Actual Behavior
awsのubuntu 16コンテナ内で実行しようとしたが、rosインストールしただけだとcppのコンパイルでスタックしてしまう。 実行時のログ:
stuck at the last line.
Steps to Reproduce the Problem
ros-kinetic-desktop-full
(follow http://wiki.ros.org/kinetic/Installation/Ubuntu)ros-dep
andcatkin_make
(follow README) under this structure:Specifications
New Feature