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

catkin build でエラー #22

Closed
hasidume opened this issue Jul 27, 2018 · 5 comments
Closed

catkin build でエラー #22

hasidume opened this issue Jul 27, 2018 · 5 comments

Comments

@hasidume
Copy link

インストール手順通りに柏の葉の環境にてインストールを試したところ、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
Copy link
Member

k-okada commented Jul 27, 2018

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

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

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

@hasidume
Copy link
Author

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

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

@hasidume
Copy link
Author

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

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

@hasidume
Copy link
Author

解決しました。

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

@k-okada
Copy link
Member

k-okada commented Jul 27, 2018 via email

@7675t 7675t closed this as completed Aug 3, 2018
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

3 participants