[Solved]Mogre - visubal basic - visual studio 2008

hedphelym

25-10-2008 18:35:09

Hi,

I am trying to get mogre to work,
I am using the basic wiki tutorial for VB.
Currently setting up the first project.

I've installed the newest Ogre, and the newest Mogre.
and added the DLL's to the project as the wiki says.

But when i compile i get this error:

System.IO.FileLoadException was unhandled
Message: A procedure imported by 'Mogre, Version=1.4.8.0, Culture=neutral, PublicKeyToken=null' could not be loaded.



To be honest I do not know where I do wrong.

ProfesorX

25-10-2008 19:40:46


I've installed the newest Ogre, and the newest Mogre.
and added the DLL's to the project as the wiki says.


You don't need OGRE to use MOGRE, if you overwrite MOGRE dll's with OGRE dll's maybe tha'ts the reason of your error.

Uninstall both and make a new installation of MOGRE only.

hedphelym

25-10-2008 20:00:43

reinstalled sdk, and added the dll's.
now i get this error:

System.IO.FileNotFoundException was unhandled
Message: The specified module could not be found. (Exception from HRESULT: 0x8007007E)


'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_32\mscorlib\2.0.0.0__b77a5c561934e089\mscorlib.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Windows.Forms\2.0.0.0__b77a5c561934e089\System.Windows.Forms.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System\2.0.0.0__b77a5c561934e089\System.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Drawing\2.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.HostingProcess.Utilities.Sync\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.HostingProcess.Utilities.Sync.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualStudio.Debugger.Runtime\9.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualStudio.Debugger.Runtime.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Users\Administrator\Desktop\MogreTutorial0\MogreTutorial0\bin\x86\Release\MogreTutorial0.vshost.exe', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Xml\2.0.0.0__b77a5c561934e089\System.Xml.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Core\3.5.0.0__b77a5c561934e089\System.Core.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Xml.Linq\3.5.0.0__b77a5c561934e089\System.Xml.Linq.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\Microsoft.VisualBasic\8.0.0.0__b03f5f7f11d50a3a\Microsoft.VisualBasic.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x9fc has exited with code 0 (0x0).
The thread 0x474 has exited with code 0 (0x0).
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Users\Administrator\Desktop\MogreTutorial0\MogreTutorial0\bin\x86\Release\MogreTutorial0.exe', Symbols loaded.
'MogreTutorial0.vshost.exe' (Managed): Loaded 'C:\Windows\assembly\GAC_MSIL\System.Configuration\2.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll', Skipped loading symbols. Module is optimized and the debugger option 'Just My Code' is enabled.
The thread 0x50c has exited with code 0 (0x0).
The program '[3916] MogreTutorial0.vshost.exe: Managed' has exited with code -532459699 (0xe0434f4d).

hedphelym

25-10-2008 20:21:59

Found the problem,
it did not copy all files that was added to the project.
(Even if i said it should copy the DLL's).
two of them did not copy over.
so I just copied it in manually and it now works.

Thanks for the help! :)