Windows 64 bit OS

fletch27502

25-08-2009 17:36:39

Is anyone running 1.6.2 on a 64bit Windows machine(i have XP)?

System.BadImageFormatException: Could not load file or assembly 'Mogre, Version=1.6.2.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Mogre, Version=1.6.2.0, Culture=neutral, PublicKeyToken=null'

I'm getting exception above when I run the application on a 64bit machine. Is there something special I need to do to port from a 32bit application to a 64bit application.

Scott

smiley80

25-08-2009 18:05:43

viewtopic.php?f=8&t=10826

The 64-bit version of the framework can't load 32-bit libraries.

Either set the target cpu in your project's preferences to x86, that forces the start of the 32-bit version. (the easy way)
Or recompile Mogre and its dependencies for 64-bit. (the hard way, with little to none benefits)