[vtkusers] Building vtk with Tcl/Tk wrapping on cygwin
Roger Blum
roger_blum at swissonline.ch
Wed Nov 16 22:15:43 EST 2005
Hello vtk users,
I still am not able to build a current version of vtk (just downloaded it
from cvs) on cygwin.
I have installed the Tcl/Tk sources and set the paths in ccmake accordingly:
<snippet from CMakeCache.txt>
//What is the path where the file tcl.h can be found
TCL_INCLUDE_PATH:PATH=/usr/src/tcltk-20030901-1/tcl/generic
//Where can one of the tcl, tcl84, tcl8.4, tcl83, tcl8.3, tcl82,
// tcl8.2, tcl80 or tcl8.0 libraries be found
TCL_LIBRARY:FILEPATH=/usr/lib/libtcl.a
//Path to a program.
TCL_TCLSH:FILEPATH=/usr/bin/tclsh
//What is the path where the file tk.h can be found
TK_INCLUDE_PATH:PATH=/usr/src/tcltk-20030901-1/tk/generic;/usr/src/tcltk-20030901-1/tcl/generic
//What is the path where the file tkWinInt.h can be found
TK_INTERNAL_PATH:PATH=/usr/src/tcltk-20030901-1/tk/win
//Where can one of the tk, tk84, tk8.4, tk83, tk8.3, tk82, tk8.2,
// tk80 or tk8.0 libraries be found
TK_LIBRARY:FILEPATH=/usr/lib/libtk.a
//What is the path where the file X11/Xlib.h can be found
TK_XLIB_PATH:PATH=/usr/src/tcltk-20030901-1/tk/xlib
<End of snippet>
Nevertheless I get the following error:
/home/Roger/VTK/Rendering/vtkTkRenderWidget.cxx: In function `LRESULT
vtkTkRenderWidgetProc(HWND__*, UINT, WPARAM, LPARAM)':
/home/Roger/VTK/Rendering/vtkTkRenderWidget.cxx:796: error: invalid use of
undefined type `struct _XDisplay'
/usr/X11R6/include/X11/Xlib.h:289: error: forward declaration of `struct
_XDisplay'
What am I doing wrong?
What other options do I have to change?
Is it possible to get the CMakeCache.txt that is used by Kitware to do the
nightly build?
Or has someone a recent version of vtk that I can download?
Any help is very much apreciated!
Thanks,
Roger
More information about the vtkusers
mailing list