Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

CMake Error in turtlebot3_gazeboConfig.cmake - Unable to find /usr/include/sdformat-9.8 #213

Open
LuMingJun62511 opened this issue Dec 26, 2023 · 1 comment

Comments

@LuMingJun62511
Copy link

Issue Description

I encountered a CMake error while building the turtlebot3_gazebo package. The error message suggests that the project specifies '/usr/include/sdformat-9.8' as an include directory, but it is not found. The error occurs at line 113 in turtlebot3_gazeboConfig.cmake.

Steps to Reproduce

  1. Clone the turtlebot3_simulations repository.
  2. Build the workspace using catkin_make.
  3. Observe the reported CMake error.

Error Logs

I have attached the relevant portions of CMakeOutput.log and CMakeError.log to this issue for reference.

System Information

  • ROS Version: noetic
  • Operating System: Linux

Additional Context

I checked the project's issue tracker and did not find a similar report. Please let me know if further information is needed to address this issue.

@frienkie
Copy link

frienkie commented Dec 3, 2024

The most possible situation is that you update the sdformat package to 9.10. Noetic can only support 9.8 version.
use
ls /usr/include/sdformat-9.8
to check if 9.8 is still there. If not ,please use
sudo aptitude install libsdformat9-dev=9.8.0-1~focal
to install or downgrade it to 9.8.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants