tork-a / jog_control

Apache License 2.0
56 stars 18 forks source link

catkin build でエラー #22

Closed hasidume closed 6 years ago

hasidume commented 6 years ago

インストール手順通りに柏の葉の環境にてインストールを試したところ、catkin_makeで発生したものと同様な以下のエラーが発生します。

Errors << jog_controller:cmake /home/rosusr/ws/logs/jog_controller/build.cmake.001.log CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:76 (find_package): Could not find a package configuration file provided by "moveit_visual_tools" with any of the following names:

moveit_visual_toolsConfig.cmake
moveit_visual_tools-config.cmake

Add the installation prefix of "moveit_visual_tools" to CMAKE_PREFIX_PATH or set "moveit_visual_tools_DIR" to a directory containing one of the above files. If "moveit_visual_tools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:6 (find_package)

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkinConfig.cmake:83 (find_package): Could not find a package configuration file provided by "moveit_visual_tools" with any of the following names:

moveit_visual_toolsConfig.cmake
moveit_visual_tools-config.cmake

Add the installation prefix of "moveit_visual_tools" to CMAKE_PREFIX_PATH or set "moveit_visual_tools_DIR" to a directory containing one of the above files. If "moveit_visual_tools" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): CMakeLists.txt:6 (find_package)

cd /home/rosusr/ws/build/jog_controller; catkin build --get-env jog_controller | catkin env -si /usr/bin/cmake /home/rosusr/ws/src/jog_control/jog_controller --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/rosusr/ws/devel/.private/jog_controller -DCMAKE_INSTALL_PREFIX=/home/rosusr/ws/install; cd - ............................................................................... Failed << jog_controller:cmake [ Exited with code 1 ]
Failed <<< jog_controller [ 1.2 seconds ]

k-okada commented 6 years ago

ros-kinetic-moveit-visual-tools がインストールされていないので, workspaceで

rosdep install -r --from-path src --ignore-src

をする必要があるかとおもいます. もう一度このコマンドを実行しその時の結果を教えてください.

hasidume commented 6 years ago

岡田先生、サポート頂き有難う御座います。

ご指示があったコマンドを実行後、catkin build しましたが、状況は変わりませんでした。 (2回繰り返しましたが、状況は変わりませんです。)

hasidume commented 6 years ago

実行したrosdepのコマンドを見ると取得に失敗しているようなので、ubuntuのネットワーク設定の問題かと思います。まずはこちらの方でネットワーク周りを調査してみます。

サポート、有難う御座いました。

hasidume commented 6 years ago

解決しました。

rosdep の出力結果に、apt-get update を実行する旨の記載がありましたため、 sudo apt-get update 後に、rosdep コマンドを実行したところ、catkin build が通りました。

k-okada commented 6 years ago

お、ナルホド。そうですね。それがないとダメですね 自己解決して良かったです。

2018年7月27日(金) 12:05 Kei Okada notifications@github.com:

ros-kinetic-moveit-visual-tools がインストールされていないので, workspaceで

rosdep install -r --from-path src --ignore-src

をする必要があるかとおもいます. もう一度このコマンドを実行しその時の結果を教えてください.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tork-a/jog_control/issues/22#issuecomment-408297701, or mute the thread https://github.com/notifications/unsubscribe-auth/AAeG3Av9jSHJ-4hUc84RYEgz3cqb2W2uks5uKoNlgaJpZM4Viya2 .

--

◉ Kei Okada