[Insight-users] Compile error in CableSwig with Borland BCC 5.5.1

Luis Ibanez luis.ibanez at kitware.com
Tue Aug 3 00:35:50 EDT 2004


Hi Nicolaus,


I may be wrong... but I think we never have build
the wrapping with the Borland compiler.

Notice that the wrapping approach of CableSwig
involves the use of the C++ parser from GCC.

It seems that Borland is getting in trouble when
compiling the pieces of GCC code.


   Regards,


      Luis


------------------------------------
Nicolaus Andratschke wrote:

> Hi there,
> 
> after installing BCC 5.5.1 "core" ITK compiles just
> fine,
> but when turning on PythonWrapping, I get the
> following error.
> Orriginally, I just wanted to test ITK with Python for
> our project, but now it's getting an odysse.
> 
> Any ideas?
> 
> C:/Programming/InsightToolkit-1.6.0-Bin/Utilities/CableSwig:
> building default_target
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> cmake.depends is up-to-date
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> C:/Programming/InsightToolkit-1.6.0-Bin/Utilities/CableSwig/SWIG:
> building default_target
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> cmake.depends is up-to-date
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> C:/Programming/InsightToolkit-1.6.0-Bin/Utilities/CableSwig/SWIG/Source/Modules1.1:
> building default_target
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> cmake.depends is up-to-date
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> C:/Programming/InsightToolkit-1.6.0-Bin/Utilities/CableSwig/SWIG/Source/CParse:
> building default_target
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> cmake.depends is up-to-date
> MAKE Version 5.2  Copyright (c) 1987, 2000 Borland
> Building object file parser.obj...
> Borland C++ 5.5.1 for Win32 Copyright (c) 1993, 2000
> Borland
> C:\Programming\InsightToolkit-1.6.0\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 ***
> 
> ** error 1 ** deleting parser.obj
> 
> ** error 1 ** deleting default_target
> 
> ** error 1 ** deleting default_target_Source_CParse
> 
> ** error 1 ** deleting default_target
> 
> ** error 1 ** deleting default_target_SWIG
> 
> ** error 1 ** deleting default_target
> 
> ** error 1 ** deleting default_target_CableSwig
> 
> ** error 1 ** deleting default_target
> 
> ** error 1 ** deleting default_target_Utilities
> 
> ** error 1 ** deleting default_target
> 
> 
> 
> 	
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - 100MB free storage!
> http://promotions.yahoo.com/new_mail 
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 






More information about the Insight-users mailing list