[vtkusers] Wrap Tcl on MAC OS X
Sander Niemeijer
niemeijer at science-and-technology.nl
Thu Apr 25 03:33:49 EDT 2002
Hi Daniel,
It seems that while applying the patch I gave you, you have done some
"#define VTK_USE_QUARTZ" somewhere instead of the needed "#ifdef
VTK_USE_QUARTZ". But since you are only using Quartz I suggest you undo
the patch and start from a clean sourcetree. This makes helping you with
problems a lot easier.
Regards,
Sander
On woensdag, april 24, 2002, at 07:09 , Daniel Sáez Domingo wrote:
> 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
> _______________________________________________
> This is the private VTK discussion list.
> Please keep messages on-topic. Check the FAQ at:
> <http://public.kitware.com/cgi-bin/vtkfaq>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
More information about the vtkusers
mailing list