[SOLVED]MSVCR90D.DLL problem

Problems building or running the engine, queries about how to use features etc.
Post Reply
User avatar
ABlueEyedMonkey
Gnoblar
Posts: 20
Joined: Sat Aug 23, 2008 6:31 pm

[SOLVED]MSVCR90D.DLL problem

Post by ABlueEyedMonkey »

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 :(
Last edited by ABlueEyedMonkey on Sun Feb 22, 2009 10:17 pm, edited 1 time in total.
User avatar
ABlueEyedMonkey
Gnoblar
Posts: 20
Joined: Sat Aug 23, 2008 6:31 pm

Re: MSVCR90D.DLL problem

Post by ABlueEyedMonkey »

forgot to say, that i did the dependency walker on the OgreMain_d.dll, and that was where the walker was flaggin problem...
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 99
Contact:

Re: MSVCR90D.DLL problem

Post by Wolfmanfx »

He i have the same problem today :) but not with ogre but with gamebryo and my problem is CEGUI
User avatar
ABlueEyedMonkey
Gnoblar
Posts: 20
Joined: Sat Aug 23, 2008 6:31 pm

Re: MSVCR90D.DLL problem

Post by ABlueEyedMonkey »

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 :(
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 99
Contact:

Re: MSVCR90D.DLL problem

Post by Wolfmanfx »

I try to install vs2005 to resolve the problem i think some of the deps still using vs2005 debug runtime
User avatar
jacmoe
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 20570
Joined: Thu Jan 22, 2004 10:13 am
Location: Denmark
x 179
Contact:

Re: MSVCR90D.DLL problem

Post by jacmoe »

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>
/* Less noise. More signal. */
Ogitor Scenebuilder - powered by Ogre, presented by Qt, fueled by Passion.
OgreAddons - the Ogre code suppository.
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 99
Contact:

Re: MSVCR90D.DLL problem

Post by Wolfmanfx »

I checked my manifest file

Code: Select all

<dependentAssembly>
      <assemblyIdentity type="win32" name="Microsoft.VC80.DebugCRT" version="8.0.50727.762" processorArchitecture="x86"></assemblyIdentity>
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.
User avatar
ABlueEyedMonkey
Gnoblar
Posts: 20
Joined: Sat Aug 23, 2008 6:31 pm

Re: MSVCR90D.DLL problem

Post by ABlueEyedMonkey »

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:

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>
User avatar
ABlueEyedMonkey
Gnoblar
Posts: 20
Joined: Sat Aug 23, 2008 6:31 pm

Re: MSVCR90D.DLL problem

Post by ABlueEyedMonkey »

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... :?
User avatar
Wolfmanfx
OGRE Team Member
OGRE Team Member
Posts: 1525
Joined: Fri Feb 03, 2006 10:37 pm
Location: Austria - Leoben
x 99
Contact:

Re: MSVCR90D.DLL problem

Post by Wolfmanfx »

Yep my problem is resolved so crappy CeGUI deps are not properly compiled
User avatar
ABlueEyedMonkey
Gnoblar
Posts: 20
Joined: Sat Aug 23, 2008 6:31 pm

Re: MSVCR90D.DLL problem

Post by ABlueEyedMonkey »

yeah that did the trick - thanks Wolfmanfx
Post Reply