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

Jean-Christophe Fillion-Robin jchris.fillionr at kitware.com
Fri Sep 3 13:03:31 EDT 2010


I updated ctkMacroValidateBuildOptions to display an error message
mentioning the project name.

See
http://github.com/commontk/CTK/commit/e212eaa17f74ca8e8ae4ae515723f20302bf3872

Would be great to give a try ?

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 ?

DGraph is located in <SUPERBUILD>/Utilities/Dgraph

It should output something like that:
Usage: Utilities/DGraph/DGraph <graphfile> [-paths Label | -sort Label]

Thks
Jc

On Fri, Sep 3, 2010 at 11:06 AM, Steve Pieper <pieper at bwh.harvard.edu>wrote:

> 21 22
> CTKWidgets CTKCore
> CTKDICOMCore CTKCore
> CTKDICOMWidgets CTKDICOMCore
> CTKDICOMWidgets CTKWidgets
> CTKMessagingCore CTKCore
> CTKScriptingPythonCore CTKCore
> CTKScriptingPythonWidgets CTKWidgets
> CTKScriptingPythonWidgets CTKScriptingPythonCore
> CTKVisualizationVTKCore CTKCore
> CTKVisualizationVTKWidgets CTKWidgets
> CTKVisualizationVTKWidgets CTKVisualizationVTKCore
> CTKVisualizationXIP CTKCore
> org_commontk_eventbus CTKPluginFramework
> org_commontk_cli CTKPluginFramework
> ctkCLIPluginExplorer CTKPluginFramework
> ctkDICOM CTKDICOMWidgets
> ctkDICOMIndexer CTKDICOMCore
> ctkDICOMDemoSCU CTKDICOMCore
> ctkDICOMQuery CTKDICOMCore
> ctkDICOMRetrieve CTKDICOMCore
> ctkPluginBrowser CTKPluginFramework
> ctkSimplePythonShell CTKScriptingPythonWidgets
>
>
>
>
> On Sep/3/10 10:39 AM, Jean-Christophe Fillion-Robin wrote:
>
>> What the content of the file:
>> /D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt/ ?
>>
>> Thks
>> Jc
>>
>>
>> On Fri, Sep 3, 2010 at 10:24 AM, Steve Pieper <pieper at bwh.harvard.edu
>> <mailto:pieper at bwh.harvard.edu>> wrote:
>>
>>
>>    With the current git master I do not get this errors on XP x64, vs
>>    9, cmake 2.8.0, 32 bit generator.
>>
>>    But on windows 7 x64 and vs 10 and cmake 2.8.2 32 bit generator
>>    running CMake on CTK gives this:
>>
>>        Check for working C compiler using: Visual Studio 10
>>        Check for working C compiler using: Visual Studio 10 -- works
>>        Detecting C compiler ABI info
>>        Detecting C compiler ABI info - done
>>        Check for working CXX compiler using: Visual Studio 10
>>        Check for working CXX compiler using: Visual Studio 10 -- works
>>        Detecting CXX compiler ABI info
>>        Detecting CXX compiler ABI info - done
>>        Looking for Q_WS_X11
>>        Looking for Q_WS_X11 - not found.
>>        Looking for Q_WS_WIN
>>        Looking for Q_WS_WIN - found
>>        Looking for Q_WS_QWS
>>        Looking for Q_WS_QWS - not found.
>>        Looking for Q_WS_MAC
>>        Looking for Q_WS_MAC - not found.
>>        Found Qt-Version 4.6.3 (using D:/qt/4.6.3/bin/qmake.exe)
>>        Generated:
>>        D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt
>>        CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126
>>        (MESSAGE):
>>          Failed to obtain dependence path of .
>>
>>          Exit code 0xc0150002
>>
>>
>>
>>          D:/pieper/ctk/latest/CTK-superbuild
>>
>>        Call Stack (most recent call first):
>>          CMakeLists.txt:438 (ctkMacroValidateBuildOptions)
>>
>>
>>        Configuring incomplete, errors occurred!
>>
>>
>>    I tried adding some debug info and running cmake --trace to get the
>>    command line:
>>
>>
>>  D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(117):
>>          MESSAGE(exec
>>
>>  D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe
>> ${CTK_BINARY_DIR}/DGraphInput-alldep.txt  -sort  ${target_project_name} )
>>        exec
>>
>>  D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe
>>        D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt -sort
>>        CTKCore
>>
>>  D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(118):
>>          EXECUTE_PROCESS(COMMAND
>>
>>  D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe
>>        ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort
>>        ${target_project_name} WORKING_DIRECTORY ${CTK_BINARY_DIR}
>>        RESULT_VARIABLE RESULT_VAR OUTPUT_VARIABLE dep_path
>>        ERROR_VARIABLE error OUTPUT_STRIP_TRAILING_WHITESPACE )
>>
>>  D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(126):
>>          IF(RESULT_VAR )
>>
>>  D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(127):
>>          MESSAGE(FATAL_ERROR Failed to obtain dependence path of
>>        ${subir}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error} )
>>        CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:127
>>        (MESSAGE):
>>          Failed to obtain dependence path of .
>>
>>          Exit code 0xc0150002
>>
>>
>>    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.
>>
>>    Thanks for any hints...
>>    -Steve
>>    _______________________________________________
>>    Ctk-developers mailing list
>>    Ctk-developers at commontk.org <mailto:Ctk-developers at commontk.org>
>>
>>    http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers
>>
>>
>>
>>
>> --
>> Phone: 1-518-836-2174
>> Ext: 304
>>
>


-- 
Phone: 1-518-836-2174
Ext: 304
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ctk-developers/attachments/20100903/09ffb631/attachment.html>


More information about the Ctk-developers mailing list