acxz / gazebo-arch

A collection of Arch Linux PKGBUILDS for the Gazebo Simulator
19 stars 11 forks source link

[ignition-gazebo] unable to initialize renderer #2

Closed acxz closed 11 months ago

acxz commented 2 years ago

gz sim shapes.sdf:

[GUI] [Err] [RenderEngineManager.cc:517] Failed to load plugin [ogre2] : couldn't find shared library.
[GUI] [Err] [RenderEngineManager.cc:517] Failed to load plugin [ogre2] : couldn't find shared library.
mahiuchun commented 2 years ago

It needs ogre2 (aka ogre-next). OSRF uses forked versions of ogre2 here: https://github.com/gazebo-forks

Alternatively, we could set the rendering engine to ogre. I see there is already an ogre-1.9 package here.

acxz commented 2 years ago

Launching gazebo with gz sim --render-engine ogre shapes.sdf allows for the program to run successfully.

acxz commented 2 years ago

@mahiuchun I tried building with ogre-next from Arch repos (i.e. ogre2) and got some build issues. Didn't try the forks, but I would rather just use ogre-1.9 then try building with a fork.

Alternatively, we could set the rendering engine to ogre

Let's try to accomplish that, in the meanwhile I'll rec people to use the above command that launches with ogre manually.

Building with ogre-next-2.2.4 does work, but the latest ogre-next does not have support in ignition-rendering yet.

acxz commented 2 years ago

upstream PR: https://github.com/gazebosim/gz-rendering/pull/553

acxz commented 1 year ago

Keeping this issue open until ogre-next is added as a dep.

goekce commented 1 year ago

My PR #53 could be related. I was not aware of this current issue.

acxz commented 11 months ago

Closed with 3a3dad2