[Insight-developers] TCL wrapping

Hans J. Johnson hans-johnson at uiowa.edu
Sun, 07 Mar 2004 20:37:17 -0600


Brad,

I've not yet identified the exact location of the error yet, but thought
I'd give some information about future build problems.

I'm building ITK with wrapping against tcl/tk version 8.4.  Up until 3
weeks ago, this worked just fine, but then many files were updated in
CableSwig and this quit working.  If I roll my version of tcl/tk back to
8.3 the the latest ITK work.  If I roll CableSwig back to 3 weeks ago,
then tcl/tk 8.4 works.

The compiler errors occur while compiling
CableSwig/SWIG/Source/cscanner.o.
/home/hjohnson/src/brains2/iplFreeware/gcc3/DEBUG/Insight/Utilities/CableSwig/SWIG/Source/CParse/cscanner.c: In function `yylook':
/home/hjohnson/src/brains2/iplFreeware/gcc3/DEBUG/Insight/Utilities/CableSwig/SWIG/Source/CParse/cscanner.c:528: `LPAREN' undeclared (first use in this function)
/home/hjohnson/src/brains2/iplFreeware/gcc3/DEBUG/Insight/Utilities/CableSwig/SWIG/Source/CParse/cscanner.c:528: (Each undeclared identifier is reported only once
/home/hjohnson/src/brains2/iplFreeware/gcc3/DEBUG/Insight/Utilities/CableSwig/SWIG/Source/CParse/cscanner.c:528: for each function it appears in.)
/home/hjohnson/src/brains2/iplFreeware/gcc3/DEBUG/Insight/Utilities/CableSwig/SWIG/Source/CParse/cscanner.c:529: `RPAREN' undeclared (first use in this function)
/home/hjohnson/src/brains2/iplFreeware/gcc3/DEBUG/Insight/Utilities/CableSwig/SWIG/Source/CParse/cscanner.c:530: `SEMI' undeclared (first use in this function)
/home/hjohnson/src/brains2/iplFreeware/gcc3/DEBUG/Insight/Utilities/CableSwig/SWIG/Source/CParse/cscanner.c:531: `COMMA' undeclared (first use in this function)

which sould have been defined by inclusion of parser.h.

Regards,
Hans