MogreBuilder with 2012


31-01-2013 01:44:37

hello, I use MogreBuilder with vs2012
and i compile success but i use it to compile mogre samples

1>------ 已启动全部重新生成: 项目: Demo.ExampleApplication, 配置: Debug x86 ------
1> Demo.ExampleApplication -> F:\Ogre3DEngine\Mogre1.7Demo\MogreSamples_TerrainAndPaging\bin\debug\Mogre.Demo.ExampleApplication.dll
2>------ 已启动全部重新生成: 项目: Demo.BSP, 配置: Debug x86 ------
2> Demo.BSP -> F:\Ogre3DEngine\Mogre1.7Demo\MogreSamples_TerrainAndPaging\bin\debug\Mogre.Demo.BSP.exe
========== 全部重新生成: 成功 2 个,失败 0 个,跳过 0 个 ==========

then i run this sample ,there has error:

"System.IO.FileLoadException" type of an unhandled exception in the unknown module.In place

Other information: failed to load the "Mogre.dll" into the.


01-02-2013 10:44:19

If I remember correctly I've seen an exception like this once when i tried to load an x64 assembly into a program compiled for x86 or "Any CPU" (or vice versa). I had to compile both Mogre and my program for x86 (or x64 respectively). Maybe your problem is similar?