VC# Express 2008 Error


12-12-2007 13:21:10

I am trying to use MOGRE on VC# Express 2008, and I followed the MOGRE Basic Tutorial 0 and when I tried to run it, it gave this error: "Could not load file or assembly 'Mogre, Version=, Culture-neutral..." I have read that the solution is to download the SP1 for VC# 2005, but I have 2008... Thanks for any help


13-12-2007 21:16:28

mogre works fine with VC# 2008.. are you sure you did reference the assembly in your proyect?


14-12-2007 13:23:25

Yes... I did reference the assembly... no matter what I do, it gives that error


18-12-2007 13:30:33

Make sure you have the latest Ogre dlls in the same directory, and make sure ALL the dll's are the same type of version, i.e. all release version, or all debug version, not a mix


19-12-2007 02:50:28

"the same directory": what directory is this?


19-12-2007 15:34:30

The Mogre/Ogre dll's need to be in the same directory as the app, where the main exe sits. Hope this helps?


20-12-2007 02:51:41

Thanks, but this does not help me... I'm so confused


22-12-2007 05:24:20

You have to install the VC++ SP1, because Mogre is compiled with it.

You use VC# 2008 but Mogre was compiled With Visual C++ 2005 SP1.

If you have installed it then there is another problem. And you need the SP1 for the VC++ libraries, is not necessarily to install the SP1 for Visual Studio 2005 if you don´t want.

Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) ... layLang=en


22-12-2007 21:17:51

I don't have VC++ 2005, besides Ogre worked fine with VC++ 2008...


15-01-2008 10:51:39

If you still having this problem try using a newer version of Mogre i.e 146
I noticed you are still using 2.0


16-01-2008 11:26:58

OK I got it to work by installing VC++ 05 and then installing the VC++ 05 SP1


16-01-2008 14:43:37

If you still having this problem try using a newer version of Mogre i.e 146
There are still problems with the SDK compilation 1.4.6.
For more information about look to [u]this thread[/u].