[vtkusers] Tcl compile error

Martin Magnusson martin.magnusson at aass.oru.se
Thu Jun 24 05:43:20 EDT 2004


Hello again. I'm still having trouble installing (using Cygwin and gcc 
3.2.2).

I'm compiling a Release build without Tcl and Python, using gcc and g++ 
as C/C++ compilers, respectively.

First, when compiling VTK itself, I get lots of warnings like below, but 
that is maybe not anything to worry about:

- - - -8<- - - - - - - - -
Building object file vtkDataArray.o...
cc1plus: warning: changing search order for system directory 
"/usr/include/w32api"
cc1plus: warning:   as it has already been specified as a non-system 
directory
cc1plus: warning: changing search order for system directory 
"/usr/i686-pc-cygwin/lib/../../include/w32api"
cc1plus: warning:   as it is the same as non-system directory 
"/usr/include/w32api"
- - - -8<- - - - - - - - -

However, when trying to compile the example files cmake reports an error 
referring to Tcl and exits. This is the same both with VTK 4.2 and 4.4. 
Any ideas as to what to try?

- - - -8<- - - - - - - - -
/home/martin/VTK/Examples/Tutorial/Step1/Cxx> cmake .
-- Check for working C compiler: gcc
-- Check for working C compiler: gcc -- works
-- Check for working CXX compiler: c++
-- Check for working CXX compiler: c++ -- works
Warning: CMake is forcing CMAKE_BUILD_TYPE to "Release" to match that 
imported from VTK.  This is required because projects must use the same 
compiler settings.
   If this message appears for more than one imported project, you have 
conflicting compiler settings and will have to re-build one of those 
projects.
-- Loading VTK CMake commands
CMake Error: Error in cmake code at
/usr/local/lib/vtk/CMake/vtkLoadCMakeExtensions.cmake:7:
LOAD_COMMAND Attempt to load the library 
/usr/local/lib/vtk/CMake/libcmVTK_WRAP_TCL2.dll failed. Additional error 
info is:
dlopen: Win32 error 5
CMake Error: Error in cmake code at
/usr/local/lib/vtk/CMake/vtkLoadCMakeExtensions.cmake:17:
A command failed during the invocation of macro 
"VTK_LOAD_SINGLE_CMAKE_EXTENSION".
Loading VTK command VTK_WRAP_TCL2 - failed
-- Configuring done
- - - -8<- - - - - - - - -



More information about the vtkusers mailing list