I updated ctkMacroValidateBuildOptions to display an error message mentioning the project name. <br><br>See <a href="http://github.com/commontk/CTK/commit/e212eaa17f74ca8e8ae4ae515723f20302bf3872">http://github.com/commontk/CTK/commit/e212eaa17f74ca8e8ae4ae515723f20302bf3872</a><br>

<br>Would be great to give a try ? <br><br>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 ? <br><br>DGraph is located in <SUPERBUILD>/Utilities/Dgraph<br>

<br>It should output something like that: <br>Usage: Utilities/DGraph/DGraph <graphfile> [-paths Label | -sort Label]<br><br>Thks<br>Jc<br><br><div class="gmail_quote">On Fri, Sep 3, 2010 at 11:06 AM, Steve Pieper <span dir="ltr"><<a href="mailto:pieper@bwh.harvard.edu">pieper@bwh.harvard.edu</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">21 22<br>
CTKWidgets CTKCore<br>
CTKDICOMCore CTKCore<br>
CTKDICOMWidgets CTKDICOMCore<br>
CTKDICOMWidgets CTKWidgets<br>
CTKMessagingCore CTKCore<br>
CTKScriptingPythonCore CTKCore<br>
CTKScriptingPythonWidgets CTKWidgets<br>
CTKScriptingPythonWidgets CTKScriptingPythonCore<br>
CTKVisualizationVTKCore CTKCore<br>
CTKVisualizationVTKWidgets CTKWidgets<br>
CTKVisualizationVTKWidgets CTKVisualizationVTKCore<br>
CTKVisualizationXIP CTKCore<br>
org_commontk_eventbus CTKPluginFramework<br>
org_commontk_cli CTKPluginFramework<br>
ctkCLIPluginExplorer CTKPluginFramework<br>
ctkDICOM CTKDICOMWidgets<br>
ctkDICOMIndexer CTKDICOMCore<br>
ctkDICOMDemoSCU CTKDICOMCore<br>
ctkDICOMQuery CTKDICOMCore<br>
ctkDICOMRetrieve CTKDICOMCore<br>
ctkPluginBrowser CTKPluginFramework<br>
ctkSimplePythonShell CTKScriptingPythonWidgets<div class="im"><br>
<br>
<br>
<br>
On Sep/3/10 10:39 AM, Jean-Christophe Fillion-Robin wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
What the content of the file:<br>
/D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt/ ?<br>
<br>
Thks<br>
Jc<br>
<br>
<br>
On Fri, Sep 3, 2010 at 10:24 AM, Steve Pieper <<a href="mailto:pieper@bwh.harvard.edu" target="_blank">pieper@bwh.harvard.edu</a><br></div><div><div></div><div class="h5">
<mailto:<a href="mailto:pieper@bwh.harvard.edu" target="_blank">pieper@bwh.harvard.edu</a>>> wrote:<br>
<br>
<br>
    With the current git master I do not get this errors on XP x64, vs<br>
    9, cmake 2.8.0, 32 bit generator.<br>
<br>
    But on windows 7 x64 and vs 10 and cmake 2.8.2 32 bit generator<br>
    running CMake on CTK gives this:<br>
<br>
        Check for working C compiler using: Visual Studio 10<br>
        Check for working C compiler using: Visual Studio 10 -- works<br>
        Detecting C compiler ABI info<br>
        Detecting C compiler ABI info - done<br>
        Check for working CXX compiler using: Visual Studio 10<br>
        Check for working CXX compiler using: Visual Studio 10 -- works<br>
        Detecting CXX compiler ABI info<br>
        Detecting CXX compiler ABI info - done<br>
        Looking for Q_WS_X11<br>
        Looking for Q_WS_X11 - not found.<br>
        Looking for Q_WS_WIN<br>
        Looking for Q_WS_WIN - found<br>
        Looking for Q_WS_QWS<br>
        Looking for Q_WS_QWS - not found.<br>
        Looking for Q_WS_MAC<br>
        Looking for Q_WS_MAC - not found.<br>
        Found Qt-Version 4.6.3 (using D:/qt/4.6.3/bin/qmake.exe)<br>
        Generated:<br>
        D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt<br>
        CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:126<br>
        (MESSAGE):<br>
          Failed to obtain dependence path of .<br>
<br>
          Exit code 0xc0150002<br>
<br>
<br>
<br>
          D:/pieper/ctk/latest/CTK-superbuild<br>
<br>
        Call Stack (most recent call first):<br>
          CMakeLists.txt:438 (ctkMacroValidateBuildOptions)<br>
<br>
<br>
        Configuring incomplete, errors occurred!<br>
<br>
<br>
    I tried adding some debug info and running cmake --trace to get the<br>
    command line:<br>
<br>
        D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(117):<br>
          MESSAGE(exec<br>
          D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe   ${CTK_BINARY_DIR}/DGraphInput-alldep.txt  -sort  ${target_project_name} )<br>
        exec<br>
        D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe<br>
        D:/pieper/ctk/latest/CTK-superbuild/DGraphInput-alldep.txt -sort<br>
        CTKCore<br>
        D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(118):<br>
          EXECUTE_PROCESS(COMMAND<br>
        D:/pieper/ctk/latest/CTK-superbuild/Utilities/DGraph/Debug/DGraph.exe<br>
        ${CTK_BINARY_DIR}/DGraphInput-alldep.txt -sort<br>
        ${target_project_name} WORKING_DIRECTORY ${CTK_BINARY_DIR}<br>
        RESULT_VARIABLE RESULT_VAR OUTPUT_VARIABLE dep_path<br>
        ERROR_VARIABLE error OUTPUT_STRIP_TRAILING_WHITESPACE )<br>
        D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(126):<br>
          IF(RESULT_VAR )<br>
        D:/pieper/ctk/latest/CTK/CMake/ctkMacroValidateBuildOptions.cmake(127):<br>
          MESSAGE(FATAL_ERROR Failed to obtain dependence path of<br>
        ${subir}.\n${RESULT_VAR}\n${CTK_BINARY_DIR}\n${error} )<br>
        CMake Error at CMake/ctkMacroValidateBuildOptions.cmake:127<br>
        (MESSAGE):<br>
          Failed to obtain dependence path of .<br>
<br>
          Exit code 0xc0150002<br>
<br>
<br>
    If I run this in a cmd console (after adding Qt bin dir to the Path)<br>
    I get a dialog box "This application was unable to start..." with<br>
    the same hex exit code.<br>
<br>
    Thanks for any hints...<br>
    -Steve<br>
    _______________________________________________<br>
    Ctk-developers mailing list<br></div></div>
    <a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a> <mailto:<a href="mailto:Ctk-developers@commontk.org" target="_blank">Ctk-developers@commontk.org</a>><div class="im">

<br>
    <a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ctk-developers</a><br>
<br>
<br>
<br>
<br>
--<br>
Phone: 1-518-836-2174<br>
Ext: 304<br>
</div></blockquote>
</blockquote></div><br><br clear="all"><br>-- <br>Phone: 1-518-836-2174<br>Ext: 304<br>