[cable] errors during compilation with cygwin

Brad King brad.king at kitware.com
Mon Mar 3 10:04:14 EST 2003


> I am trying to compile CABLE with cygwin and win2000. I have got gcc3.2
> and gcc_xml installed (if it really worked). I have installed Tcl/Tk 8.4
> with ActiveTcl84.exe).
[snip]
> and libCableTclFacility.dll (in my CMakeCache.txt, there is a wrong
> dependency: CableTclFacility_LIB_DEPENDS:STATIC=c:/tcl/lib)

ActiveTcl does not work with cygwin.  It is not built to support
cygwin-style paths.  Until cygwin officially supports tcl 8.2 or higher
(last time I checked, they were in discussion about it), CABLE (and
therefore ITK) does not support Tcl wrapping on cygwin.

> //What is the path where the file tcl.h can be found
> TCL_INCLUDE_PATH:PATH=c:/tcl/include
>
> //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=c:/tcl/lib

The setting for TCL_LIBRARY here should point at the full path to the
library's file itself.  Once Tcl is properly installed in cygwin, these
settings should be something like

TCL_INCLUDE_PATH:PATH=/usr/include/tcl8.3
TCL_LIBRARY:FILEPATH=/usr/lib/libtcl8.3.a

-Brad




More information about the cable mailing list