ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.26k stars 767 forks source link

problem building the gazebo_plugins #361

Open AlexMalo opened 7 years ago

AlexMalo commented 7 years ago

Hi, I am trying to build the rotors_simulator, but there is a hiccup in the process, specifically in the rotors_gazebo

badalex2@ubuntu:~/catkin_ws$ catkin build rotors_gazebo

Profile: default Extending: [cached] /opt/ros/kinetic Workspace: /home/badalex2/catkin_ws

Source Space: [exists] /home/badalex2/catkin_ws/src Log Space: [exists] /home/badalex2/catkin_ws/logs Build Space: [exists] /home/badalex2/catkin_ws/build Devel Space: [exists] /home/badalex2/catkin_ws/devel Install Space: [unused] /home/badalex2/catkin_ws/install DESTDIR: [unused] None

Devel Space Layout: linked Install Space Layout: None

Additional CMake Args: None Additional Make Args: None Additional catkin Make Args: None Internal Make Job Server: True Cache Job Environments: False

Whitelisted Packages: None Blacklisted Packages: None

Workspace configuration appears valid.

[build] Found '20' packages in 0.0 seconds.
[build] Package table is up to date.
Starting >>> catkin_simple
Starting >>> mav_msgs
Finished <<< catkin_simple [ 0.3 seconds ]
Starting >>> rotors_comm
Finished <<< mav_msgs [ 1.8 seconds ]
Starting >>> yaml_cpp_catkin
Finished <<< rotors_comm [ 1.8 seconds ]
Starting >>> rotors_control
Finished <<< yaml_cpp_catkin [ 0.5 seconds ]
Finished <<< rotors_control [ 1.4 seconds ]
Starting >>> rotors_gazebo_plugins


Errors << rotors_gazebo_plugins:cmake /home/badalex2/catkin_ws/logs/rotors_gazebo_plugins/build.cmake.001.log
CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'eigen' but neither 'eigen_INCLUDE_DIRS' nor 'eigen_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) CMakeLists.txt:191 (catkin_package)

CMake Warning at /opt/ros/kinetic/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/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) CMakeLists.txt:191 (catkin_package)

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'octomap' but neither 'octomap_INCLUDE_DIRS' nor 'octomap_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) CMakeLists.txt:191 (catkin_package)

CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message): catkin_package() DEPENDS on 'opencv' but neither 'opencv_INCLUDE_DIRS' nor 'opencv_LIBRARIES' is defined. Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) CMakeLists.txt:191 (catkin_package)

CMake Error at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:298 (message): catkin_package() absolute include dir '/home/badalex2/catkin_ws/devel/.private/rotors_gazebo_plugins/include/' does not exist Call Stack (most recent call first): /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:102 (_catkin_package) CMakeLists.txt:191 (catkin_package)

cd /home/badalex2/catkin_ws/build/rotors_gazebo_plugins; catkin build --get-env rotors_gazebo_plugins | catkin env -si /usr/bin/cmake /home/badalex2/catkin_ws/src/rotors_simulator/rotors_gazebo_plugins --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/badalex2/catkin_ws/devel/.private/rotors_gazebo_plugins -DCMAKE_INSTALL_PREFIX=/home/badalex2/catkin_ws/install; cd - ............................................................................................................................................................. Failed << rotors_gazebo_plugins:cmake [ Exited with code 1 ]
Failed <<< rotors_gazebo_plugins [ 1.7 seconds ]
Abandoned <<< rotors_gazebo [ Unrelated job failed ]
[build] Summary: 5 of 7 packages succeeded.
[build] Ignored: 13 packages were skipped or are blacklisted.
[build] Warnings: None.
[build] Abandoned: 1 packages were abandoned.
[build] Failed: 1 packages failed.
[build] Runtime: 5.3 seconds total.

Michael9792 commented 7 years ago

Hi, since catkin cannot find gazebo octomap opencv package, I'm wondering if you have installed full version of ros kinetic. Also, if you still have the problem which says "catkin_package() absolute include dir does not exist", you can refer to issue #355 to solve it.