[Insight-users] Error while compiling ITK with Python wrappers on Windows

Hari Sundar hsundar at seas . upenn . edu
Mon, 22 Dec 2003 14:19:45 -0500


Luis,

I compiled CableSwig as a Release version. I have checked and the file exists. I
even tried compiling  "swigrun.h" using gccxml_cc1plus.exe manually on the
command prompt, and that works ... of course I am not sure what other arguments
need to be passed to the compiler .. so I cannot do the whole thing manually ...

-Hari

Quoting Luis Ibanez <luis . ibanez at kitware . com>:

=} Hi Hari,
=} 
=} When you built CableSwig,
=}              Did you selected the "Release" compilation mode ?
=} 
=} It may be that you build it for Debug, therefore the executable
=} 
=}                     gccxml_cc1plus.exe
=} 
=} will be located in a directory:
=} 
=} D:/Local/ITK 1.40/cableBin/bin/Debug/gccxml_cc1plus.exe
=} 
=} instead of the expected
=} 
=} D:/Local/ITK 1.40/cableBin/bin/Release/gccxml_cc1plus.exe
=} 
=} 
=} Please got to the directory
=} 
=}      D:/Local/ITK 1.40/cableBin/bin/Release
=} 
=} and check if the executable "gccxml_cc1plus.exe" is there or not.
=} 
=} 
=} Please let us know what you find,
=} 
=} 
=} Thanks
=} 
=} 
=}    Luis
=} 
=} 
=} ---------------------------
=} Hari Sundar wrote:
=} 
=} >Hi,
=} >
=} >I am trying to compile ITK 1.40 along with CableSwig on Windows using VC++
=} 6.0. 
=} >
=} >I get the follwing error, and am struck ...
=} >
=} >-------------------------------------------------
=} >
=} >--------------------Configuration: SwigRuntimePython - Win32
=} >Release--------------------
=} >Building Custom Rule "D:\Local\ITK
=} >1.40\InsightToolkit-1.4.0\Wrapping\CSwig\SwigRuntime\swigrun.h"
=} >Error executing D:/Local/ITK 1.40/cableBin/bin/Release/gccxml_cc1plus.exe
=} >Error executing c:\windows\system32\cmd.exe.
=} >
=} >ALL_BUILD - 1 error(s), 0 warning(s)
=} >_______________________________________________
=} >Insight-users mailing list
=} >Insight-users at itk . org
=} >http://www . itk . org/mailman/listinfo/insight-users
=} >
=} >  
=} >
=} 
=} 
=} 
=} 


-- 
 .--------------------------------------------------.
 |      .--.                                        |
 |     |o_o |      Hari Sundar                      |
 |     |:_/ |      hsundar at seas . upenn . edu           |
 |    //   \ \                                      |
 |   (|     | )    University of Pennsylvania       |
 |  /'\_   _/`\                                     |
 |  \___)=(___/                                     |
 `--------------------------------------------------'