oramia
24-10-2009 09:05:49
Hi all,
I am trying to compile mogre samples and run them. My OS is Windows 7, I can compile the samples in Visual Studio 2008, but when I execute or debug them, I get an error saying:
Could not load file or assembly 'Mogre.Demo.ExampleApplication, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I've checked the references and all the files there, the example code outputs are there also, but I keep on getting the same exception. Do you have any idea what the problem may be? (I've set the assembly version to 1.1.0.0 to verify that I am pointing to the correct assembly, fails without touching anything in the same way)
This is the first thing that fails to run on Windows7, so I don't think that it is an OS compatibility problem
Edit: I've installed mogre 1.6 SDK beta 1 install from the link http://l4nm4n.users.sourceforge.net/pro ... 4_beta.exe
Edit: Looks like there's a bug in debug distribution of SDK (and binary download, the same problem), copying debug built demo applications to release directory makes them work. (see 4th post from me)
I am trying to compile mogre samples and run them. My OS is Windows 7, I can compile the samples in Visual Studio 2008, but when I execute or debug them, I get an error saying:
Could not load file or assembly 'Mogre.Demo.ExampleApplication, Version=1.1.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
I've checked the references and all the files there, the example code outputs are there also, but I keep on getting the same exception. Do you have any idea what the problem may be? (I've set the assembly version to 1.1.0.0 to verify that I am pointing to the correct assembly, fails without touching anything in the same way)
This is the first thing that fails to run on Windows7, so I don't think that it is an OS compatibility problem
Edit: I've installed mogre 1.6 SDK beta 1 install from the link http://l4nm4n.users.sourceforge.net/pro ... 4_beta.exe
Edit: Looks like there's a bug in debug distribution of SDK (and binary download, the same problem), copying debug built demo applications to release directory makes them work. (see 4th post from me)