GUI - example

one_eddie

31-05-2007 08:06:46

Has anybody got it working?

I'v downloaded it from SVN, compiled and Exception came:

System.TypeInitializationException was unhandled
Message="The type initializer for 'Mogre.Cegui.OgreBindings_CeguiPINVOKE' threw an exception."
Source="Mogre.Cegui"
TypeName="Mogre.Cegui.OgreBindings_CeguiPINVOKE"
StackTrace:
at Mogre.Cegui.OgreBindings_CeguiPINVOKE.new_OgreCEGUIRenderer__SWIG_4(IntPtr jarg1, Byte jarg2, Boolean jarg3, UInt32 jarg4, IntPtr jarg5)
at Mogre.Cegui.OgreCEGUIRenderer..ctor(RenderWindow window, Byte queue_id, Boolean post_queue, UInt32 max_quads, SceneManager scene_manager)
at GuiSample.Program.MyOgreWindow.CreateCamera() in c:\OgreSDK\samples\gui\Program.cs:line 63
at MogreFramework.OgreWindow.InitializeOgre()
at MogreFramework.OgreWindow.Go()
at GuiSample.Program.Main() in c:\OgreSDK\samples\gui\Program.cs:line 23
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


I'v got tle latest MOGRE DLL installed.

How can I fix this?
or Is there any other GUI library working with mogre?