Tutorial1 not working Properly

Tushar

19-01-2010 11:21:36

Hi firends
Good Evening

I install the MogreSDK_1.6.5_beta_r49.
when i install MorgeSDK thay are given some samples ( C:\MorgeSDK\Samples )
that sample is perfectly working fine.
I debug the all the sample and working perfectly fine.

But when i tried out tutorials in that problems is coming. (tutorial 1)
http://www.ogre3d.org/wiki/index.php/Mo ... Tutorial_1

i use the debug version of Morge_d.dll
i also download the Morgeframework.dll from following link (http://openviewer.org/browser/trunk/bin ... dll?rev=56)

when i debug the solution i get following exception

FileNotFoundException was unhandledCould not load file or assembly 'Mogre, Version=0.1.7.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

i dont understand the problem
so please help me
Have nice Time

Advance Thanks

Solver

20-01-2010 00:52:38

Are you running the application from inside the development environment? Check that its location is correct. Your program needs to be in the same folder as Ogre DLLs. Either copy your compiled exe to the Ogre folder and run it from there, or copy the DLL files over to your project folder.

Tushar

20-01-2010 08:14:43

Hi Solver

I copy my project in C:\MorgeSDK\...
that above exception is solve
but coming new exception as follow

Assertion Failed!
Programm:...
File:c:\devel\gamedevel\morge1.6\morge\o...\ogrersingleton.cpp
Line:66
Expression:ms_Singleton


I give refference Morge_d.dll and MorgeFremework.dll in my project from C:\MorgeSDK\bin\Debug\..

My Ogre.log file as follow
12:50:12: Creating resource group General
12:50:12: Creating resource group Internal
12:50:12: Creating resource group Autodetect
12:50:12: SceneManagerFactory for type 'DefaultSceneManager' registered.
12:50:12: Registering ResourceManager for type Material
12:50:12: Registering ResourceManager for type Mesh
12:50:12: Registering ResourceManager for type Skeleton
12:50:12: MovableObjectFactory for type 'ParticleSystem' registered.
12:50:12: OverlayElementFactory for type Panel registered.
12:50:12: OverlayElementFactory for type BorderPanel registered.
12:50:12: OverlayElementFactory for type TextArea registered.
12:50:12: Registering ResourceManager for type Font
12:50:12: ArchiveFactory for archive type FileSystem registered.
12:50:12: ArchiveFactory for archive type Zip registered.
12:50:12: FreeImage version: 3.13.1
12:50:12: This program uses FreeImage, a free, open source image library supporting all common bitmap formats. See http://freeimage.sourceforge.net for details
12:50:12: 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,pfm,pct,pict,pic,bay,bmq,cr2,crw,cs1,dc2,dcr,dng,erf,fff,hdr,k25,kdc,mdc,mos,mrw,nef,orf,pef,pxn,raf,raw,rdc,sr2,srf,arw,3fr,cine,ia,kc2,mef,nrw,qtk,rw2,sti,drf,dsc,ptx,cap,iiq,rwz
12:50:12: DDS codec registering
12:50:12: Registering ResourceManager for type HighLevelGpuProgram
12:50:12: Registering ResourceManager for type Compositor
12:50:12: MovableObjectFactory for type 'Entity' registered.
12:50:12: MovableObjectFactory for type 'Light' registered.
12:50:12: MovableObjectFactory for type 'BillboardSet' registered.
12:50:12: MovableObjectFactory for type 'ManualObject' registered.
12:50:12: MovableObjectFactory for type 'BillboardChain' registered.
12:50:12: MovableObjectFactory for type 'RibbonTrail' registered.
12:50:12: Loading library C:/MogreSDK/bin/Debug/RenderSystem_Direct3D9_d
12:50:12: Loading library C:/MogreSDK/bin/Debug/RenderSystem_GL_d
12:50:12: Loading library C:/MogreSDK/bin/Debug/Plugin_ParticleFX_d
12:50:12: Loading library C:/MogreSDK/bin/Debug/Plugin_BSPSceneManager_d
12:50:12: Loading library C:/MogreSDK/bin/Debug/Plugin_OctreeSceneManager_d
12:50:12: Installing plugin: D3D9 RenderSystem
12:50:12: D3D9 : Direct3D9 Rendering Subsystem created.
12:50:12: D3D9: Driver Detection Starts
12:50:12: D3D9: Driver Detection Ends
12:50:12: Plugin successfully installed
12:50:12: Installing plugin: GL RenderSystem
12:50:12: OpenGL Rendering Subsystem created.
12:50:12: Plugin successfully installed
12:50:12: Installing plugin: ParticleFX
12:50:12: Particle Emitter Type 'Point' registered
12:50:12: Particle Emitter Type 'Box' registered
12:50:12: Particle Emitter Type 'Ellipsoid' registered
12:50:12: Particle Emitter Type 'Cylinder' registered
12:50:12: Particle Emitter Type 'Ring' registered
12:50:12: Particle Emitter Type 'HollowEllipsoid' registered2:50:12: Particle Affector Type 'LinearForce' registered
12:50:12: Particle Affector Type 'ColourFader' registered
12:50:12: Particle Affector Type 'ColourFader2' registered
12:50:12: Particle Affector Type 'ColourImage' registered
12:50:12: Particle Affector Type 'ColourInterpolator' registered
12:50:12: Particle Affector Type 'Scaler' registered
12:50:12: Particle Affector Type 'Rotator' registered
12:50:12: Particle Affector Type 'DirectionRandomiser' registered
12:50:12: Particle Affector Type 'DeflectorPlane' registered
12:50:12: Plugin successfully installed
12:50:12: Installing plugin: BSP Scene Manager
12:50:12: Plugin successfully installed
12:50:12: Installing plugin: Octree & Terrain Scene Manager


My plugins.cfg is
# Defines plugins to load

# Define plugin folder
PluginFolder=C:/MogreSDK/bin/Debug/

# Define plugins
Plugin=RenderSystem_Direct3D9_d
Plugin=RenderSystem_GL_d
Plugin=Plugin_ParticleFX_d
Plugin=Plugin_BSPSceneManager_d
Plugin=Plugin_OctreeSceneManager_d
Plugin=Plugin_CgProgramManager_d



Have Nice Time
Thanks