Ogre Version: Next 2.3.0
Operating System: Windows 10
Render System: OpenGL
When trying to compile with and statically link against the precompiled SDK from the releases page on GitHub, my preprocessor complains about a missing OgreGL3PlusBuildSettings.h. This file is nowhere to be found in the SDK package.
Code: Select all
...\ogre-sdk-v2.3.0-vc19-x64\sdk\include\OGRE\RenderSystems\GL3Plus\OgreGL3PlusPrerequisites.h(35,10): fatal error C1083: Cannot open include file: 'OgreGL3PlusBuildSettings.h': No such file or directory
I know from building Ogre myself that it doesn't get copied into the SDK folder from CMake, but that it is present in the sources. Why is that? And how can it be that nobody ever had this issue before? (Googling OgreGL3PlusBuildSettings.h yields no results)
Edit #1:
I'm probably not supposed to instantiate the render system, but rather dynamically load it. But is it discouraged to hardcode the use of one render system and just instantiate it?
Code: Select all
#include <OGRE/RenderSystems/GL3Plus/OgreGL3PlusRenderSystem.h>
// ...
m_ogre = new Ogre::Root("", "", "");
m_renderSystem = new Ogre::GL3PlusRenderSystem();
m_ogre->setRenderSystem(m_renderSystem);
Or maybe in other words: what are the reasons not to copy/ship the OgreGL3PlusBuildSettings.h?