Page 1 of 1

[2.1] OgreHlmsUnlitDatablock.h not found

Posted: Thu Feb 08, 2018 2:31 pm
by ven
Trying to build MyGUI, it requires Ogre::HlmsUnlitDatablock (through #include <Hlms/Unlit/OgreHlmsUnlitDatablock.h>)
Found in API reference this: #include <OgreHlmsUnlitDatablock.h>, but this file is also not found anywhere.
What can be done?

Re: [2.1] OgreHlmsUnlitDatablock.h not found

Posted: Thu Feb 08, 2018 4:05 pm
by Hrenli
ven wrote: Thu Feb 08, 2018 2:31 pmthis file is also not found anywhere.
In built Ogre 2.1 SDK it is located at <wherever you built it>/include/OGRE/Hlms/Unlit and the source is at <ogre>/Components/Hlms/Unlit/include (https://bitbucket.org/sinbad/ogre/src/2 ... e/?at=v2-1)

Re: [2.1] OgreHlmsUnlitDatablock.h not found

Posted: Thu Feb 08, 2018 7:46 pm
by ven
I can not find the required directory <wherever you built it>/include/OGRE/Hlms/Unlit. In source <ogre>/Components/Hlms/Unlit/include is present.

The answer.

Directory <wherever you built it> is the directory wherever you installed OGRE by script "make install". The installation directory is specified in CMAKE_INSTALL_PREFIX. At least so on linux.