<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2800.1400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial>Thank you very much!</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>I build java-wrapped ITK and alwayse receive the following
error:</FONT></DIV>
<DIV><BR><BR><FONT face=Arial>--------------------Configuration: SwigRuntimeJava
- Win32 Release--------------------<BR>Building run native swig on SwigExtras.i
C:\MyVC\ITK-1.6\Build\Wrapping\CSwig\SwigRuntime\JavaCWDJava.cxx.rule<BR>swig
error : Unrecognized option -noruntime<BR>swig error : Unrecognized option
-outdir<BR>swig error : Unrecognized option
C:/MyVC/ITK-1.6/Build/Wrapping/CSwig/Java/InsightToolkit<BR>Use 'swig -help' for
available options.<BR>Error executing
c:\windows\system32\cmd.exe.<BR><BR>SwigRuntimeJava.dll - 3 error(s), 0
warning(s)<BR><BR>---------------------------------------------------------------------------------------------------<BR><BR>I
give my Cmake config and the enviroment, hope your help.</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><BR><FONT face=Arial><STRONG>enviroment:</STRONG><BR></FONT><FONT
face=Arial>----------------------------------------------------------------------------------------------------------------------------------------<BR><BR>MSVC6.0
server
pack6
windowXP
Cmake2.0
packet2
ITK1.6</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT><FONT face=Arial>COpy cableswig to the \utility dir</FONT></DIV>
<DIV><BR><FONT
face=Arial>----------------------------------------------------------------------------------------------------------------------------------------<BR></FONT></DIV></FONT>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT><FONT face=Arial></FONT></FONT> </DIV>
<DIV><FONT><FONT face=Arial></FONT> </DIV>
<DIV><BR><FONT face=Arial><STRONG>the config in the Cmake is
:</STRONG><BR>------------------------------------------------------------------------------------------------</FONT></FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT face=Arial>Build share
lig : ON</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><FONT
face=Arial>ITK_USE_JAVA :
ON</FONT></DIV>
<DIV><FONT face=Arial></FONT> </DIV>
<DIV><BR><FONT face=Arial>//Path to an internal
program.<BR>CableSwig_cableidx_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/cableidx.exe<BR><BR>//Path
to an internal
program.<BR>CableSwig_cswig_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/cswig.exe<BR><BR>//Path
to an internal
program.<BR>CableSwig_gccxml_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/gccxml.exe<BR><BR>//Path
to an internal
program.<BR>GCCXML_VCINSTALL_EXE:FILEPATH=C:/MyVC/CableSwig/Build/bin/Release/vcInstall.exe<BR><BR><BR>//Path
to java command, used by the Dart server to create
html.<BR>//<BR>JAVACOMMAND:FILEPATH=C:/JBuilder8/jdk1.4/jre/bin/java.exe<BR><BR>//Path
to a
program.<BR>JAVA_ARCHIVE:FILEPATH=C:/JBuilder8/jdk1.4/bin/jar.exe<BR><BR>//What
is the path where the file jawt.h can be
found<BR>JAVA_AWT_INCLUDE_PATH:PATH=C:/JBuilder8/jdk1.4/include<BR><BR>//Where
can the jawt library be
found<BR>JAVA_AWT_LIBRARY:FILEPATH=C:/JBuilder8/jdk1.4/lib/jawt.lib<BR><BR>//Path
to a
program.<BR>JAVA_COMPILE:FILEPATH=C:/JBuilder8/jdk1.4/bin/javac.exe<BR><BR>//What
is the path where the file jni.h can be
found<BR>JAVA_INCLUDE_PATH:PATH=C:/JBuilder8/jdk1.4/include<BR><BR>//What is the
path where the file jni_md.h can be
found<BR>JAVA_INCLUDE_PATH2:PATH=C:/JBuilder8/jdk1.4/include/win32<BR><BR>//Path
to a
program.<BR>JAVA_RUNTIME:FILEPATH=C:/JBuilder8/jdk1.4/jre/bin/java.exe<BR>----------------------------------------------------------------------------------------<BR><BR><BR>Thank
you in advance!<BR><BR>Best regards,<BR><BR>Yixun
liu<BR></FONT></DIV></BODY></HTML>