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:
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
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