jacknutting
04-10-2005 09:09:28
Now that I've managed to get the thing halfway-decently installed (I think), I've got some questions.
First off, all the demo scripts I've tried bail out like this:
So it looks like ogre.getPluginPath() is returning null, and that doesn't please Ogre. Is there a workaround for this?
Then, I wonder about the following from the mac readme file:
OK, I'm tuned in...
So what's the status here? This stuff is working for the regular Ogre samples on Mac, so I imagine it's just a matter of porting the Mac-specific stuff in the C++ SampleFramework code to python, right?
Who's working on this, and do you need any help? I'm an Ogre newbie, but am intrigued enough by it, especially with PyOgre, that I'd really like to see the Mac OS X version of PyOgre be a "first-class citizen".
First off, all the demo scripts I've tried bail out like this:
File "/Users/jnutting/play/pyogre/trunk/demos/ogre/SampleFramework.py", line 23, in go
if not self._setUp():
File "/Users/jnutting/play/pyogre/trunk/demos/ogre/SampleFramework.py", line 33, in _setUp
self.root = ogre.Root(ogre.getPluginPath())
File "/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/site-packages/pyogre/ogre.py", line 11086, in __init__
newobj = _ogre.new_Root(*args)
TypeError: argument number 1: null reference of type 'Ogre::String' was received
So it looks like ogre.getPluginPath() is returning null, and that doesn't please Ogre. Is there a workaround for this?
Then, I wonder about the following from the mac readme file:
(Note that the current tests and demo will fail on Mac OS X (if you are
lucky, getting as far as trying to load the RenderSystem_GL plugin)
since none of these scripts setup a cocoa/appkit draw context, which the
ogre framework expects. Stay tuned... )
OK, I'm tuned in...

Who's working on this, and do you need any help? I'm an Ogre newbie, but am intrigued enough by it, especially with PyOgre, that I'd really like to see the Mac OS X version of PyOgre be a "first-class citizen".