Compiling MOIS


07-05-2010 22:00:55

I tried to compile the Samples for VS2010 for Mogre. For that to work, I have to compile MOIS first. Ok, so I go for MOIS then..

But it seems, that MOIS needs a full Visual Studio - the Express verions won't do. The reason is, that it contains C# and C++ projects in one solution. For Visual Studio 2010 you can only install Visual C++ Express or Visual C# Express seperately. Both can't read the project of each other.

Is this intended? Was this possible in VS2008 Express? Should it be changed?

Ciao, Imi.


08-05-2010 10:24:26

can't you just open the vcproj file separately ? Mogrenewt is the same, but when i open the sln in the express version, it just load the vcproj file for the c++ proj, and left the vc# one. Beside, the mois projet is just c++/cli, the csharp proj should be the test app.


08-05-2010 15:38:43

Compiled MOIS successfull. However, the samples compile but don't start and break with

System.BadImageFormatException was unhandled
Message=Could not load file or assembly 'Mogre.dll' or one of its dependencies. ist keine zulässige Win32-Anwendung. (Exception from HRESULT: 0x800700C1)
at Mogre.Demo.BSP.Program.Main(String[] args)
at System.AppDomain._nExecuteAssembly(RuntimeAssembly 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, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()

:-(. Well, have to look into this later.