Gurrier
12-04-2010 14:00:02
Hi,
I'm a c++, c# programmer that is doing his first project with Python. I used ogre3d in the past but it's the first time working with Python-Ogre.
Python version: 2.6
Python-ogre version: 1.7RC1
PhysX Version: PhysX_2.8.3.21
In my project I would like to use PhysX since I have used it before in C++ projects. But in Python-ogre when I want to import NxOgre it gave me this error
So I had a look if the file wasn't really there.(C:\Python26\Lib\site-packages\ogre\physics\NxOgre) The only file that was there was the __init__.py
I then downloaded Python-ogre 1.6, looked into the NXogre folder found _nxogre_.pyd. Copyed that file to C:\Python26\Lib\site-packages\ogre\physics\NxOgre
Runned the program I got this error
So i downloaded NxOgre, builded it, copyed all the files that where created in de NXOGRE/sdk's folder into C:\Python26\Lib\site-packages\ogre\physics\NxOgre.
and got the same error again
atm in the folder C:\Python26\Lib\site-packages\ogre\physics\NxOgre are the files
__init__.py
_nxogre_.pyd
NxOgre.dll
NxOgre.lib
NxOgre_Debug.dll
NxOgre_Debug.lib
NxOgre.h
and a lot more header files all starting with NX
Also a folder called bml
Does anyone know whats happening here? Or what DLL the program is looking for?
Thanks Simon
I'm a c++, c# programmer that is doing his first project with Python. I used ogre3d in the past but it's the first time working with Python-Ogre.
Python version: 2.6
Python-ogre version: 1.7RC1
PhysX Version: PhysX_2.8.3.21
In my project I would like to use PhysX since I have used it before in C++ projects. But in Python-ogre when I want to import NxOgre it gave me this error
import ogre.physics.NxOgre as nxogre
File "C:\Python26\lib\site-packages\ogre\physics\NxOgre\__init__.py", line 4, in <module>
from _nxogre_ import *
ImportError: No module named _nxogre_
So I had a look if the file wasn't really there.(C:\Python26\Lib\site-packages\ogre\physics\NxOgre) The only file that was there was the __init__.py
I then downloaded Python-ogre 1.6, looked into the NXogre folder found _nxogre_.pyd. Copyed that file to C:\Python26\Lib\site-packages\ogre\physics\NxOgre
Runned the program I got this error
import ogre.physics.NxOgre as nxogre
File "C:\Python26\lib\site-packages\ogre\physics\NxOgre\__init__.py", line 4, in <module>
from _nxogre_ import *
ImportError: DLL load failed: The specified module could not be found.
So i downloaded NxOgre, builded it, copyed all the files that where created in de NXOGRE/sdk's folder into C:\Python26\Lib\site-packages\ogre\physics\NxOgre.
and got the same error again
import ogre.physics.NxOgre as nxogre
File "C:\Python26\lib\site-packages\ogre\physics\NxOgre\__init__.py", line 4, in <module>
from _nxogre_ import *
ImportError: DLL load failed: The specified module could not be found.
atm in the folder C:\Python26\Lib\site-packages\ogre\physics\NxOgre are the files
__init__.py
_nxogre_.pyd
NxOgre.dll
NxOgre.lib
NxOgre_Debug.dll
NxOgre_Debug.lib
NxOgre.h
and a lot more header files all starting with NX
Also a folder called bml
Does anyone know whats happening here? Or what DLL the program is looking for?
Thanks Simon