AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

cmake error

Open markusmat97 opened this issue 3 years ago • 3 comments

Bug report

  • AirSim Version/#commit:
  • UE/Unity version: 4.25
  • autopilot version:
  • OS Version:ubuntu 18.04

What's the issue you encountered?

i was building the ros package for airsim.I typed the command catkin build and I got the error mentioned below

Settings

How can the issue be reproduced?

Include full error message in text form

Errors << airsim_ros_pkgs:cmake /home/aimotion/catkin_ws/logs/airsim_ros_pkgs/build.cmake.004.log CMake Error at CMakeLists.txt:7 (add_subdirectory): add_subdirectory given source "/home/aimotion/catkin_ws/src/ros/src/airsim_ros_pkgs/../../..//cmake/rpclib_wrapper" which is not an existing directory.

CMake Error at CMakeLists.txt:8 (add_subdirectory): add_subdirectory given source "/home/aimotion/catkin_ws/src/ros/src/airsim_ros_pkgs/../../..//cmake/AirLib" which is not an existing directory.

CMake Error at CMakeLists.txt:9 (add_subdirectory): add_subdirectory given source "/home/aimotion/catkin_ws/src/ros/src/airsim_ros_pkgs/../../..//cmake/MavLinkCom" which is not an existing directory.

What's better than filing an issue? Filing a pull request :).

markusmat97 avatar Oct 26 '21 16:10 markusmat97

Did AirSim get compiled correctly before compiling the ROS wrapper? Try running the steps in https://microsoft.github.io/AirSim/airsim_ros_pkgs/#build in the order and make sure all succeeded

rajat2004 avatar Oct 26 '21 17:10 rajat2004

Yeah,I followed the same.i got the error when I do the catkin build.tried it with gcc --8 version but the same error

markusmat97 avatar Oct 26 '21 17:10 markusmat97

have you settled down this problem? I'm facing the same error. Could you please share your solutions?

JeroZe avatar May 24 '23 08:05 JeroZe