[Insight-developers] ITK Dashboard : sanchome : KWStyle : Incorrect configuration in CMake
Luis Ibanez
luis.ibanez at kitware.com
Thu Mar 11 08:11:26 EST 2010
Hi Arnaud,
Looking at the Dashboard errors from sanchome.megason-lab.hms
---------------------------------------------------------------------------------------
CMake Error at Utilities/KWStyle/KWStyle.cmake:25 (string):
string sub-command LENGTH requires two arguments.
Call Stack (most recent call first):
CMakeLists.txt:174 (INCLUDE)
CMake Error at Utilities/KWStyle/KWStyle.cmake:31 (string):
string sub-command LENGTH requires two arguments.
Call Stack (most recent call first):
CMakeLists.txt:174 (INCLUDE)
--------------------------------------------------------------------------------------------
They come from the following lines
IF(KWSTYLE_EXECUTABLE)
EXECUTE_PROCESS(
COMMAND ${KWSTYLE_EXECUTABLE} -version
OUTPUT_VARIABLE KWSTYLE_VERSION_TEXT
)
string(STRIP ${KWSTYLE_VERSION_TEXT} KWSTYLE_VERSION_TEXT)
It really looks like:
A) the command KWStyle -version
is not working properly in this machine
or
B) The path that has been assigned to the variable
KWSTYLE_EXECUTABLE is not really the path
to the KWStyle executable.
Could you please take a look at the CMakeCache in this
machine and let us know what the path is for KWStyle
that the cache ?
Thanks
Luis
More information about the Insight-developers
mailing list