Page 1 of 1

Upgrading from 0.5 to 0.75 issues

Posted: Sat Jan 08, 2011 05:01
by quasius
Hello,

I am trying to upgrade from 0.5 to 0.75 and deal with any breaking changes.
I immediately noticed several. For example, these functions no longer exist:

Code: Select all

CEGUI::ImagesetManager::getSingleton().createImagesetFromImageFile("FooImage", sFileName);
CEGUI::ImagesetManager::getSingleton().destroyImageset("FooImage");


A new OpenGLRenderer now takes a "TextureTargetType" in the constructor, etc.


I can probably figure the changes out, but I was wondering if there was any place with an "upgrading" guide? (I can't imagine I'm the only person who's attempted this!)

Thanks for any info.

Re: Upgrading from 0.5 to 0.75 issues

Posted: Sat Jan 08, 2011 11:45
by Kulik
AFAIK there aren't many API changes between 0.5 and 0.6

Take a look at the porting tips

http://www.cegui.org.uk/wiki/index.php? ... tips&go=Go

Re: Upgrading from 0.5 to 0.75 issues

Posted: Sun Jan 09, 2011 02:44
by quasius
Thanks. That helped and I seem to have resolved most issues. But I'm having linking trouble. It can't find CEGUILua_d.lib. There was a file by that name in the old 0.5 SDK, but I don't even see a file with that name in the 0.75 SDK. Any info on where that file can be found?

Re: Upgrading from 0.5 to 0.75 issues

Posted: Mon Jan 10, 2011 20:43
by quasius
Anyone? Is CEGUILua_d.lib simply missing from the SDK? I can see about just compiling it myself, but I'm a bit nervous trying things like that since I feel like it's more likely I'm making some other mistake than the official distributed SDK is missing a lib that keeps it from linking.

Re: Upgrading from 0.5 to 0.75 issues

Posted: Mon Jan 10, 2011 22:06
by quasius
Looks like it was related to some project settings I missed using old names.