[Insight-users] Re: please tell me how to build java-wrapped ITK

Brad King brad.king at kitware.com
Tue Jul 20 08:40:56 EDT 2004


Yixun Liu wrote:

> Thank you very much!
>  
> I install MSVC server pack6 and rebuild, now the error is :
> 
> --------------------Configuration: SwigRuntimeJava - Win32 Release--------------------
> Building run native swig on SwigExtras.i C:\MyVC\ITK-1.6\Build\Wrapping\CSwig\SwigRuntime\JavaCWDJava.cxx.rule
> swig error : Unrecognized option -noruntime
> swig error : Unrecognized option -outdir
> swig error : Unrecognized option C:/MyVC/ITK-1.6/Build/Wrapping/CSwig/Java/InsightToolkit
> Use 'swig -help' for available options.
> Error executing c:\windows\system32\cmd.exe.

This error is because you are using the latest version of CableSwig from 
CVS.  When you checkout CableSwig or get it from the web page, make sure 
you have the release that comes with ITK 1.6.  In CVS this has a tag of 
ITK-1-6 (the same as the ITK 1.6 branch).

-Brad



More information about the Insight-users mailing list