Swinely
24-06-2009 21:43:10
Hi there,
I've downloaded and installed eric, now im trying to learn python ogre...
Only problem being that these wiki tutorials dont actually run? What am i missing from my setup?
http://wiki.python-ogre.org/index.php/Basic_Tutorial_1
I've got python, python ogre and the pyqt etc requirements for eric. The demos with python ogre do actually run, just not these tutorials on the wiki if i copy the code and name them basic_01.py etc etc in the demos folder.
Thanks!
What error are you getting??
Swinely
29-06-2009 15:54:02
When I try to run : import ogre.renderer.OGRE as ogre
import SampleFramework as sf
class TutorialApplication(sf.Application):
def _createScene(self):
pass
if __name__ == '__main__':
ta = TutorialApplication()
ta.go()
This is the debugging output:
16:09:21: Creating resource group General
16:09:21: Creating resource group Internal
16:09:21: Creating resource group Autodetect
16:09:21: SceneManagerFactory for type 'DefaultSceneManager' registered.
16:09:21: Registering ResourceManager for type Material
16:09:21: Registering ResourceManager for type Mesh
16:09:21: Registering ResourceManager for type Skeleton
16:09:21: MovableObjectFactory for type 'ParticleSystem' registered.
16:09:21: OverlayElementFactory for type Panel registered.
16:09:21: OverlayElementFactory for type BorderPanel registered.
16:09:21: OverlayElementFactory for type TextArea registered.
16:09:21: Registering ResourceManager for type Font
16:09:21: ArchiveFactory for archive type FileSystem registered.
16:09:21: ArchiveFactory for archive type Zip registered.
16:09:21: FreeImage version: 3.10.0
16:09:21: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
16:09:21: Supported formats: bmp,ico,jpg,jif,jpeg,jpe,jng,koa,iff,lbm,mng,pbm,pbm,pcd,pcx,pgm,pgm,png,ppm,ppm,ras,tga,targa,tif,tiff,wap,wbmp,wbm,psd,cut,xbm,xpm,gif,hdr,g3,sgi,exr,j2k,j2c,jp2
16:09:21: DDS codec registering
16:09:21: Registering ResourceManager for type HighLevelGpuProgram
16:09:21: Registering ResourceManager for type Compositor
16:09:21: MovableObjectFactory for type 'Entity' registered.
16:09:21: MovableObjectFactory for type 'Light' registered.
16:09:21: MovableObjectFactory for type 'BillboardSet' registered.
16:09:21: MovableObjectFactory for type 'ManualObject' registered.
16:09:21: MovableObjectFactory for type 'BillboardChain' registered.
16:09:21: MovableObjectFactory for type 'RibbonTrail' registered.
[b]16:09:21: Loading library ../../plugins\RenderSystem_GL.dll
16:09:21: OGRE EXCEPTION(7:InternalErrorException): Could not load dynamic library ../../plugins\RenderSystem_GL.dll. System Error: The specified module could not be found.
in DynLib::load at ..\src\OgreDynLib.cpp (line 80)[/b]
Swinely
29-06-2009 16:28:47
Finally worked the damn problem out,
Need to copy plugins folder into wherever your code is, then change the path in BOTH plugins.cfg files (ignoring the fact one is for linux and one is for nt) and it will now work!