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

Steve Pieper pieper at bwh.harvard.edu
Fri Sep 3 14:24:42 UTC 2010


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



More information about the Ctk-developers mailing list