error using cegui_mk2-0.1.1.zip

Forum for general chit-chat or off-topic discussion.

Moderators: CEGUI MVP, CEGUI Team

User avatar
krithigal
Not too shy to talk
Not too shy to talk
Posts: 40
Joined: Wed Jan 12, 2005 12:06

error using cegui_mk2-0.1.1.zip

Postby krithigal » Mon Jan 31, 2005 10:58

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

User avatar
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

Postby CrazyEddie » Mon Jan 31, 2005 11:29

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:

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.

User avatar
krithigal
Not too shy to talk
Not too shy to talk
Posts: 40
Joined: Wed Jan 12, 2005 12:06

Re: error using cegui_mk2-0.1.1.zip

Postby krithigal » Tue Feb 01, 2005 04:45

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

User avatar
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

Postby CrazyEddie » Tue Feb 01, 2005 09:18

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


Return to “Offtopic Discussion”

Who is online

Users browsing this forum: No registered users and 6 guests