Runs fine on my machine, but nowhere else :(
I've finally managed to put together a really simple Mogre app that uses Mogrenewt to great success. But it only runs on my machine.
On other machines, I get an error that looks like this:
AppName: freerover.exe AppVer: 0.0.0.0 AppStamp: 45c591e1
ModName: kernel32.dll ModVer: 5.1.2600.2945 ModStamp: 44ab9a84
fDebug: 0 Offset: 00012a5b
My machine (Dev environment):
XP Pro SP2.
Mogre 0.1.9, downloaded off the main wiki page.
Updated with Visual Studio Express SP1.
Newton Game Dynamics 1.53.
I've copied every damn Ogre and Mogre dll, and the newton dll into the application directory and done a Release compile. On the Dev machine, all runs flawlessly.
Target machine (User environment):
XP Pro SP2.
Installed dotnet redistributable 2.0.
Installed vc redistributable.
This is making me absolutely nuts. I've tried now on a several machines, and my development machine is the only place it works. What the hell am I missing?
Thank you very much in advance for any and all help.
Is the vc redistributable from your VS Express ? I saw people complaining that Express SP1 doesn't update the vc redistributable.
If that's the case, try the redistributable from here
If that's not the case, what does the ogre.log says ?
I forgot to mention that I already installed the vcredist on my dev machine as well.
But the one I installed has a much later version number than the one you posted. Should I try the lower-version file?
Also, Ogre never writes a log. I crash before I even get that far, which is what's really frustrating me.
On the dev machine: flawless. On anything else: crash with no log.
It's bedtime now, but tomorrow I'll try the vcredist that you posted, and I just had an idea to try out the sample MogroNewt applications to see what happens with them.
Thanks for your help.
Okay I finally got it working. The vcredist that you posted was only half of the key. Note to future readers of this thread: the vcredist that you get from Microsoft doesn't work. Why? I dunno, but it doesn't. Grab the one that Bekas links to.
The other half of the key was DevIL.dll, which I found in OgreSDK/bin/debug (NOT in release). For some reason, I don't need it on my machine, but I do on other machines.
Thank you very very much for pointing me to that vcredist file. I would have given up if you hadn't helped me out. I really appreciate it.
the vcredist that you get from Microsoft doesn't work. Why? I dunno, but it doesn't. Grab the one that Bekas links to.
The Express SP1 doesn't seem to update vcredist (bug? service pack for the service pack needed ?)
I uploaded the one from Visual Studio SP1.
The other half of the key was DevIL.dll, which I found in OgreSDK/bin/debug (NOT in release)
Don't know what happened with your installation, the SDK should have put it on release too.
I actually downloaded just the vcredist_x86.exe from Microsoft, here
like the proper file, but it's actually completely different from the one that you find in the VS Pro SP1. So again, if you don't have VS Pro, grab the vcredist that Bekas links to. The one at Microsoft's site is deadly.
Also, you're right about DevIL.dll. I reinstalled the Mogre SDK and the little devil appeared in release. I must have moved it instead of copying it during one of my frantic dll hunts. Sorry for the false alarm on that.
And again, thanks for helping me work this out. These frustrations turn out to be great learning experiences once they're solved.
I actually downloaded just the vcredist_x86.exe from Microsoft, here.
It looks like the proper file, but it's actually completely different from the one that you find in the VS Pro SP1
Yeah, that's pre-SP1. I have no idea why microsoft doesn't upload the SP1 version too, is it a bureaucracy thing ?