[Insight-users] about the java-wrapped ITK

Yixun Liu yxliu at fudan.edu.cn
Tue Jul 20 01:23:39 EDT 2004


Thank you very much!

I build java-wrapped ITK and alwayse receive the following error:


--------------------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.

SwigRuntimeJava.dll - 3 error(s), 0 warning(s)

---------------------------------------------------------------------------------------------------

I give my Cmake config and the enviroment, hope your help.


enviroment:
----------------------------------------------------------------------------------------------------------------------------------------

MSVC6.0 server pack6                    windowXP                         Cmake2.0 packet2                   ITK1.6

COpy cableswig to the \utility dir

----------------------------------------------------------------------------------------------------------------------------------------







the config in the Cmake is :
------------------------------------------------------------------------------------------------

Build share lig          : ON

ITK_USE_JAVA             : ON


//Path to an internal program.
CableSwig_cableidx_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/cableidx.exe

//Path to an internal program.
CableSwig_cswig_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/cswig.exe

//Path to an internal program.
CableSwig_gccxml_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/gccxml.exe

//Path to an internal program.
GCCXML_VCINSTALL_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/vcInstall.exe


//Path to java command, used by the Dart server to create html.
//
JAVACOMMAND:FILEPATH=C:/JBuilder8/jdk1.4/jre/bin/java.exe

//Path to a program.
JAVA_ARCHIVE:FILEPATH=C:/JBuilder8/jdk1.4/bin/jar.exe

//What is the path where the file jawt.h can be found
JAVA_AWT_INCLUDE_PATH:PATH=C:/JBuilder8/jdk1.4/include

//Where can the jawt library be found
JAVA_AWT_LIBRARY:FILEPATH=C:/JBuilder8/jdk1.4/lib/jawt.lib

//Path to a program.
JAVA_COMPILE:FILEPATH=C:/JBuilder8/jdk1.4/bin/javac.exe

//What is the path where the file jni.h can be found
JAVA_INCLUDE_PATH:PATH=C:/JBuilder8/jdk1.4/include

//What is the path where the file jni_md.h can be found
JAVA_INCLUDE_PATH2:PATH=C:/JBuilder8/jdk1.4/include/win32

//Path to a program.
JAVA_RUNTIME:FILEPATH=C:/JBuilder8/jdk1.4/jre/bin/java.exe
----------------------------------------------------------------------------------------


Thank you in advance!

Best regards,

Yixun liu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20040720/74fd46f6/attachment-0001.htm


More information about the Insight-users mailing list