Hi, this is an information and sollution hack about a strange issue with the Debug build from source of SVN Trunk 2.9.11 throwing the error code 0xc0150002
I confirmed this on two different Win7 x64 machines, any Debug example and my osg apps linked to Debug libs throw this error. Traced it down through Dependency Walker and sxsTrace to osgDBd.dll, telling me that the side-by-side configuration is incorrect. I also build the 2.8.3 stable from source on the same systems, the error is not present there and all Debug apps are running. So I compared the Manifests of both dlls ( replace "_" with Space, "(" with less than, ")" with greater than ): osgDBd.dll 2.8.3 Manifest: (?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) (/assembly) osgDBd.dll 2.9.11 Manifest: (?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="amd64"_publicKeyToken="1fc8b3b9a1e18e3b")(/assemblyIdentity) ____(/dependentAssembly) __(/dependency) (/assembly) Notice that the 2.8.3 dll has no dependencies defined, the 2.9.11 has and this results in my problem. Does anybody know what the issue is, and how to fix it the right way ? My "Hack" to fix it: I removed the dependency entry from the 2.9.11 dll manifest and it works. Detailed steps for those who are facing the same issue: Backup osgDBd.dll drag and drop osgDBd.dll on Visual Studio Open RT_MANIFEST in the Document View DoubleClick the entry bellow ( my version: "2 [English (United States)]" ) Copy the Hex content of the newly oppened document RCDATA into a Text editor that can read Hex Data Remove lines ( including ) <dependency> to </dependency> Copy and paste back to RCDATA Save Done, all Debug apps working again. Cheers, ParticlePeter ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=36582#36582 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org