Problems after Upgrading to Latest CVS Head

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Problems after Upgrading to Latest CVS Head

Postby Legolas1681 » Sat Mar 26, 2005 15:26

Since upgrading to the latest CVS head, my project will no longer compile and gives the following error:

Code: Select all

C:\Program Files\Accessories\Microsoft Visual Studio .NET\VC7\include\utility(23) : fatal error C1076: compiler limit : internal heap limit reached; use /Zm to specify a higher limit


I have tried the '/Zm' tag, but no matter how high I set the limit, it still won't compile. Any help would be greatly appreciated.

EDIT: Okay, was putting the tag in the linker command line options instead of the compiler command line options. :oops:

I have, however, encountered another problem. Now the program crashes with the following in the log file:

Code: Select all

26/03/2005 15:29:29 (InfL1)   Attempting to create an Imageset from the information specified in file 'CoW_Images.imageset'.
26/03/2005 15:29:29 (Error)   Exception: Imageset::xmlHandler::startElement - An unexpected error occurred while creating a Texture object from file '../Bitmaps/CoW_Images.tga'
26/03/2005 15:29:29 (Error)   XercesParser::parseXMLFile - An unexpected error occurred while parsing XML file 'CoW_Images.imageset'.
26/03/2005 15:29:29 (Error)   Imageset::load - loading of Imageset from file 'CoW_Images.imageset' failed.
26/03/2005 15:29:29 (Error)   Exception: WindowManager::getWindow - A Window object with the name 'ProgressBar0000' does not exist within the system


The image itself (which is a 1024x1024x24 TGA used as a splash screen) nor the script file has been changed. Has there been a change in CEGUI that could cause this problem?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Problems after Upgrading to Latest CVS Head

Postby CrazyEddie » Sat Mar 26, 2005 18:40

What did you upgrade from?

There have been vast changes in CEGUI, though things should not have broken in this manner. The test apps that I use (via the samples system) still function unchanged.

Which renderer are you using? If you're using Ogre is there anything in the Ogre.log indicating a problem loading the tga file?

CE.

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Re: Problems after Upgrading to Latest CVS Head

Postby Legolas1681 » Sat Mar 26, 2005 19:22

I'm using the OGRE renderer, but there are no errors at all in Ogre.log. Here is the imageset script file I'm using:

Code: Select all

<?xml version="1.0" ?>
<Imageset Name="CoW_Images" Imagefile="../Bitmaps/CoW_Images.tga" NativeHorzRes="1152" NativeVertRes="864" AutoScaled="false">
  <Image Name="Picture" XPos="000" YPos="000" Width="1024" Height="1024" />
</Imageset>


Since I'm not sure how to check what version of CEGUI I'm using, I can't say what version I upgraded from.

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Re: Problems after Upgrading to Latest CVS Head

Postby CrazyEddie » Sun Mar 27, 2005 10:09

That exception gets thrown in response to catching and exception eminating from the following line:

Code: Select all

d_imageset->d_texture = System::getSingleton().getRenderer()->createTexture(filename, resourceGroup);


Usually if the file can not be found, there's an entry in Ogre.log, so it seems this is not the problem. However, the issue is definately being caused by not being able to load the image file, could you double-check to make sure there's no problem with the image file (I have seen this issue caused by using PSP for editing which has buggy Targa saving code).

CE.

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Re: Problems after Upgrading to Latest CVS Head

Postby Legolas1681 » Fri Apr 01, 2005 06:17

Sorry it took me so long to respond again, but I was out of town.

Anyways, I know there is nothing wrong with the image file. I have used image programs other than PSP (i.e. IrfanView) and have saved in other formats, but to no evail. The only thing that changed between the last time it worked perfectly and now is, upgrading to the latest CVS Head.

P.S. - I'm wondering if all the talk about CrazyEddie leaving is an elaborate April Fool's joke (though an early one if so)... :roll:

Guest

Re: Problems after Upgrading to Latest CVS Head

Postby Guest » Fri Apr 01, 2005 08:44

Could you provide me your files (CoW_Images.imageset and CoW_Images.tga) and let me do some tests with them?

--
Chris

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Re: Problems after Upgrading to Latest CVS Head

Postby Legolas1681 » Fri Apr 01, 2005 09:05


Guest

Re: Problems after Upgrading to Latest CVS Head

Postby Guest » Fri Apr 01, 2005 09:18

Thanks, i'll have a look tonight.

--
Chris

Guest

Re: Problems after Upgrading to Latest CVS Head

Postby Guest » Fri Apr 01, 2005 17:25

This is definitely a path problem. It works perfectly here :

Image

I suggest you check your resources.cfg again and make sure the imageset and the image are in.

--
Chris

User avatar
Legolas1681
Not too shy to talk
Not too shy to talk
Posts: 24
Joined: Fri Jan 28, 2005 00:32

Re: Problems after Upgrading to Latest CVS Head

Postby Legolas1681 » Fri Apr 01, 2005 20:10

Well, nothing I tried worked, so I just deleted CEGUI and reaquired CVS Head. I proceeded to rebuild everything and now it works perfectly. Oh well, I guess I wont ever know exactly why it wouldn't work.


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 7 guests