Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Compiling on Debian Bookworm #2319

Closed
firth650 opened this issue Feb 19, 2024 · 1 comment
Closed

Compiling on Debian Bookworm #2319

firth650 opened this issue Feb 19, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@firth650
Copy link

Environment

  • OS Version: Debian bookworm
  • Source or binary? Source
    Version: Fortress

Description

  • Expected behavior: Gz compiles to completion successfully
  • Actual behavior: Fails to compile

Steps to reproduce

  1. On Debian Bookworm I've followed the install instructions from here, https://gazebosim.org/docs/fortress/install_ubuntu_src
    I'm aware those instructions are for Ubuntu however, I've been able to get most everything else ROS2 related to compile.

  2. Please note that this has already been raised here Compiling on Debian Bookworm #2213 with exactly the same error messages, however the suggested solution to remove any previously installed ignition libraries, has made no difference for me.

  3. I've also tried "garden" and this build falls over at the same point. I really want "Fortress" as it's the requisite version to use with my Ros2-humble installation.

Output

Starting >>> ignition-rendering6
--- stderr: ignition-rendering6
CMake Warning at /usr/share/cmake-3.25/Modules/CMakeFindDependencyMacro.cmake:47 (find_package):
By not providing "Findignition-common4-graphics.cmake" in CMAKE_MODULE_PATH
this project has asked CMake to find a package configuration file provided
by "ignition-common4-graphics", but CMake did not find one.

Could not find a package configuration file provided by
"ignition-common4-graphics" (requested version 4.7.0) with any of the
following names:

ignition-common4-graphicsConfig.cmake
ignition-common4-graphics-config.cmake

Add the installation prefix of "ignition-common4-graphics" to
CMAKE_PREFIX_PATH or set "ignition-common4-graphics_DIR" to a directory
containing one of the above files. If "ignition-common4-graphics" provides
a separate development package or SDK, be sure it has been installed.
Call Stack (most recent call first):
/home/robot/SW/Gazebo/src/src/install/lib/cmake/ignition-common4/ignition-common4-config.cmake:187 (find_dependency)
/home/robot/SW/Gazebo/src/src/install/share/cmake/ignition-cmake2/cmake2/IgnUtils.cmake:197 (find_package)
CMakeLists.txt:41 (ign_find_package)

CMake Warning at /home/robot/SW/Gazebo/src/src/install/share/cmake/ignition-cmake2/cmake2/IgnUtils.cmake:197 (find_package):
Found package configuration file:

/home/robot/SW/Gazebo/src/src/install/lib/cmake/ignition-common4/ignition-common4-config.cmake

but it set ignition-common4_FOUND to FALSE so package "ignition-common4" is
considered to be NOT FOUND. Reason given by package:

ignition-common4 could not be found because dependency
ignition-common4-graphics could not be found.

Call Stack (most recent call first):
CMakeLists.txt:41 (ign_find_package)

UDA_TOOLKIT_ROOT_DIR not found or specified
CMake Warning at /home/robot/SW/Gazebo/src/src/install/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:55 (message):
CONFIGURATION WARNINGS:
-- Skipping component [ogre]: Missing dependency [IgnOGRE] (Components: RTShaderSystem, Terrain, Overlay, Paging).
^~~~~ Set SKIP_ogre=true in cmake to suppress this warning.

-- Skipping component [optix]: Missing dependency [OptiX].
^~~~~ Set SKIP_optix=true in cmake to suppress this warning.

Call Stack (most recent call first):
CMakeLists.txt:173 (ign_configure_build)

CMake Error at /home/robot/SW/Gazebo/src/src/install/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:59 (message):
-- BUILD ERRORS: These must be resolved before compiling.
Call Stack (most recent call first):
CMakeLists.txt:173 (ign_configure_build)

CMake Error at /home/robot/SW/Gazebo/src/src/install/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:61 (message):
-- Missing dependency [ignition-common4] (Components: graphics, events)
Call Stack (most recent call first):
CMakeLists.txt:173 (ign_configure_build)

CMake Error at /home/robot/SW/Gazebo/src/src/install/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:63 (message):
-- END BUILD ERRORS

Call Stack (most recent call first):
CMakeLists.txt:173 (ign_configure_build)

CMake Error at /home/robot/SW/Gazebo/src/src/install/share/cmake/ignition-cmake2/cmake2/IgnConfigureBuild.cmake:68 (message):
Errors encountered in build. Please see BUILD ERRORS above.
Call Stack (most recent call first):
CMakeLists.txt:173 (ign_configure_build)

@firth650 firth650 added the bug Something isn't working label Feb 19, 2024
@firth650
Copy link
Author

This error always occurs when reaching "rendering6". To progress debug, I started with a clean Debian-bookworm image, with no additional software installed, Using this, then Gazebo will compile: It appears therefore that there is something amiss in my system, rather than a Gazebo build bug. I''l research this further, however, it can be closed as a bug.

@github-project-automation github-project-automation bot moved this from Inbox to Done in Core development Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant