[vtkusers] Followup to previous post, Cmake fails
Alexander MacLennan
alex.maclennan at gmail.com
Sun May 20 07:15:20 EDT 2007
Brice, you are a mind reader!
I gave it a go about 10 minutes ago and I think thats done the trick :)
cheers
alex
On 5/20/07, Brice Due <bricedue at verizon.net> wrote:
>
> Just a wild guess, try moving to a directory without "c++" in the path. It
> may be that cmake can't properly escape the "++" and a regex is failing
> when it tries to parse the "++" as regex quantifiers.
>
> -brice
>
> On Sun, 20 May 2007 06:28:36 -0400, Alexander MacLennan
> <alex.maclennan at gmail.com> wrote:
>
> > 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
>
>
>
> --
> Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20070520/7b17b812/attachment.htm>
More information about the vtkusers
mailing list