[Insight-developers] TCL wrapping

Hans J. Johnson hans-johnson at uiowa.edu
Mon, 08 Mar 2004 14:49:14 -0600


Brad,

Forget about the TCL error.  The problem was actually a bug the way I
was building tcl and tk that did not affect the 8.3 build.  

Thanks for you help.

Regards,
Hans
 

On Mon, 2004-03-08 at 08:26, Brad King wrote:
> 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