Visual C# 2005 express exception error

AzraelK

08-08-2006 20:08:03

Ive downloaded the precompiled DLL and followed the instalation process for
the

http://www.illogical.us/ogredotnet/Ogre ... s8_Bin.zip dll's

and I still get this exception error. in the wiki ogredotnet basic tutorial 1


System.TypeInitializationException was unhandled
Message="The type initializer for 'OgreDotNet.OgreBindingsPINVOKE' threw an exception."
Source="OgreDotNet"
TypeName="OgreDotNet.OgreBindingsPINVOKE"
StackTrace:
at OgreDotNet.OgreBindingsPINVOKE.new_Root__SWIG_3()
at OgreDotNet.Root..ctor() in C:\Dev\ogre\odnt\ogredotnet\OgreNet\Root.cs:line 106
at OgreDotNet.ExampleApplication.Setup() in C:\Dev\ogre\odnt\ogredotnet\OgreNet\Custom\ExampleApplication.cs:line 69
at OgreDotNet.ExampleApplication.Start() in C:\Dev\ogre\odnt\ogredotnet\OgreNet\Custom\ExampleApplication.cs:line 56
at TutorialApplication1.TutorialApplication.Main(String[] args) in C:\Documents and Settings\german\Mis documentos\Visual Studio 2005\Projects\Consoledotnet\Program.cs:line 17
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()


Im using the VS2005 version of ogre too.

What am I doing wrong?

mvarga

11-08-2006 14:35:09

I got the same issue

rjs

11-08-2006 16:48:27

Same here. I'm still learning my way around the sources so I'm not entirely sure where to look first.

timoch

11-08-2006 22:27:26

Got the same issue

You need to get Ogre 1.2.0 *not* *any* other version (like 1.2.2)

TiMoch

LuRenJia

12-08-2006 17:42:20

try release dll not debug.

your project could be compiled under release or debug mode, but both use release dlls of ogreDotNet.

sorry for my English skill.;-)