Mac issues

3 views
Skip to first unread message

eugene tan

unread,
Aug 20, 2008, 7:58:55 AM8/20/08
to python-ogre...@googlegroups.com
Hey everyone, I'm trying to compile python-ogre for OSX 10.5.2 and
I've been following the wiki instructions so far. I've managed to
compile and install python-ogre, but running the demos gets me this:

Traceback (most recent call last):
File "Demo_OneFish.py", line 243, in <module>
ta.go()
File "/Users/jmtan/development/root/usr/lib/python2.5/site-packages/ogre/renderer/OGRE/sf_OIS.py",
line 61, in go
if not self._setUp():
File "/Users/jmtan/development/root/usr/lib/python2.5/site-packages/ogre/renderer/OGRE/sf_OIS.py",
line 88, in _setUp
self._setUpResources()
File "/Users/jmtan/development/root/usr/lib/python2.5/site-packages/ogre/renderer/OGRE/sf_OIS.py",
line 111, in _setUpResources
seci = config.getSectionIterator()
TypeError: No to_python (by-value) converter found for C++ type:
Ogre::MapIterator<std::map<std::string, std::multimap<std::string,
std::string, std::less<std::string>,
std::allocator<std::pair<std::string const, std::string> > >*,
std::less<std::string>, std::allocator<std::pair<std::string const,
std::multimap<std::string, std::string, std::less<std::string>,
std::allocator<std::pair<std::string const, std::string> > >*> > > >

Any idea where I could have gone wrong? The ogre binary demos are working fine.

Thanks for reading,
Eugene

Andy Miller

unread,
Aug 21, 2008, 8:23:44 PM8/21/08
to python-ogre...@googlegroups.com
That's not pretty -- basically it means that we'll have to tweak the code generation for OSX..
 
Can you:
cd ./python-ogre/code_generators/ogre
python generate_code.py >1 2>&1
 
And send me '1'
 
Thanks
 
Andy

2008/8/20 eugene tan <jmin...@gmail.com>
Reply all
Reply to author
Forward
0 new messages