[vtkusers] Followup to previous post, Cmake fails

Alexander MacLennan alex.maclennan at gmail.com
Sun May 20 06:28:36 EDT 2007


I am trying to compile VTK from CVS: I am getting the following errors from
cmake:


 CMake Error: Error in cmake code at
 /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt:85:
 IF had incorrect arguments: NOT "${VTK_BINARY_DIR}" MATCHES
"^${VTK_SOURCE_DIR}$" (Regular expression
 "^/usr/student/tango/maclenna/src/c++/vtk/VTK$" cannot compile).
 Current CMake stack:
/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt

 CMake Error: Error in cmake code at
 /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt:91:
 ENDIF An ENDIF command was found outside of a proper IF ENDIF structure. Or
its arguments did not match the opening IF command.
 Current CMake stack:
/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt

 CMake Error: Error in cmake code at
 /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/internals/CMakeLists.txt:4:
 IF had incorrect arguments: "${TK_INTERNAL_PATH}" MATCHES
"${CMAKE_CURRENT_SOURCE_DIR}/tk${TCL_TK_VERSION}" (Regular expression
 "/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/internals/tk8.4"
cannot compile).
 Current CMake stack:
/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/internals/CMakeLists.txt

 CMake Error: Error in cmake code at
 /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/resources/CMakeLists.txt:4:
 IF had incorrect arguments: "${VTK_TK_RESOURCES_DIR}" MATCHES
"${CMAKE_CURRENT_SOURCE_DIR}/tk${TCL_TK_VERSION}" (Regular expression
 "/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/resources/tk8.4"
cannot compile).
 Current CMake stack:
/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/resources/CMakeLists.txt

 CMake Error: Error in cmake code at
 /usr/student/tango/maclenna/src/c++/vtk/VTK/Wrapping/Python/CMakeLists.txt:301:
 IF had incorrect arguments: "${VTK_BINARY_DIR}" MATCHES
"^${VTK_SOURCE_DIR}$" (Regular expression
 "^/usr/student/tango/maclenna/src/c++/vtk/VTK$" cannot compile).
 Current CMake stack:
/usr/student/tango/maclenna/src/c++/vtk/VTK/Wrapping/Python/CMakeLists.txt


Does anyone have any idea about whats going on here?

cheers

alex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070520/6598932c/attachment.htm>


More information about the vtkusers mailing list