Problems installing HydraX into python-ogre


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.

Windows 7, Python 2.7, python-ogre core 1.7.2

HydraX Package downloaded:

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:

Traceback (most recent call last):
File "", line 19, in <module>
import ogre.addons.hydrax as Hydrax
File "C:\Python27\lib\site-packages\ogre\addons\hydrax\", 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_ []) Any Ideas?


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 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?