Open nikboy111 opened 2 years ago
Hello @nikboy111.
I think you built gazebo_ros_pkgs as a source file.
$ sudo apt install ros-foxy-gazebo-ros-pkgs
Please install it as a binary rather than a build from source.
Thank you.
Hello @ashekim,
thank you for your answer! I've tried what you suggested and installed/upgraded the binary but still get the same error when building the turtlebot workspace. Any other ideas?
Error:
--- stderr: turtlebot3_gazebo
CMake Error in CMakeLists.txt: Imported target "dart" includes non-existent path"/include"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
The path was deleted, renamed, or moved to another location.
An install or uninstall procedure did not complete successfully.
The installation package was faulty and references files it does not provide.
CMake Generate step failed. Build files cannot be regenerated correctly.
Failed <<< turtlebot3_gazebo [15.6s, exited with code 1]
Summary: 13 packages finished [18.8s] 1 package failed: turtlebot3_gazebo 1 package had stderr output: turtlebot3_gazebo 1 package not processed
If you have tried with reinstall gazebo_ros_pkgs
,
$ sudo apt install ros-foxy-gazebo-ros-pkgs
and still got error,
Can you try source your gazebo and then build it?
$ source /usr/share/gazebo/setup.sh
$ source/opt/ros/foxy/setu[.bash
$ colcon build --symlink-install
ISSUE TEMPLATE ver. 0.4.0
Which TurtleBot3 platform do you use?
Which ROS is working with TurtleBot3?
Which SBC(Single Board Computer) is working on TurtleBot3?
Which OS you installed on SBC?
Which OS you installed on Remote PC?
Specify the software and firmware version(Can be found from Bringup messages)
Specify the commands or instructions to reproduce the issue.
I've been trying to setup the Turtlebot3 simulation using the e-manua for several days now, but I'm still running into the same problem over and over again. Following the instruction of the manual made me install Gazebo for ROS using the debian package:
After i follow the manual for the installation of the simulation I run into the following error when building the workspace:
Browsing through the forums for answers I found out that installing the gazebo_ros packages would help. so i did that following these instructions which make me run into the following problem while building:
Does anyone know how to fix this? Sicerly Niklas