[vtkusers] compiling vtk 5 with tcl on mac intel

Donald Johnson Nalkar at earthlink.net
Thu Sep 6 15:47:49 EDT 2007


I have been trying to compile vtk on a mac book with running MacOSX  
10.4.10, gcc v 4.01. If i just try to build then library and examples  
everything works correctly, however if i try to make the tcl bindings  
cmake gives the following error durring configuring and exits.

RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error: Error in cmake code at
/Users/nalkar/Projects/C++/VTk/VTK 5.0.2/Utilities/TclTk/internals/ 
CMakeLists.txt:4:
IF had incorrect arguments: "${TK_INTERNAL_PATH}" MATCHES "$ 
{CMAKE_CURRENT_SOURCE_DIR}/tk${TCL_TK_VERSION}" (Regular expression "/ 
Users/nalkar/Projects/C++/VTk/VTK 5.0.2/Utilities/TclTk/internals/ 
tk8.4" cannot compile).
Current CMake stack:
[1]     /Users/nalkar/Projects/C++/VTk/VTK 5.0.2/Utilities/TclTk/ 
internals/CMakeLists.txt
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error: Error in cmake code at
/Users/nalkar/Projects/C++/VTk/VTK 5.0.2/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 "/ 
Users/nalkar/Projects/C++/VTk/VTK 5.0.2/Utilities/TclTk/resources/ 
tk8.4" cannot compile).
Current CMake stack:
[1]     /Users/nalkar/Projects/C++/VTk/VTK 5.0.2/Utilities/TclTk/ 
resources/CMakeLists.txt

The path "/Users/nalkar/Projects/C++/VTk/VTK 5.0.2/Utilities/TclTk/ 
resources/tk8.4" is valid so im not sure what is causing this or how  
to attempt to correct the error.



More information about the vtkusers mailing list