[vtk-developers] Mac OS X Build failure
Goodwin Lawlor
goodwin.lawlor.lists at gmail.com
Mon Feb 25 17:02:31 EST 2013
Hi All,
I'm building VTK (5.10.1 and Nightly) on Mac OS X 10.7.5
I'm building static libs with Tcl wrappers (v8.5.13 and v8.6).
The build fails on vtkTkRenderWidget with
In file included from
/Users/GoodwinLawlor/code/VTK/Rendering/vtkTkRenderWidget.cxx:35:
In file included from
/Users/GoodwinLawlor/code/tcltk/tk8.6/generic/tkInt.h:19:
In file included from
/Users/GoodwinLawlor/code/tcltk/tk8.6/generic/tkPort.h:25:
In file included from
/Users/GoodwinLawlor/code/tcltk/tk8.6/macosx/tkMacOSXPort.h:56:
/Users/GoodwinLawlor/code/tcltk/tk8.6/generic/tkIntXlibDecls.h:380:16:
error: conflicting types for 'XKeycodeToKeysym'
EXTERN KeySym XKeycodeToKeysym(Display *d, KeyCode k, int i);
^
/usr/include/X11/Xlib.h:1694:15: note: previous declaration is here
extern KeySym XKeycodeToKeysym(
I've got VTK_USE_X = 0 and VTK_USE_COCOA = 1
Basically, tkIntXlibDecls.h is declaring the same types as Xlib.h
Grateful for any hints before going grepping...
Thanks,
Goodwin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20130225/3e93f453/attachment.html>
More information about the vtk-developers
mailing list