Hi,
I compiled Horde3D sources on linux and installed the .so's in my lib location (source from SVN HEAD). After this I got the python-ctypes bindings (from SVN HEAD of
http://mm-werkstatt.informatik.uni-augs ... n/horde3d/). When I try this,
python -c "import horde3d"
I get the following error,
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "horde3d/__init__.py", line 253, in <module>
getVersionString = h3d.getVersionString
File "/usr/lib/python2.6/ctypes/__init__.py", line 366, in __getattr__
func = self.__getitem__(name)
File "/usr/lib/python2.6/ctypes/__init__.py", line 371, in __getitem__
func = self._FuncPtr((name_or_ordinal, self))
AttributeError: /usr/local/lib/libHorde3D.so: undefined symbol: getVersionString
in __init__.py, I see this,
getVersionString = h3d.getVersionString
However in Horde3D.h, I see,
DLL const char *h3dGetVersionString();
Does that not mean that the line in __init__.py should be,
getVersionString = h3d.h3dGetVersionString
?
Am I doing something wrong?
Thanks in advance,
Prashanth