Derp
02-06-2011 01:48:58
I was trying to install the HydraX library into my addons directory (for me: c:\\Python27\lib\site-packages\ogre\addons\) and cannot it working.
Running:
Windows 7, Python 2.7, python-ogre core 1.7.2
HydraX Package downloaded:
http://sourceforge.net/projects/python-ogre/files/Latest/1.7.1/hydrax-1.7.1-r1113.7z/download
Installation process:
I unziped the file, and copied the hydrax folder at unzippedFolder\packages_2.7\ogre\addons\ to c:\\Python27\lib\site-packages\ogre\addons\ and tried to compile the python demo included with the .zip file and the compiler threw the error:
As the _hydrax_.pyd file included in the hydrax folder is essentially a dll I would assume it could be found through "from __hydrax__ import *". (unless the constructor is not named init_hydrax_ [http://effbot.org/pyfaq/is-a-pyd-file-the-same-as-a-dll.htm]) Any Ideas?
Running:
Windows 7, Python 2.7, python-ogre core 1.7.2
HydraX Package downloaded:
http://sourceforge.net/projects/python-ogre/files/Latest/1.7.1/hydrax-1.7.1-r1113.7z/download
Installation process:
I unziped the file, and copied the hydrax folder at unzippedFolder\packages_2.7\ogre\addons\ to c:\\Python27\lib\site-packages\ogre\addons\ and tried to compile the python demo included with the .zip file and the compiler threw the error:
C:\Users\Alexander\Desktop\Ogre\python Demo_Hydrax01.py
Traceback (most recent call last):
File "Demo_Hydrax01.py", line 19, in <module>
import ogre.addons.hydrax as Hydrax
File "C:\Python27\lib\site-packages\ogre\addons\hydrax\__init__.py", line 1, in <module>
from _hydrax_ import *
ImportError: DLL load failed: The specified procedure could not be found.
As the _hydrax_.pyd file included in the hydrax folder is essentially a dll I would assume it could be found through "from __hydrax__ import *". (unless the constructor is not named init_hydrax_ [http://effbot.org/pyfaq/is-a-pyd-file-the-same-as-a-dll.htm]) Any Ideas?