Brice, you are a mind reader!<br><br>I gave it a go about 10 minutes ago and I think thats done the trick :)<br><br>cheers<br><br>alex<br><br><div><span class="gmail_quote">On 5/20/07, <b class="gmail_sendername">Brice Due
</b> <<a href="mailto:bricedue@verizon.net">bricedue@verizon.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Just a wild guess, try moving to a directory without "c++" in the path. It
<br>may be that cmake can't properly escape the "++" and a regex is failing<br>when it tries to parse the "++" as regex quantifiers.<br><br>-brice<br><br>On Sun, 20 May 2007 06:28:36 -0400, Alexander MacLennan
<br><<a href="mailto:alex.maclennan@gmail.com">alex.maclennan@gmail.com</a>> wrote:<br><br>> I am trying to compile VTK from CVS: I am getting the following errors<br>> from<br>> cmake:<br>><br>><br>> CMake Error: Error in cmake code at
<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt:85:<br>> IF had incorrect arguments: NOT "${VTK_BINARY_DIR}" MATCHES<br>> "^${VTK_SOURCE_DIR}$" (Regular expression
<br>> "^/usr/student/tango/maclenna/src/c++/vtk/VTK$" cannot compile).<br>> Current CMake stack:<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt<br>><br>> CMake Error: Error in cmake code at
<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt:91:<br>> ENDIF An ENDIF command was found outside of a proper IF ENDIF<br>> structure. Or<br>> its arguments did not match the opening IF command.
<br>> Current CMake stack:<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/MaterialLibrary/CMakeLists.txt<br>><br>> CMake Error: Error in cmake code at<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/internals/CMakeLists.txt:4:
<br>> IF had incorrect arguments: "${TK_INTERNAL_PATH}" MATCHES<br>> "${CMAKE_CURRENT_SOURCE_DIR}/tk${TCL_TK_VERSION}" (Regular expression<br>> "/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/internals/tk8.4"
<br>> cannot compile).<br>> Current CMake stack:<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/internals/CMakeLists.txt<br>><br>> CMake Error: Error in cmake code at<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/resources/CMakeLists.txt:4:
<br>> IF had incorrect arguments: "${VTK_TK_RESOURCES_DIR}" MATCHES<br>> "${CMAKE_CURRENT_SOURCE_DIR}/tk${TCL_TK_VERSION}" (Regular expression<br>> "/usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/resources/tk8.4"
<br>> cannot compile).<br>> Current CMake stack:<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Utilities/TclTk/resources/CMakeLists.txt<br>><br>> CMake Error: Error in cmake code at<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Wrapping/Python/CMakeLists.txt:301:
<br>> IF had incorrect arguments: "${VTK_BINARY_DIR}" MATCHES<br>> "^${VTK_SOURCE_DIR}$" (Regular expression<br>> "^/usr/student/tango/maclenna/src/c++/vtk/VTK$" cannot compile).<br>
> Current CMake stack:<br>> /usr/student/tango/maclenna/src/c++/vtk/VTK/Wrapping/Python/CMakeLists.txt<br>><br>><br>> Does anyone have any idea about whats going on here?<br>><br>> cheers<br>><br>
> alex<br><br><br><br>--<br>Using Opera's revolutionary e-mail client: <a href="http://www.opera.com/mail/">http://www.opera.com/mail/</a><br></blockquote></div><br>