how to setup MOGRE in #Develop 2

knightley

19-11-2006 22:12:35

any body use SharpDevelop 2 as IDE, just
could not bring MOGRE to run.

Did all the steps in the MOGRE Tutorial 1.

thanx

#############################################
Error Messages:

Exception System.IO.FileNotFoundException was thrown in debuggee:
The specified module could not be found. (Exception from HRESULT: 0x8007007E)

.ctor() - d:\[1] Projects\ProvingGround\Class\Scenery\c_Renderer.cs:32,4
Main() - d:\[1] Projects\ProvingGround\Class\ProvingGround.cs:16,3

Clay

19-11-2006 23:27:11

hmm try this:

Copy all Ogre/Mogre DLLs to the output directory (which contains your .exe). Then try running the .exe file from your output directory (make sure you have all of your .cfg files properly changed so that it has the absolute path to the media folder).

If this works, it probably means that you haven't set up your path correctly inside SharpDevelop. Let me know if this works or not...

knightley

20-11-2006 00:33:55

hi, thanx for quick reply.

i checked the path variable by writing a little
batch file inside the respected folder, works fine.

so the path variable is setup properly.

i also copied ERVERY thing from the bin/release folder inside
my bin/debug folder, this DID work. :)

thanx

P.S. what are the differences between dlls inside bin/debug
and bin/release folder

Clay

20-11-2006 02:57:42

The files in OgreSDK/bin/debug (debug dlls) are slower and less optimized than the ones in OgreSDK/bin/release (release dlls). The only reason to use the debug dlls is to check for memory leaks in your program. If you use them, ogre will create a leaks.log file which contains any memory leaks your program is causing.

You don't need to do that very often. I suggest sticking with the release version of Mogre unless you are worried about memory leaks.

knightley

20-11-2006 08:52:20

ah, well, thats cool.

thanx

P.S.
Still not sure why path does not work,
But that is no big deal.