When I try to run any of the sample programs, I get this:
Code: Select all
An exception has occured: OGRE EXCEPTION(0:IOException): showConfigDialog is not supported on Emscripten in Root::showConfigDialog at /Volumes/Work/git-repos/ogre-next-fork/OgreMain/src/OgreRoot.cpp (line 631)
In Root::showConfigDialog
, I see this:
Code: Select all
#if OGRE_PLATFORM == OGRE_PLATFORM_EMSCRIPTEN || defined( OGRE_CONFIG_UNIX_NO_X11 )
OGRE_EXCEPT( Exception::ERR_CANNOT_WRITE_TO_FILE,
"showConfigDialog is not supported on Emscripten", "Root::showConfigDialog" );
#endif
In OgreBuildSettings.h, I do see that OGRE_CONFIG_UNIX_NO_X11
is defined. This seems reasonable to me, since macOS is a flavor of Unix that does not usually use X11, but is it wrong? (I have no idea what Emscripten is.)