@rochus Tried to compile on Arch Linux with your patch today. Found out that Gazebo still needs one patch in gazebo/rendering/RenderEngine.cc
at line 427:
+++
#if (OGRE_VERSION >= ((1 << 16) | (11 << 8) | 0))
plugins.push_back(path+"/Codec_EXR");
plugins.push_back(path+"/Codec_FreeImage");
#endif
plugins.push_back(path+"/RenderSystem_GL");
plugins.push_back(path+"/Plugin_ParticleFX");
plugins.push_back(path+"/Plugin_BSPSceneManager");
plugins.push_back(path+"/Plugin_OctreeSceneManager");
Plus you need to use asp export ogre
to get the PKGBUILD of Ogre 1.11 and change the cmake options:
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DOGRE_BUILD_DEPENDENCIES=FALSE \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DOpenGL_GL_PREFERENCE=GLVND \
-DOGRE_BUILD_PLUGIN_FREEIMAGE=TRUE
Confirmed that Gazebo 9.0.0 works seamlessly after these patches.
Pinned Comments
billypilgrim commented on 2022-05-09 16:04 (UTC)
Development is on Github: https://github.com/acxz/gazebo-arch Please open issues and PRs there instead of commenting.