[2.3.0] OgreGL3PlusBuildSettings.h missing in SDK Topic is solved

Problems building or running the engine, queries about how to use features etc.
Post Reply
z is up
Gnoblar
Posts: 9
Joined: Fri Nov 26, 2021 10:52 am
x 1

[2.3.0] OgreGL3PlusBuildSettings.h missing in SDK

Post by z is up »

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?

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: [2.3.0] OgreGL3PlusBuildSettings.h missing in SDK

Post by dark_sylinc »

This will be fixed in the next 2.3 release

Post Reply