Mogrenewt and Sharpdevelop

Woospringbreak

21-05-2009 01:03:32

Hey. I have been using sharpdevlelop to write a game, and have just attempted to intergrate mogrenewt.
However, when i attempt to initilize the newton world, i get the following error.
Globals were the mogre world is initilized.

System.TypeInitializationException: The type initializer for 'PlatformGame.Globals' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'MogreNewt, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1) ---> System.Runtime.InteropServices.COMException: The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)
at PlatformGame.OgreStartup.CreateRoot in c:\Users\Admin\Documents\SharpDevelop Projects\PlatformGame\PlatformGame\Program.cs:line 38
at PlatformGame.OgreStartup.Go in c:\Users\Admin\Documents\SharpDevelop Projects\PlatformGame\PlatformGame\Program.cs:line 27
at PlatformGame.Program.Main in c:\Users\Admin\Documents\SharpDevelop Projects\PlatformGame\PlatformGame\Program.cs:line 16


This error occurs on both my own game, and the samples stored in the mogrenewt SVN.

AndroidAdam

21-05-2009 02:16:07

Can you run an Mogre program by itself, without MogreNewt?

Beauty

22-05-2009 11:41:30

Did you link the file MogreNewt.dll?
Look for Warnings / Exceptions in the file Ogre.log.

The tutorials are good for beginners, especially tutorial 0. (aware: they are still related to Mogre 1.4.x)
http://www.ogre3d.org/wiki/index.php/Mogre_Tutorials
Maybe this helps.

Woospringbreak

24-05-2009 06:35:03

Sorry for missing posts.
Yeah i can run normal Mogre programs fine.

I'll check my log file.