[vtkusers] Wrap Tcl on MAC OS X

Daniel Sáez Domingo dsaez at iti.upv.es
Wed Apr 24 13:09:33 EDT 2002


Hello,

   I have a problem when building VTK with Wrapping Tcl.
I have installed Tcl/Tk for MAC OS X and I am using Quartz.
I have configured all the options in cmake but when I do make it's produced 
the next error:

Building default_target in directory /usr/local/src/VTK/Rendering
c++ -g -O2 -fno-coalesce-templates -fno-coalesce-static-vtables 
-DvtkRenderingTCL_EXPORTS  -I/usr/local/src/VTK/Rendering 
-I/usr/local/src/VTK/Rendering -I/usr/local/src/VTK 
-I/usr/local/src/VTK/Common -I/usr/local/src/VTK/Filtering 
-I/usr/local/src/VTK/Imaging -I/usr/local/src/VTK/Graphics 
-I/usr/local/src/VTK/IO -I/usr/local/src/VTK/Utilities/zlib 
-I/usr/local/src/VTK/Utilities/png -I/usr/local/src/VTK/Utilities/jpeg 
-I/usr/local/src/VTK/Common/Testing/Cxx 
-I/System/Library/Frameworks/OpenGL.framework/Versions/A/Headers 
-I/System/Library/Frameworks/Tcl.framework/Versions/8.4/Headers 
-I/System/Library/Frameworks/Tk.framework/Versions/8.4/Headers   
-DVTK_USE_QUARTZ -c /usr/local/src/VTK/Rendering/vtkTkRenderWidget.cxx -o 
vtkTkRenderWidget.o
In file included from /usr/local/src/VTK/Rendering/vtkTkRenderWidget.h:62,
                 from /usr/local/src/VTK/Rendering/vtkTkRenderWidget.cxx:45:
/System/Library/Frameworks/Tk.framework/Versions/8.4/Headers/tk.h:86: 
X11/Xlib.h: No such file or directory
In file included from /usr/local/src/VTK/Rendering/vtkTkRenderWidget.cxx:52:
/usr/local/src/VTK/Rendering/vtkXOpenGLRenderWindow.h:53: X11/Xlib.h: No such 
file or directory
/usr/local/src/VTK/Rendering/vtkXOpenGLRenderWindow.h:54: X11/Xutil.h: No 
such file or directory
In file included from /usr/local/src/VTK/Rendering/vtkTkRenderWidget.cxx:52:
/usr/local/src/VTK/Rendering/vtkXOpenGLRenderWindow.h:56: GL/glx.h: No such 
file or directory
In file included from 
/usr/local/src/VTK/Rendering/vtkXOpenGLRenderWindow.h:57,
                 from /usr/local/src/VTK/Rendering/vtkTkRenderWidget.cxx:52:
/usr/local/src/VTK/vtkToolkits.h:28: warning: `VTK_USE_QUARTZ' redefined
*Initialization*:1: warning: this is the location of the previous definition
make[3]: *** [vtkTkRenderWidget.o] Error 1
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Rendering] Error 2
make: *** [default_target] Error 2


I don't know how solve this error.
Could anybody help me?

Thank you
Daniel Sáez



More information about the vtkusers mailing list