Runtime problem using Python-Ogre1.71 and PyCEGUI0.75

pizzazhang

17-04-2011 04:49:41

Hi, everybody
Python-Ogre 1.71 has cegui lib which version is only 0.7.1. No gui animation function in this version but I really need this effect though. When I use PyCEGUI 0.75 in my Python ogre program, I got runtime errors and the wrong module is MSVCR90.DLL. I got no log error track so I really don't know what's the problem.
17/04/2011 11:42:09 (Std) ---- CEGUI System initialisation completed ----
17/04/2011 11:42:09 (Std)

CEGUI just step to this, and when run the code to this:
PyCEGUI.SchemeManager.getSingleton().create("TaharezLook.scheme")
PyCEGUI.FontManager.getSingleton().create("SimHei-14.font")

got errors.

Appreciate any help! If Python-Ogre can integrate with CEGUI 0.7.2+ next version then I will wait for that.

Edit: my environment is: Python 2.6 + PyCEGUI 0.75 + Python-Ogre 1.7.1, and I installed MSVC2010 on my computer

pizzazhang

17-04-2011 05:13:25

I find Python-Ogre now 1.72 :D , I got the cegui animation function, but the changelog file says the version is 1.7.1 :? which takes me sometime decide whether to use it :D

dermont

17-04-2011 08:46:21

I find Python-Ogre now 1.72 :D , I got the cegui animation function, but the changelog file says the version is 1.7.1 :? which takes me sometime decide whether to use it :D

I think it's just the changelog that needs updating, if you want to be 100% sure what version of Ogre just run one of the python-ogre demos and check Ogre.log for something like
00:08:26: *-*-* Version 1.7.2 (Cthugha).

IIRC you could also check via module.Version__, e.g. ogre.Version__ (or something like that).

pizzazhang

17-04-2011 10:54:47

I find Python-Ogre now 1.72 :D , I got the cegui animation function, but the changelog file says the version is 1.7.1 :? which takes me sometime decide whether to use it :D

I think it's just the changelog that needs updating, if you want to be 100% sure what version of Ogre just run one of the python-ogre demos and check Ogre.log for something like
00:08:26: *-*-* Version 1.7.2 (Cthugha).

IIRC you could also check via module.Version__, e.g. ogre.Version__ (or something like that).


Yeah, I'll try that next time. Thanks you! :lol: