[Part 2] Compiling against Ogre svn trunk (Cthuga 1.7)

steven

25-05-2009 03:26:17

Hey

Using the VC80 sln and compiling MyGUI trunk (rev 1944 -25 mai 09) against Ogre svn trunk (rev 8620 - 24 may 09)
gives me the following error:

1>c:\work\library\mygui\my-gui\trunk\myguiengine\include\mygui_customallocator.h(29) : fatal error C1083: Cannot open include file: 'OgreMemoryManager.h': No such file or directory

The code compiles if I remove the preprocessor definition MYGUI_CUSTOM_ALLOCATOR
and if you comment out the line 2 in \Common\precompiled.h

The problem is that OgreMemoryManager.h & OgreNoMemoryManager.h was removed from ogre trunk since.... 30 may 2008 (rev 7541) So I would suggest to either convert the code to the new ogre allocator or to remove the preprocessor definition by default.

Also some projects needed updated include directories (such as Demo_Colour which doesn't include RenderSystems\Ogre\OgreRenderSystem\include to access MyGUI_OgrePlatform.h

Btw why not use a MyGUI_Config.h file where you would put the various definitions with some explanations?

MYGUI_DONT_REPLACE_NULLPTR
MYGUI_CUSTOM_ALLOCATOR


Regards

Five_stars

25-05-2009 04:51:46

Current (from 1900(I guess) - ...) isn't stable and some things don't work now.
I think it's good idea now download archive file MyGUI 2.2.2 from http://sourceforge.net/project/showfile ... _id=671292 .

steven

25-05-2009 04:53:18

[EDIT] you posted right before me ;) [/EDIT]

Mh... is seems I have still your Bootstrap issue.

When I run Demo_Colour I get

14:04:07: OGRE EXCEPTION(5:ItemIdentityException): Cannot find an archive factory to deal with archive of type Bootstrap in ArchiveManager::load at .\src\OgreArchiveManager.cpp (line 66)


Did you resolve it?

Altren

25-05-2009 06:43:50

What are you talking about? There was no issue in my post there and error posted there was just example.

steven

25-05-2009 07:39:06

Euh... I should perhaps have said "Do you know if this issue is resolved?" :)

If I copy OgreMain.dll, OIS.dll, RenderSystem_Direct3D9.dll and RenderSystem_GL.dll in my-gui/trunk/Shared/release
and the launch Demo_Colour I get this exception.

As you mention this exception in the thread and as far as I understand I thought that Sinbad did correct this missing Bootstrap group. Am I not right?

Anyway I have this exception and couldn't yet find why. OgreCore.zip being in the correct folder.