[Insight-users] Python Wrapping problems

Bill Hoffman bill . hoffman at kitware . com
Fri, 01 Aug 2003 11:16:53 -0400


Can you verify which gccxml you are using?
You can look at the custom command for this file:
 C:\itk\Insight\Wrapping\CSwig\SwigRuntime\swigrun.h

The installed gccxml will not work with CableSwig, you have
to build CableSwig and use the gccxml that comes with CableSwig.
Also, the same compile used to build CableSwig should be used to build
ITK.


-Bill

At 08:00 AM 8/1/2003, you wrote:
>Hi,
>
>I have some problems to compile ITK with Python Wrapping.
>I use MSVC6++ (with service pack5), CMake 1.6-7 and CableSwig build from 
>sources downloaded from CVS (most recent).
>But, I have problems with SwigRunTime, while compiling swigrun.h to generate 
>swigrun.xml.
>Can somebody help me?
>
>  Mauricio
>
>--------------------Configuration: SwigRuntimePython - Win32 Debug--------------
>------
>Building Custom Rule C:\itk\Insight\Wrapping\CSwig\SwigRuntime\swigrun.h
>Could not determine compiler setting.
>Could not determine GCCXML_FLAGS setting.
>Building Custom Rule C:\itk\Insight_PYBIN\Wrapping\CSwig\SwigRuntime\swigrun.xml
>Unable to find 'C:/itk/Insight_PYBIN/Wrapping/CSwig/SwigRuntime/swigrun.xml'
>Compiling...
>swigrunPython.cxx
>fatal error C1083: Cannot open source 
>file: 'C:\itk\Insight_PYBIN\Wrapping\CSwig\SwigRuntime\swigrunPython.cxx': No 
>such file or directory
>Error executing cl.exe.
>
>ALL_BUILD - 1 error(s), 67 warning(s)
>
>
>---------------------------------------------
>Centro de Pesquisa Renato Archer
>http://www . cenpra . gov . br/
>
>
>_______________________________________________
>Insight-users mailing list
>Insight-users at itk . org
>http://www . itk . org/mailman/listinfo/insight-users