saladin
08-10-2007 13:29:11
Hi,
Sorry to repost. But I'm still getting the following error when trying to run the python-ogre 1.1 nxogre demo...
02:21:53: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ../../plugins\RenderSystem_Direct3D9. System Error: The specified module could not be found.
in DynLib::load at ..\src\OgreDynLib.cpp (line 80)
I'm using Direct3D 9.0c. So it should be up to date.
saladin
23-10-2007 23:05:44
Ok now it doesn't complain about the above. But I'm getting a python error. One of those ugly dialog boxes... And here's the ogre.log, obviously some assets are missing. And I couldn't figure out where they are. Any help would be appreciated.
10:59:35: ResourceBackgroundQueue - threading disabled
10:59:35: Particle Renderer Type 'billboard' registered
10:59:35: SceneManagerFactory for type 'OctreeSceneManager' registered.
10:59:35: SceneManagerFactory for type 'TerrainSceneManager' registered.
10:59:35: Creating viewport on target 'Powered by NxOgre and Python-Ogre', rendering from camera 'Main', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
10:59:35: Parsing scripts for resource group Autodetect
10:59:35: Finished parsing scripts for resource group Autodetect
10:59:35: Parsing scripts for resource group Bootstrap
10:59:35: Parsing script boot.material
10:59:35: Parsing script gui.material
10:59:35: Parsing script nx.bodyguide.material
10:59:35: Finished parsing scripts for resource group Bootstrap
10:59:35: Parsing scripts for resource group General
10:59:35: Parsing script widgets.material
10:59:35: Parsing script bgui.material
10:59:35: Parsing script editor.material.material
10:59:35: Parsing script nxbgui.material
10:59:35: Parsing script capsule.prefix.material
10:59:35: Parsing script convex.prefix.material
10:59:35: Parsing script cube.prefix.material
10:59:35: Error in material nx.cube.shadows at line 17 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
10:59:35: Error in material nx.cube.shadows at line 49 of cube.prefix.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
10:59:35: Parsing script hilight.material
10:59:35: Parsing script nx.block.material
10:59:35: Parsing script nx.convex2.material
10:59:35: Parsing script nx.sphere.material
10:59:35: Parsing script nx.tube.material
10:59:35: Parsing script racecar.material
10:59:35: Parsing script sandbox.material
10:59:35: Parsing script sphere.prefix.material
10:59:35: Parsing script wheel50cmx10cmx50cm.material
10:59:35: Parsing script cloth.material
10:59:35: Parsing script nx.floor.material
10:59:35: Error in material Gile[s]_nx.floor2.shadows at line 16 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
10:59:35: Error in material Gile[s]_nx.floor2.shadows at line 36 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/DepthShadowmap/ReceiverVP has not been defined.
10:59:35: Error in material Gile[s]_nx.floor2.shadows at line 39 of nx.floor.material: Invalid shadow_receiver_vertex_program_ref entry - vertex program Ogre/DepthShadowmap/ReceiverVP has not been defined.
10:59:35: Error in material Gile[s]_nx.floor2.shadows at line 44 of nx.floor.material: Invalid fragment_program_ref entry - fragment program Ogre/DepthShadowmap/ReceiverFP has not been defined.
10:59:35: Error in material Gile[s]_nx.floor2.shadows at line 47 of nx.floor.material: Invalid shadow_receiver_fragment_program_ref entry - fragment program Ogre/DepthShadowmap/ReceiverFP has not been defined.
10:59:35: Error in material Gile[s]_nx.floor2.shadows at line 62 of nx.floor.material: Invalid vertex_program_ref entry - vertex program Ogre/BasicVertexPrograms/AmbientOneTextureUnified has not been defined.
10:59:35: Parsing script MgOpenAsBitmap.fontdef
10:59:35: Parsing script MgOpenAsNxOgreFont.fontdef
10:59:35: Finished parsing scripts for resource group General
10:59:35: Parsing scripts for resource group Internal
10:59:35: Finished parsing scripts for resource group Internal
10:59:35: Mesh: Loading nx.floor.mesh.
10:59:35: Texture: nx.floor.png: Loading 1 faces(PF_A8R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,512x512x1.
10:59:35: Texture: nx.floor.shadowalpha.png: Loading 1 faces(PF_R8G8B8,512x512x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,512x512x1.
10:59:35: Mesh: Loading nx.body.axis.mesh.
10:59:35: Texture: arrow1.png: Loading 1 faces(PF_A8R8G8B8,256x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,256x256x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name bg.mp not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: bgui.pointer.png: Loading 1 faces(PF_A8R8G8B8,24x24x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,24x24x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.mm.png: Loading 1 faces(PF_A8R8G8B8,64x128x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,64x128x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.mm.bodies.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x19x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b0c0 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.mm.joints.png: Loading 1 faces(PF_A8R8G8B8,51x20x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x20x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b1c1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.mm.fx.png: Loading 1 faces(PF_A8R8G8B8,51x19x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,51x19x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w0b2c2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.create.png: Loading 1 faces(PF_A8R8G8B8,128x256x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,128x256x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: icon.cube.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,56x56x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b3c3 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Font nxogrefontusing texture size 512x256
10:59:35: Info: Freetype returned null for character 127 in font nxogrefont
10:59:35: Info: Freetype returned null for character 128 in font nxogrefont
10:59:35: Info: Freetype returned null for character 129 in font nxogrefont
10:59:35: Info: Freetype returned null for character 130 in font nxogrefont
10:59:35: Info: Freetype returned null for character 131 in font nxogrefont
10:59:35: Info: Freetype returned null for character 132 in font nxogrefont
10:59:35: Info: Freetype returned null for character 133 in font nxogrefont
10:59:35: Info: Freetype returned null for character 134 in font nxogrefont
10:59:35: Info: Freetype returned null for character 135 in font nxogrefont
10:59:35: Info: Freetype returned null for character 136 in font nxogrefont
10:59:35: Info: Freetype returned null for character 137 in font nxogrefont
10:59:35: Info: Freetype returned null for character 138 in font nxogrefont
10:59:35: Info: Freetype returned null for character 139 in font nxogrefont
10:59:35: Info: Freetype returned null for character 140 in font nxogrefont
10:59:35: Info: Freetype returned null for character 141 in font nxogrefont
10:59:35: Info: Freetype returned null for character 142 in font nxogrefont
10:59:35: Info: Freetype returned null for character 143 in font nxogrefont
10:59:35: Info: Freetype returned null for character 144 in font nxogrefont
10:59:35: Info: Freetype returned null for character 145 in font nxogrefont
10:59:35: Info: Freetype returned null for character 146 in font nxogrefont
10:59:35: Info: Freetype returned null for character 147 in font nxogrefont
10:59:35: Info: Freetype returned null for character 148 in font nxogrefont
10:59:35: Info: Freetype returned null for character 149 in font nxogrefont
10:59:35: Info: Freetype returned null for character 150 in font nxogrefont
10:59:35: Info: Freetype returned null for character 151 in font nxogrefont
10:59:35: Info: Freetype returned null for character 152 in font nxogrefont
10:59:35: Info: Freetype returned null for character 153 in font nxogrefont
10:59:35: Info: Freetype returned null for character 154 in font nxogrefont
10:59:35: Info: Freetype returned null for character 155 in font nxogrefont
10:59:35: Info: Freetype returned null for character 156 in font nxogrefont
10:59:35: Info: Freetype returned null for character 157 in font nxogrefont
10:59:35: Info: Freetype returned null for character 158 in font nxogrefont
10:59:35: Info: Freetype returned null for character 159 in font nxogrefont
10:59:35: Info: Freetype returned null for character 160 in font nxogrefont
10:59:35: Info: Freetype returned null for character 161 in font nxogrefont
10:59:35: Info: Freetype returned null for character 162 in font nxogrefont
10:59:35: Texture: nxogrefontTexture: Loading 1 faces(PF_BYTE_LA,512x256x1) with 0 generated mipmaps from Image. Internal format is PF_BYTE_LA,512x256x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: icon.sphere.png: Loading 1 faces(PF_R8G8B8,56x56x1) with 1 generated mipmaps from Image. Internal format is PF_X8R8G8B8,56x56x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b4c4 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w1b5c5 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.edit.png: Loading 1 faces(PF_A8R8G8B8,132x32x1) with 1 generated mipmaps from Image. Internal format is PF_A8R8G8B8,132x32x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.angle.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b6c6 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.scale.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b7c7 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.material.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b8c8 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
10:59:35: Texture: widget.add.png: Loading 1 faces(PF_A8R8G8B8,32x32x1) with hardware generated mipmaps from Image. Internal format is PF_A8R8G8B8,32x32x1.
10:59:35: OGRE EXCEPTION(5:ItemIdentityException): OverlayElement with name SandBoxGUI.w2b9c9 not found. in OverlayManager::getOverlayElementImpl at ..\src\OgreOverlayManager.cpp (line 588)
The missing assets are fine and normal
Are you running this from the start menu, and which demo are you trying?
And you do have PhysX installed ?
You could also look at NxOgre.log.html in the \PythonOgre\demos\nxogre directory as it's the PhysX log file to see if it helps
Thanks
Andy
saladin
26-10-2007 06:12:10
The missing assets are fine and normal 
Are you running this from the start menu, and which demo are you trying?
And you do have PhysX installed ?
You could also look at NxOgre.log.html in the \PythonOgre\demos\nxogre directory as it's the PhysX log file to see if it helps
Thanks
Andy
Problem solved after installing PhysX. Thanks.