[vtkusers] Problems building VTK on Mac OSX 10.2.1

Sandor Heman saanti at xs4all.nl
Tue Sep 24 07:55:32 EDT 2002


Hi Yves,

> Do you have xfree86 installed on your machine?

Well I removed it now and tried to compile but it looks as if my Tk
framework is also 'X11 spoiled'...
The compilation crashed with some inclusion of X11/Xlib.h failing (see
below)
I'm using active states tcl/tk 8.4.
Maybe I'll try another distribution :-/

Thanx for your help,

Sandor Heman

BUILD ERROR:
------------

c++ -Wno-deprecated -DvtkRenderingPythonTkWidgets_EXPORTS
-I/usr/src/VTK/Rendering -I/usr/src/VTK/Rendering -I/usr/src/VTK/Hybrid
-I/usr/src/VTK/Patented -I/usr/src/VTK/Parallel -I/usr/local/vtk
-I/usr/src/VTK/Common -I/usr/src/VTK/Filtering -I/usr/src/VTK/Imaging
-I/usr/src/VTK/Graphics -I/usr/src/VTK/IO -I/usr/src/VTK/Utilities/zlib
-I/usr/local/vtk/Utilities/zlib -I/usr/src/VTK/Utilities/png
-I/usr/local/vtk/Utilities/png -I/usr/src/VTK/Utilities/jpeg
-I/usr/local/vtk/Utilities/jpeg -I/usr/src/VTK/Utilities/tiff
-I/usr/local/vtk/Utilities/tiff -I/usr/src/VTK/Utilities/expat
-I/usr/local/vtk/Utilities/expat -I/usr/src/VTK/Common/Testing/Cxx
-I/Library/Frameworks/Tcl.framework/Headers
-I/Library/Frameworks/Tcl.framework/PrivateHeaders
-I/Library/Frameworks/Python.framework/Headers
-I/usr/src/VTK/Utilities/freetype/include
-I/usr/local/vtk/Utilities/freetype -I/usr/src/VTK/Utilities/ftgl/src
-I/usr/local/vtk/Utilities/ftgl -I/Library/Frameworks/Tk.framework/Headers
-I/Library/Frameworks/Tk.framework/PrivateHeaders
-I/usr/src/VTK/Rendering/tkOSXInternals   -DVTK_USE_COCOA -c
/usr/src/VTK/Rendering/vtkTkWidgetsInit.cxx -o vtkTkWidgetsInit.o
In file included from /usr/src/VTK/Rendering/vtkTkWidgetsInit.cxx:19:
/Library/Frameworks/Tk.framework/Headers/tk.h:86:29: X11/Xlib.h: No such
file or directory
In file included from /usr/src/VTK/Rendering/vtkTkWidgetsInit.cxx:19:
/Library/Frameworks/Tk.framework/Headers/tk.h:558: `Tk_ClassCreateProc' was
not 
   declared in this scope
/Library/Frameworks/Tk.framework/Headers/tk.h:559: type specifier omitted
for 
   parameter `Window'
/Library/Frameworks/Tk.framework/Headers/tk.h:559: parse error before `,'
token
/Library/Frameworks/Tk.framework/Headers/tk.h:559: warning: ISO C++ forbids
   declaration of `Window' with no type
/Library/Frameworks/Tk.framework/Headers/tk.h:559: typedef declaration
includes 
   an initializer
/Library/Frameworks/Tk.framework/Headers/tk.h:559: confused by earlier
errors, bailing out
make[3]: *** [vtkTkWidgetsInit.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2




More information about the vtkusers mailing list