[cable] building tcl-wrappers - cable-headers not included - failure in cmake-stage of cable?

Bertram Herzog bertram at bwh.harvard.edu
Thu Mar 6 01:43:37 EST 2003


Hi Brad, Hi others!

I have a question concerning Cable (Windows Installer version running on 
XP home with MS VC++ 6, recent GCC_XML0.4.2 from CVS; CMake 1.6-patch5, 
cable only takes 1.4 "downgrade-mode"):

You recommend an out-of-source build at the cable-Homepage. This worked 
fine for my Solaris environment.

In Windows (also having a C:\Cable\ and a C:\Cable-build\), I get errors 
when compiling the tcl-String-example, because the Header-Files of the 
CableTclFacility cannot be included. I looked it up in the 
cable-generated string_tcl.cxx and found that the wrapper facility 
headers are all taken with a relative path (#include 
"CableTclFacility/ctCalls.h"). This code is hardcoded in 
cableTclGenerator.cxx. in TclGenerator::WriteHeaders().
My suspicion: Having included the path to the CableTclFacility.lib in my 
cmake-file to generate the VC-Workspace, it refers to the Build-tree of 
Cable, where the library resides (but no headers). Including the 
Source-Tree parallel in the CMakeLists.txt as a link- or/and 
include-directory doesn't help, since the suspected lines of code aren't 
generated dynamically but are in the cableTclGenerator.cxx. Should I 
just copy all the headers to my Build-tree or did something during the 
build go wrong?

Thanks for hints/tips/ideas,
   Bertram.







More information about the cable mailing list