powerstation
22-06-2009 06:52:38
I tried to make tutorial 1 in the wiki into an exe.
Its .py form was working.
I used py2exe and placed it in the demos folder.
Followed step by step, placing the dlls in for every error encountered, everything worked fine.
I already have the configuration screen popping out but it went into a black screen, no robot mesh appeared.
robot.mesh is in media folder. Also tried pasting robot.mesh and media folder everywhere but still i get the same exception below.
Any idea how to solve this?
EXCEPTION(6:FileNotFoundException): Cannot locate resource robot.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
Traceback (most recent call last):
File "..\tutorial1.py", line 35, in <module>
ta.go ()
File "..\ogre\renderer\OGRE\sf_OIS.py", line 60, in go
if not self._setUp():
File "..\ogre\renderer\OGRE\sf_OIS.py", line 97, in _setUp
self._createScene()
File "..\tutorial1.py", line 28, in _createScene
ent1 = sceneManager.createEntity ('Robot', 'robot.mesh')
ogre.renderer.OGRE._ogre_exceptions_.OgreFileNotFoundException: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource robot.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
Its .py form was working.
I used py2exe and placed it in the demos folder.
Followed step by step, placing the dlls in for every error encountered, everything worked fine.
I already have the configuration screen popping out but it went into a black screen, no robot mesh appeared.
robot.mesh is in media folder. Also tried pasting robot.mesh and media folder everywhere but still i get the same exception below.
Any idea how to solve this?
EXCEPTION(6:FileNotFoundException): Cannot locate resource robot.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)
Traceback (most recent call last):
File "..\tutorial1.py", line 35, in <module>
ta.go ()
File "..\ogre\renderer\OGRE\sf_OIS.py", line 60, in go
if not self._setUp():
File "..\ogre\renderer\OGRE\sf_OIS.py", line 97, in _setUp
self._createScene()
File "..\tutorial1.py", line 28, in _createScene
ent1 = sceneManager.createEntity ('Robot', 'robot.mesh')
ogre.renderer.OGRE._ogre_exceptions_.OgreFileNotFoundException: OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource robot.mesh in resource group Autodetect or any other group. in ResourceGroupManager::openResource at ..\src\OgreResourceGroupManager.cpp (line 753)