[Insight-users] CableSWIG & ITK via Borland ?
Brad King
brad.king at kitware.com
Mon, 16 Feb 2004 11:50:53 -0500
Dean Inglis wrote:
> Hi Brad,
>
> I tried compiling CableSwig when sourced in ITK/Utilities
> as instructed but stopped short early on with
>
> Building object file parser.obj...
> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000 Borland
> c:\Builder\Sources\Insight\Utilities\CableSwig\SWIG\Source\CParse\parser.c:
> Warning W8004 parser.y 239: 'rn' is assigned a value that is never used in
> function make_name
> Warning W8004 parser.y 282: 'rn' is assigned a value that is never used in
> function name_warning
> Warning W8004 parser.y 556: 'nname' is assigned a value that is never used
> in function make_class_name
> Warning W8004 parser.y 1995: 'tnode' is assigned a value that is never used
> in function yyparse
> Warning W8004 parser.y 2478: 'pp' is assigned a value that is never used in
> function yyparse
> Warning W8004 /usr/local/share/bison.simple 225: 'yychar1' is assigned a
> value that is never used in function yyparse
> Error E2356 parser.y 4543: Type mismatch in redeclaration of 'yyerror'
> Error E2344 parser.y 35: Earlier declaration of 'yyerror'
> *** 2 errors in Compile ***
We'll have to work on getting CableSwig to compile again with the
Borland compiler.
> Also, ITK shared libs are not currently supported for the Borland compiler,
> I think, so doesn't
> this preclude the wrapping anyway?
Where did you see this? ITK_BUILD_SHARED only turns on a minimal amount
of shared libraries needed for wrapping. It seems to work fine when
wrapping is not on.
-Brad