Exception problem

MrSteel

18-01-2007 19:40:48

Sorry if this problem was posted already...
I have succesfully compilet tutorials and examples for Mogre on several PC's Visual Studio 2005

I made same thing on friend's computer and I get following error
FileLoadException

System.IO.FileLoadException was unhandled
Message="A procedure imported by 'Mogre, Version=0.1.8.1, Culture=neutral, PublicKeyToken=null' could not be loaded."
Source="Test1"
FileName="Mogre, Version=0.1.8.1, Culture=neutral, PublicKeyToken=null"
FusionLog=""
StackTrace:
at Tutorial01.Program.Main()
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()

can anyone help and point me if I can resolve this or where I am making mistake (I did exactly same thing)

smernesto

18-01-2007 22:59:39

Hi.

If you are using debug dlls for mogre and ogre try to use the release dlls.

If you compile the demos with a reference to release dlls you have to use release dlls of ogre, the same for debug references.

Just try to copy the .exe to the directory of release or debug dlls and see if works.


Ernesto Gutierrez