[Insight-developers] TCL wrapping
Brad King
brad.king at kitware.com
Mon, 08 Mar 2004 09:26:10 -0500
Hans J. Johnson wrote:
> 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)
The large number of CableSwig changes you observed was an upgrade of the
native SWIG version. Have you tried building with a fresh tree?
-Brad