I have downloaded and successfully compiled cegui_mk2-0.1.1.zip. Has used cegui_mk2-deps-common.zip, cegui_mk2-deps-vc6-stlport4.6.2.zip available with the beta version of cegui-mk2 0.1.0.
But while using the cegui dll's in application (the application is to develop a new control), it gives compile errors referring to malloc.h file in Vc . error is "error C2143: syntax error : missing ';' before '.'". Similarly there are other errors referring to VC's include files.
Pl let us know whether the dependencies will also change w.r.t to new cegui-mk2 lib version 0.1.1.
Your help will be highly appreciated.
regards
krithiga
error using cegui_mk2-0.1.1.zip
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: error using cegui_mk2-0.1.1.zip
Hi,
You need to surround your CEGUI header includes with the ogre includes to disable / enable the memory manager. The errors are caused by a clash between the memory managers used by Ogre and Xerces-c.
Example:
Where you have this:
change it to this:
You could alternatively ensure that your CEGUI headers appear before any ogre ones.
With regards to dependencies, the current 0.1.0 / beta-1 dependencies are for use with 0.1.1 as well; there has been no change in the libraries required.
For an upcoming release (to support the Ogre 1.0 release), and all subsequent releases, there will no longer be any dependency upon the boost libraries so a new set of dependency packages will be issued. No other changes in dependencies are anticipated at this time.
CE.
You need to surround your CEGUI header includes with the ogre includes to disable / enable the memory manager. The errors are caused by a clash between the memory managers used by Ogre and Xerces-c.
Example:
Where you have this:
Code: Select all
#include <CEGUI.h>
change it to this:
Code: Select all
#include <OgreNoMemoryMacros.h>
#include <CEGUI.h>
#include <OgreMemoryMacros.h>
You could alternatively ensure that your CEGUI headers appear before any ogre ones.
With regards to dependencies, the current 0.1.0 / beta-1 dependencies are for use with 0.1.1 as well; there has been no change in the libraries required.
For an upcoming release (to support the Ogre 1.0 release), and all subsequent releases, there will no longer be any dependency upon the boost libraries so a new set of dependency packages will be issued. No other changes in dependencies are anticipated at this time.
CE.
Re: error using cegui_mk2-0.1.1.zip
Hi
Thanks for your information. As per your suggestion I am able to compile my control dll and test application using that dll.
But while executing the test Application using the latest dlls (i.e cegui ver 0.1.1), it displays the following error
"
Error #:7
Function:ResourceManager::_findResourceData
Description:Resource GUI Scheme.xsdnot found.
File:c:\ogre\ogrenew\ogremain\src\ogreresourcemanager.cpp
Line:249
Stack unwinding:<<begining of stack>>
"
Pl let me know how to resolve this error.
Looking forward towards your help.
thanks in advance
krithiga
Thanks for your information. As per your suggestion I am able to compile my control dll and test application using that dll.
But while executing the test Application using the latest dlls (i.e cegui ver 0.1.1), it displays the following error
"
Error #:7
Function:ResourceManager::_findResourceData
Description:Resource GUI Scheme.xsdnot found.
File:c:\ogre\ogrenew\ogremain\src\ogreresourcemanager.cpp
Line:249
Stack unwinding:<<begining of stack>>
"
Pl let me know how to resolve this error.
Looking forward towards your help.
thanks in advance
krithiga
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: error using cegui_mk2-0.1.1.zip
You need to ensure that the files are accessible to the Ogre resource manager; this can be done by adding paths to the resources.cfg file.
Btw, this kind of post should be posted in the Help forum.
CE
Btw, this kind of post should be posted in the Help forum.
CE
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 6 guests