ROBOTIS-GIT / turtlebot3_simulations

Simulations for TurtleBot3
http://turtlebot3.robotis.com/
Apache License 2.0
329 stars 434 forks source link

CMake Warning in catkin_make turtlebot3_gazebo #121

Closed GuancongLuo closed 4 years ago

GuancongLuo commented 4 years ago

My system environment: Ubuntu 20.04 I using follow command to install gazebo curl -sSL http://get.gazebosim.org | sh $gazebo --version Gazebo multi-robot simulator, version 11.1.0 Copyright (C) 2012 Open Source Robotics Foundation. Released under the Apache 2 License. http://gazebosim.org And them, I install ros_noetic. Finially, git clone turtlebot3_simulations (tag 1.2.0).

When I catkin make turtlebot3_simulations, I got the CMake Warning as follow: CMake Warning at /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'gazebo' but neither 'gazebo_INCLUDE_DIRS' nor 'gazebo_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/noetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) turtlebot3_simulations/turtlebot3_gazebo/CMakeLists.txt:40 (catkin_package)

how to fix that?

Thank you!

GuancongLuo commented 4 years ago

Maybe is same problem issue#94 @rjshim

JaehyunShim commented 4 years ago

@ashekim can you help him with finding a solution to this issue? Thanks. Ryan

ROBOTIS-Ashe commented 4 years ago

@GuancongLuo Hi. Thank you for your questions. I will check this issue and get back to you.

Thank you.

ROBOTIS-Ashe commented 4 years ago

@GuancongLuo

This issue seems to be caused by problem with the CMakeLists.txt I looked for issues similar to yours. It would be nice to refer to the link.

Also, I just recommended to ask on the ROS forum. Please refer to it and let me know the result. Thank you.

GuancongLuo commented 4 years ago

using gazebo-11 in the DEPENDS can't resolved the problem!

But it's no matter, gazebo is running normally.

Thank you for you help!

ROBOTIS-Ashe commented 4 years ago

@GuancongLuo I would greatly appreciate it! If you have any question or suggest, please ask to me any time. Thanks :)