<div dir="ltr">Hi All,<div><br></div><div style>I'm building VTK (5.10.1 and Nightly) on Mac OS X 10.7.5</div><div style><br></div><div style>I'm building static libs with Tcl wrappers (v8.5.13 and v8.6).</div><div style>
<br></div><div style>The build fails on vtkTkRenderWidget with</div><div style><br></div><div style><div>In file included from /Users/GoodwinLawlor/code/VTK/Rendering/vtkTkRenderWidget.cxx:35:</div><div>In file included from /Users/GoodwinLawlor/code/tcltk/tk8.6/generic/tkInt.h:19:</div>
<div>In file included from /Users/GoodwinLawlor/code/tcltk/tk8.6/generic/tkPort.h:25:</div><div>In file included from /Users/GoodwinLawlor/code/tcltk/tk8.6/macosx/tkMacOSXPort.h:56:</div><div>/Users/GoodwinLawlor/code/tcltk/tk8.6/generic/tkIntXlibDecls.h:380:16: error: conflicting types for 'XKeycodeToKeysym'</div>
<div>EXTERN KeySym XKeycodeToKeysym(Display *d, KeyCode k, int i);</div><div> ^</div><div>/usr/include/X11/Xlib.h:1694:15: note: previous declaration is here</div><div>extern KeySym XKeycodeToKeysym(</div>
<div><br></div><div style>I've got VTK_USE_X = 0 and VTK_USE_COCOA = 1</div><div style><br></div><div style>Basically, tkIntXlibDecls.h is declaring the same types as Xlib.h</div><div style><br></div><div style>Grateful for any hints before going grepping...</div>
<div style><br></div><div style>Thanks,</div><div style><br></div><div style>Goodwin</div><div style><br></div><div style><br></div><div><br></div></div></div>