I'm using static libraries for Ogre Next 3.0.0. When the showConfigDialog() comes up there isn't a list of render systems to select from.
I did link w/ the opengl render system...
Code: Select all
target_link_libraries(hello_ogre_next
OgreHlmsPbsStatic_d OgreHlmsUnlitStatic_d RenderSystem_GL3PlusStatic_d
OgreSamplesCommon_d
OgreMainStatic_d
X11 xcb freeimage zzip Xt Xrandr Xaw)
At first I thought plugins_d.cfg needed something but that seems to only deal with shared libraries as whatever I name in there it put a ".so" extension on the end in the error that follows.
Code: Select all
# Defines plugins to load
# Define plugin folder
PluginFolder=Dependencies/ogre-next/build/Debug/lib
# Define plugins
Plugin=RenderSystem_GL3PlusStatic_d
Gives me:
Code: Select all
terminate called after throwing an instance of 'Ogre::InternalErrorException'
what(): OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library Dependencies/ogre-next/build/Debug/lib/RenderSystem_GL3PlusStatic_d. System Error: Dependencies/ogre-next/build/Debug/lib/RenderSystem_GL3PlusStatic_d.so.3.0: cannot open shared object file: No such file or directory in DynLib::load at /home/dsobiera/src/vendor/ogre-next/OgreMain/src/OgreDynLib.cpp (line 107)
Dependencies/ogre-next/build/Debug/lib/ contains:
Code: Select all
libOgreAtmosphereStatic_d.a
libOgreHlmsPbsStatic_d.a
libOgreHlmsUnlitStatic_d.a
libOgreMainStatic_d.a
libOgreMeshLodGeneratorStatic_d.a
libOgreOverlayStatic_d.a
libOgreSamplesCommon_d.a
libOgreSceneFormatStatic_d.a
libPlugin_ParticleFXStatic_d.a
libRenderSystem_GL3PlusStatic_d.a
libRenderSystem_NULLStatic_d.a
libRenderSystem_VulkanStatic_d.a
Any idea what I am doing wrong?