[SOLVED]MSVCR90D.DLL problem
- ABlueEyedMonkey
- Gnoblar
- Posts: 20
- Joined: Sat Aug 23, 2008 6:31 pm
[SOLVED]MSVCR90D.DLL problem
Hi guys, ive run into a problem which ive been stuck on now since Friday, and im ready to throw this computer against a wall.
Everything was working fine on thursday, and ogre was compiling and running perfectly. I was at a computer at uni using visual studio 2009, made
some changes to some c++ code, tried to run it and the program crashed. The crash was saying that the RenderSystem_Direct3D9_d could not be found. I used dependency walker on it, and it told me that the DLL MSVCR90D.DLL could not be found. I went to that directory and it is in there. I took the code home to my personal PC - which up to that point was running everything perfectly - and now all of a sudden its saying the same thing. Ive tried compiling the demos in Ogre, and they all compile fine, but as soon as you run them they crash.
I run visual studio 2008 on my home pc as well, and ive uninstalled and re-installed it, but with no luck; and ive also been using the ogre vstudio 9 binaries, because i thought perhaps the SDK i built somehow got corrupted. no luck.
Ive searched on google and read almost every post on this problem with no one being able to recommend a fix.
I dont know what else to do. The MSVCR90D.DLL is where it should it be.
Am i missing something obvious here?
Thanks for any help you can offer guys - i really dont know what else to do
Everything was working fine on thursday, and ogre was compiling and running perfectly. I was at a computer at uni using visual studio 2009, made
some changes to some c++ code, tried to run it and the program crashed. The crash was saying that the RenderSystem_Direct3D9_d could not be found. I used dependency walker on it, and it told me that the DLL MSVCR90D.DLL could not be found. I went to that directory and it is in there. I took the code home to my personal PC - which up to that point was running everything perfectly - and now all of a sudden its saying the same thing. Ive tried compiling the demos in Ogre, and they all compile fine, but as soon as you run them they crash.
I run visual studio 2008 on my home pc as well, and ive uninstalled and re-installed it, but with no luck; and ive also been using the ogre vstudio 9 binaries, because i thought perhaps the SDK i built somehow got corrupted. no luck.
Ive searched on google and read almost every post on this problem with no one being able to recommend a fix.
I dont know what else to do. The MSVCR90D.DLL is where it should it be.
Am i missing something obvious here?
Thanks for any help you can offer guys - i really dont know what else to do
Last edited by ABlueEyedMonkey on Sun Feb 22, 2009 10:17 pm, edited 1 time in total.
- ABlueEyedMonkey
- Gnoblar
- Posts: 20
- Joined: Sat Aug 23, 2008 6:31 pm
Re: MSVCR90D.DLL problem
forgot to say, that i did the dependency walker on the OgreMain_d.dll, and that was where the walker was flaggin problem...
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: MSVCR90D.DLL problem
He i have the same problem today but not with ogre but with gamebryo and my problem is CEGUI
- ABlueEyedMonkey
- Gnoblar
- Posts: 20
- Joined: Sat Aug 23, 2008 6:31 pm
Re: MSVCR90D.DLL problem
Thats interesting, because my friend who was working on gamebryo in the uni labs ran into the same problem. And we're also using crazy eddy for that too. Im totally stumped with this. Its so frustrating
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: MSVCR90D.DLL problem
I try to install vs2005 to resolve the problem i think some of the deps still using vs2005 debug runtime
- jacmoe
- OGRE Retired Moderator
- Posts: 20570
- Joined: Thu Jan 22, 2004 10:13 am
- Location: Denmark
- x 179
- Contact:
Re: MSVCR90D.DLL problem
I think it has something todo with the linking in of the manifest. Check your project settings.
<edit> I also remember something about needing to add something to the path, so check your path variable. If it's too big, cut it, but make sure that all the important bin folders are listed (win32/Your_compiler/bin, etc). </edit>
<edit> I also remember something about needing to add something to the path, so check your path variable. If it's too big, cut it, but make sure that all the important bin folders are listed (win32/Your_compiler/bin, etc). </edit>
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: MSVCR90D.DLL problem
I checked my manifest file
And this is depency to VS05 SP1 (8.0.50727.762) so i think there is a dep in CeGUI which is not rebuild wit VS08 (I used the dep package from the CeGUI Website) i will repost my result when the download/ install is finished.
Code: Select all
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.762" processorArchitecture="x86"></assemblyIdentity>
- ABlueEyedMonkey
- Gnoblar
- Posts: 20
- Joined: Sat Aug 23, 2008 6:31 pm
Re: MSVCR90D.DLL problem
this was the best i could find - no resolve though - just other people with similar issues:
http://social.msdn.microsoft.com/Forums ... c95cf5e98/
In the above thread, the guys turned off incremental linking and that seemed to solve it. It hasn't for me, as well as some of the other guys.
My manifest properties are as follows:
Generate manifest - yes
Manifest File - $(IntDir)\$(TargetFileName).intermediate.manifest
Additional Manifest Dependencies -
Allow Isolation - Yes
Enable User Account Control - Yes
UAC Execution Level - asInvoker
UAC Bypass UI Protection - no
Here is what the manifest file looks like:
http://social.msdn.microsoft.com/Forums ... c95cf5e98/
In the above thread, the guys turned off incremental linking and that seemed to solve it. It hasn't for me, as well as some of the other guys.
My manifest properties are as follows:
Generate manifest - yes
Manifest File - $(IntDir)\$(TargetFileName).intermediate.manifest
Additional Manifest Dependencies -
Allow Isolation - Yes
Enable User Account Control - Yes
UAC Execution Level - asInvoker
UAC Bypass UI Protection - no
Here is what the manifest file looks like:
Code: Select all
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level="asInvoker" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>
<dependency>
<dependentAssembly>
<assemblyIdentity type="win32" name="Microsoft.VC90.DebugCRT" version="9.0.21022.8" processorArchitecture="x86" publicKeyToken="1fc8b3b9a1e18e3b"></assemblyIdentity>
</dependentAssembly>
</dependency>
</assembly>
- ABlueEyedMonkey
- Gnoblar
- Posts: 20
- Joined: Sat Aug 23, 2008 6:31 pm
Re: MSVCR90D.DLL problem
something i wanted to add, was that in the above forum the guys were working off some kind of external drive, I am aswell. I still need to see if creating a project on my c drive offers any success. I cant see why i would though...
- Wolfmanfx
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
- Contact:
Re: MSVCR90D.DLL problem
Yep my problem is resolved so crappy CeGUI deps are not properly compiled
- ABlueEyedMonkey
- Gnoblar
- Posts: 20
- Joined: Sat Aug 23, 2008 6:31 pm
Re: MSVCR90D.DLL problem
yeah that did the trick - thanks Wolfmanfx