MOGRE 1.7.1 SDK Installer

glateur

08-08-2014 20:06:37

Hi,

I'm having problems running the samples/demos in the latest official MOgre SDK installer.
I've installed this: http://mogresdk.googlecode.com/files/Mo ... ta_r72.exe
I got that link from here: http://www.ogre3d.org/tikiwiki/MOGRE

I'm on win7 pro sp1 64-bit. My system passes all dependency checks and generates no errors (nor warnings) when building the samples.

The problem is that all samples crash/hang ('application has stopped working') immediately when started. No Ogre.log file is produced. All I have to go on is this error entry in my application logs:

- <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">;
- <System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-08-08T18:17:51.000000000Z" />
<EventRecordID>88726</EventRecordID>
<Channel>Application</Channel>
<Computer>guy-thuisbak</Computer>
<Security />
</System>
- <EventData>
<Data>Mogre.Demo.Transparency.exe</Data>
<Data>1.0.0.0</Data>
<Data>53e513fb</Data>
<Data>KERNELBASE.dll</Data>
<Data>6.1.7601.18409</Data>
<Data>5315a05a</Data>
<Data>e0434f4d</Data>
<Data>000000000000940d</Data>
</EventData>
</Event>


I'd very much appreciate any suggestions on how to proceed with/get over this.
Cheers,
g

Zonder

11-08-2014 13:01:42

Make sure you are running your application in 32bit mode as default it will be 64bit on a 64bit system

glateur

11-08-2014 19:52:35

Hi Zonder,

Thanks for the suggestion, it was indeed a 32/64bit problem.

For all clarity: I'm not talking about my own application, but about the demos/samples that come with the mogreSDK installer (like Mogre.Demo.CelShading.exe). They don't seem to work right out of the box -- at least not on my system. I didn't build these myself; I used the option to build them within the installer. The problem is that this default build on 64bit systems produces executables that don't work.

Luckily, there's a very simple solution: the default build command is BuildSamples.cmd, in the SDK root folder. There's also a BuildSamplesX86.cmd in there; just run that to (re)build the samples, and all is well.


This all does raise the question of the 32bit-ness if our Mogre applications -- going slightly off-topic, here, if I may. Will we see a 64bit Mogre any time soon? According to the Ogre SDK releases, there was a 64bit 1.7 version for Ubuntu, and the 1.9 RC1 also included 64bit versions. I'm not sure this makes a whole lot of difference, really, but it would be nice to know that we're not 'condemned' to producing 32bit applications because of the Mogre dependency, right?

Finally, I should propbably add that, for my own application, I'm using the 1.7.4 binaries, kindly provided to us by Beauty, see this announcement: viewtopic.php?f=8&t=29714

Beauty

06-01-2015 09:51:00

Hi Glateur,

our latest SDK is a little bit outdated.
When its maintainer leaved, there were still some open points.

Unfortunately nobody else improved or updated the SDK later.
I also added more examples to the SDK repository, but they aren't added to the installer, yet.

Yes, the "auto" target option is unfortunate on 64 bit systems, especially for beginners.


Mogre can be build against x64, too.
It should be done by the MogreBuilder with the "-x64" option.
MogreBuilder is very easy to use. Just try it.
Wiki page: http://www.ogre3d.org/tikiwiki/MogreBuilder
Repository: https://bitbucket.org/mogre/mogrebuilder

A professional game developer told, that there shouldn't be a real performance boost for using x64 Mogre binaries.
Additionally there is a downside: You can't use precompiled add-on binaries. Instead you need to compile the projects yourself, which can be more or less tricky.


I'm using the 1.7.4 binaries, kindly provided to us by Beauty
Nice to hear that you were happy about my binaries. (-: