[Insight-users] Beginner : Wrapping ITK for TCL ( Problems compiling CableSwig for ITK )

Jean-Marc jm.giorgi at free.fr
Sun Jul 2 04:59:45 EDT 2006


Hi All,

I just started to get my hands on itk and vtk, but i am finding hard to 
wrap it for tcl. I successfully downloaded and compiled GCCXML and ITK 
(without wrapping), but I don't get the procedure to wrap it for tcl.

PLEASE HELP !
JM


Here are the errors i get when i try to build CableSwig-ITK ( from the 
ITK repository ) :



------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
Performing Post-Build Event...
"Checking build system"
Build log was saved at 
"file://d:\Build\CableSwig-ITK\ZERO_CHECK.dir\Debug\BuildLog.htm"
ZERO_CHECK - 0 error(s), 0 warning(s)
------ Build started: Project: swigLib, Configuration: Debug Win32 ------
Compiling...
cl : Command line warning D9025 : overriding '/TP' with '/TC'
parser.c
D:/Workspace/CableSwig-ITK/SWIG/Source/CParse/parser.y(724) : warning 
C4996: 'sprintf' was declared deprecated
         C:\Program Files\Microsoft Visual Studio 
8\VC\include\stdio.h(345) : see declaration of 'sprintf'
         Message: 'This function or variable may be unsafe. Consider 
using sprintf_s instead. To disable deprecation, use 
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
D:/Build/CableSwig-ITK/SWIG/Source/CParse/parser.c(3225) : error C2449: 
found '{' at file scope (missing function header?)
D:/Build/CableSwig-ITK/SWIG/Source/CParse/parser.c(8685) : error C2059: 
syntax error : '}'
Build log was saved at 
"file://d:\Build\CableSwig-ITK\SWIG\Source\swigLib.dir\Debug\BuildLog.htm"
swigLib - 2 error(s), 2 warning(s)
------ Build started: Project: cswig, Configuration: Debug Win32 ------
Linking...
LINK : fatal error LNK1104: cannot open file 'swigLib.lib'
Build log was saved at 
"file://d:\Build\CableSwig-ITK\Executables\cswig.dir\Debug\BuildLog.htm"
cswig - 1 error(s), 0 warning(s)
------ Build started: Project: swig, Configuration: Debug Win32 ------
Compiling...
cl : Command line warning D9025 : overriding '/TP' with '/TC'
parser.c
D:/Workspace/CableSwig-ITK/SWIG/Source/CParse/parser.y(724) : warning 
C4996: 'sprintf' was declared deprecated
         C:\Program Files\Microsoft Visual Studio 
8\VC\include\stdio.h(345) : see declaration of 'sprintf'
         Message: 'This function or variable may be unsafe. Consider 
using sprintf_s instead. To disable deprecation, use 
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
D:/Build/CableSwig-ITK/SWIG/Source/CParse/parser.c(3225) : error C2449: 
found '{' at file scope (missing function header?)
D:/Build/CableSwig-ITK/SWIG/Source/CParse/parser.c(8685) : error C2059: 
syntax error : '}'
Build log was saved at 
"file://d:\Build\CableSwig-ITK\SWIG\Source\swig.dir\Debug\BuildLog.htm"
swig - 2 error(s), 2 warning(s)
------ Skipped Build: Project: ALL_BUILD, Configuration: Debug Win32 ------
Project not selected to build for this solution configuration
------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
Project not selected to build for this solution configuration
========== Build: 1 succeeded, 3 failed, 5 up-to-date, 2 skipped ==========



More information about the Insight-users mailing list