[Ctk-developers] trouble running DGraph.exe - error on windows 7, visual studio 10

Steve Pieper pieper at bwh.harvard.edu
Fri Sep 3 13:41:43 EDT 2010


Okay - I think I see the problem now - I'm using the Qt visual studio 
binaries but they are from the 2008 version and I only have the 2010 
version installed so it can't find the right debug dll (turns out the 
sxstrace utility was able to give the needed info).

I think just installing vcexpress 2008 will fix this...

Thanks for your help, Jc!
-Steve


=================
Begin Activation Context Generation.
Input Parameter:
	Flags = 0
	ProcessorArchitecture = Wow32
	CultureFallBacks = en-US;en
	ManifestPath = d:\qt\4.6.3\bin\QtCored4.dll
	AssemblyDirectory = d:\qt\4.6.3\bin\
	Application Config File =
-----------------
INFO: Parsing Manifest File d:\qt\4.6.3\bin\QtCored4.dll.
	INFO: Manifest Definition Identity is (null).
	INFO: Reference: 
Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference 
Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
	INFO: Resolving reference for ProcessorArchitecture WOW64.
		INFO: Resolving reference for culture Neutral.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at 
C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
				INFO: Did not find manifest for culture Neutral.
			INFO: End assembly probing.
	INFO: Resolving reference for ProcessorArchitecture x86.
		INFO: Resolving reference for culture Neutral.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at 
C:\Windows\assembly\GAC_32\Microsoft.VC90.DebugCRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.DebugCRT.DLL.
				INFO: Attempt to probe manifest at 
d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT.DLL.
				INFO: Attempt to probe manifest at 
d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT.MANIFEST.
				INFO: Attempt to probe manifest at 
d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.DLL.
				INFO: Attempt to probe manifest at 
d:\qt\4.6.3\bin\Microsoft.VC90.DebugCRT\Microsoft.VC90.DebugCRT.MANIFEST.
				INFO: Did not find manifest for culture Neutral.
			INFO: End assembly probing.
	ERROR: Cannot resolve reference 
Microsoft.VC90.DebugCRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.



On Sep/3/10 1:19 PM, Steve Pieper wrote:
> With your change I get the output below from cmake.
>
> When I open dgraph visual studio (with Qt dll path defined) I am able to
> rebuild but I get the same error on startup.
>
> This is a new visual studio install, so I will doublecheck that it can
> compile and run anything - this may not be a ctk issue.
>
> Thanks,
> Steve
>
>> pieper at desk /d/pieper/ctk/latest/CTK-superbuild
>> $ cmake ../CTK
>> -- Generated: D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt
>> CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126 (MESSAGE):
>> Failed to obtain dependence path of CTKCore.
>>
>> Exit code 0xc0150002
>>
>>
>>
>> D:/pieper/ctk/latest/CTK-superbuild
>>
>> Call Stack (most recent call first):
>> CMakeLists.txt:438 (ctkMacroValidateBuildOptions)
>>
>>
>> -- Configuring incomplete, errors occurred!
>>
>
>
> On Sep/3/10 1:13 PM, Jean-Christophe Fillion-Robin wrote:
>> Interesting ...
>>
>> .. would it be possible to open the generated solution file associated
>> with Dgraph. This one is located here:
>>
>> /Projects/CTK-Superbuild-PythonQt-Debug/Utilities/DGraph/DGraph.sln ?
>>
>> VS2010 should open, what happen if you try to build it from there ?
>>
>> Jc
>>
>> On Fri, Sep 3, 2010 at 1:06 PM, Steve Pieper <pieper at bwh.harvard.edu
>> <mailto:pieper at bwh.harvard.edu>> wrote:
>>
>>
>>
>> On Sep/3/10 1:03 PM, Jean-Christophe Fillion-Robin wrote:
>>
>>
>> It would also be nice to find out if it's a problem related to
>> some path ? Assuming qt is in the path, from a console, can you
>> run DGraph ?
>>
>>
>> I tried that (this was buried at the end of my email... ;)
>>
>>
>>
>> If I run this in a cmd console (after adding Qt bin dir
>> to the Path)
>> I get a dialog box "This application was unable to
>> start..." with
>> the same hex exit code.
>>
>>
>>
>>
>> --
>> Phone: 1-518-836-2174
>> Ext: 304
> _______________________________________________
> Ctk-developers mailing list
> Ctk-developers at commontk.org
> http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers



More information about the Ctk-developers mailing list