Vax456
01-11-2011 20:33:54
I'm running Gentoo with Ogre 1.7.3, CEGUI 0.7.5, and OIS 1.2.
So far, importing ogre.renderer.OGRE and ogre.gui.CEGUI works (after some editing), but ogre.io.OIS doesn't.
The first time I tried to import ogre.io.OIS, the error message it gave me is:
So I tried creating a symlink from libOIS.*whateverversion* to /usr/lib/python2.7/site-packages/ogre/io/OIS/_ois_.so
Then importing ogre.io.OIS reported:
I have no idea what to do. I've tried OIS 1.3, 1.2, and 1.0 and all of them did the same thing.
Does anyone know how to solve this problem?
So far, importing ogre.renderer.OGRE and ogre.gui.CEGUI works (after some editing), but ogre.io.OIS doesn't.
The first time I tried to import ogre.io.OIS, the error message it gave me is:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/ogre/io/OIS/__init__.py", line 4, in <module>
from _ois_ import *
ImportError: No module named _ois_
So I tried creating a symlink from libOIS.*whateverversion* to /usr/lib/python2.7/site-packages/ogre/io/OIS/_ois_.so
Then importing ogre.io.OIS reported:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/site-packages/ogre/io/OIS/__init__.py", line 4, in <module>
from _ois_ import *
ImportError: dynamic module does not define init function (init_ois_)
I have no idea what to do. I've tried OIS 1.3, 1.2, and 1.0 and all of them did the same thing.
Does anyone know how to solve this problem?