MOGRE

Tushar

11-01-2010 11:52:05

Hi friend
Good Afternoon

I tried out sample application as Below

Form1.cs
--------------------------
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Mogre;
using MogreFramework;

namespace WindowsFormsOgre
{
public partial class Form1 : Form
{
Root mRoot;
public Form1()
{
InitializeComponent();
mRoot = new Mogre.Root();

}
}
}


Programm.cs
------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using Mogre;
using MogreFramework;

namespace WindowsFormsOgre
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);

try
{
Application.Run(new Form1());
}
catch (Exception e)
{
MessageBox.Show(e.Message);
}

}
}
}



But we i debug the application below exception is coming

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



if any body have idea of this exception ?
then please Help me.......
Have Nice Day

Advance thanks

Beauty

11-01-2010 12:39:01

@Tushar: I edit your post.
Please use the Code button for posting source code.
This is better for overview.

Also please give a good title to your threads - not just "MOGRE".

And give us more information.
Which Mogre version you use?
Which tutorial you tried? (Good would to attach its link.)
This is important to find out the problem.

Beauty

11-01-2010 12:46:29

In your code you use the MogreFramework.
This is a helper class for some tutorials (related to an older Mogre version).
I suppose it doesn't work with the current Mogre version (or needs a recompile of MogreFramework.dll).
You see, we need to know more information.

Tushar

11-01-2010 12:57:23

Hi friend

My Morge Version is 1.6.5
I also download MorgeFramework.dll

I follow way to install the Mogre(link is below)
http://www.ogre3d.org/wiki/index.php/Mo ... Tutorial_0

I hope this will help u

please give me response......
Thanks

Beauty

12-01-2010 12:08:30

Unfortunately the tutorial 0 is outdated.
The linked file MogreFramework.dll is related to an older Mogre version.
You need a newer one.

Here is more information about:
(Please wait until somebody gives an answer and download link.)
viewtopic.php?f=8&t=11918&start=0