gazebosim / gz-rendering

C++ library designed to provide an abstraction for different rendering engines. It offers unified APIs for creating 3D graphics applications.
https://gazebosim.org
Apache License 2.0
50 stars 48 forks source link

Undefined Symbol in libgz-rendering-7(or 9)-ogre2 on Ubuntu 22.04.4 LTS #999

Open Jack-ReframeSystems opened 2 months ago

Jack-ReframeSystems commented 2 months ago

Environment

You can see setupRootLayout got a new signature which is not used in the gz-rendering codebase.

Description

  1. Try and build Gz-Garden from source on Ubuntu 22.04.4 LTS
  2. Run gz sim and load up any simulation world.
traversaro commented 2 months ago

I see that both ogre-next 2.3.1 and 2.2.5 are installed by apt, that as you correctly point out are not ABI-compatible. Can you try to uninstall one of the two, and try to re-comile gz-rendering (and any downstream package that depends from gz-rendering and you are compiling from source) from a clean build? My guess is that the problem should disappear.