Page 1 of 1

Ogre Plugin

Posted: 04 Nov 2013, 14:14
by graffy
Sooo... The latest addition to the editor - sort of doesn't work for me. :)

Compiling the project generated linker errors (undefined references to ogereinit). A little digging and I realized the ogreinit component wasn't included in the components::CMakeLists.txt. So, I added it, deleted the cache, and re-ran CMake. No change. I can comment out the code that is tied to the new plugin, but I'd sooner not, obviously... Unless there's something to be added to the project-level CMake script, I'm at a bit of a loss...

Re: Ogre Plugin

Posted: 04 Nov 2013, 14:21
by Zini
ogreinit is handled in the components CMakeFile. And it builds out of the box for me.

Re: Ogre Plugin

Posted: 05 Nov 2013, 00:49
by graffy
Zini wrote:ogreinit is handled in the components CMakeFile. And it builds out of the box for me.
Right, and this is what I added:

Code: Select all

add_component_dir (ogreinit
    ogreinit
    ogreplugin
    )
But rerunning cmake under QtCreator doesn't make it appear... Hmmm...

edit:
Seems to be an issue with Qt Creator on my end...

Re: Ogre Plugin

Posted: 05 Nov 2013, 08:37
by Zini
I still don't understand why the add_component_dir is missing on your side. I assure you, it is present in master. If you don't have it, then your local repository is either broken our outdated.

Re: Ogre Plugin

Posted: 05 Nov 2013, 14:06
by graffy
nm.. I pulled form the wrong branch. I see it in master. I was pulling from openmw-27.