Page 1 of 1

Problems after Upgrading to Latest CVS Head

Posted: Sat Mar 26, 2005 15:26
by Legolas1681
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?

Re: Problems after Upgrading to Latest CVS Head

Posted: Sat Mar 26, 2005 18:40
by CrazyEddie
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.

Re: Problems after Upgrading to Latest CVS Head

Posted: Sat Mar 26, 2005 19:22
by Legolas1681
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.

Re: Problems after Upgrading to Latest CVS Head

Posted: Sun Mar 27, 2005 10:09
by CrazyEddie
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.

Re: Problems after Upgrading to Latest CVS Head

Posted: Fri Apr 01, 2005 06:17
by Legolas1681
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:

Re: Problems after Upgrading to Latest CVS Head

Posted: Fri Apr 01, 2005 08:44
by Guest
Could you provide me your files (CoW_Images.imageset and CoW_Images.tga) and let me do some tests with them?

--
Chris

Re: Problems after Upgrading to Latest CVS Head

Posted: Fri Apr 01, 2005 09:05
by Legolas1681

Re: Problems after Upgrading to Latest CVS Head

Posted: Fri Apr 01, 2005 09:18
by Guest
Thanks, i'll have a look tonight.

--
Chris

Re: Problems after Upgrading to Latest CVS Head

Posted: Fri Apr 01, 2005 17:25
by Guest
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

Re: Problems after Upgrading to Latest CVS Head

Posted: Fri Apr 01, 2005 20:10
by Legolas1681
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.