Problems installing HydraX into python-ogre

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:


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?

cire1285

25-06-2011 00:54:47

I'm having the same issue. I'm using hydrax in my project and really need it to work. I was using it before with python-ogre 2.6 and it worked fine.

I also put _hydrax_.pyd in Python27\lib\site-packages\ogre\addons\hydrax\, seeing that it wasn't there from the installation. Curiously, the folder was already there with __init__.py referencing it.

But putting that there didn't solve the problem. The same error still occurred.

Is it perhaps a dll within _hydrax_.pyd that it's trying to import that's not included in 2.7, but is included in 2.6? Along that line of thought, I compared my Python26 ogre addons to Python27 ogre addons, and the only difference I saw is that skyx was added to 2.7, which is irrelevant.

I'd love to look inside _hydrax_.pyd to see what's going on. Is there a way I can do that?