[Insight-users] compiling ITK with cygwin for JAVA-wrapping failed

Brad King brad.king at kitware.com
Fri Mar 18 09:41:43 EST 2005


Lars Matthäus wrote:
> I tried without success to compile ITK for JAVA 1.5 using cygwin. Cmake run fine, but make finally failed. Maybe somebody could have a look at the settings and the error message:
[snip]
> error message after running make in the source directory:
> ---------------------------
> 
> ....
> Building object file wrap_itkVersorTransformJava.o...
> Building object file wrap_ITKCommonJavaJava.o...
> Building object file SwigExtras_wrapJava.o...
> Building object file itkStringStream.o...
> Building shared module /cygdrive/c/Download/itk-download/InsightToolkit-2.0.0/In
> sightToolkit-2.0.0/bin/libITKCommonJava.dll...
> wrap_ITKCommonBaseJava.o(.text+0xcc87):wrap_ITKCommonBaseJava.cxx: undefined ref
> erence to `__imp___ZTVN3itk7VersionE'
> wrap_ITKCommonBaseJava.o(.text+0x23d27):wrap_ITKCommonBaseJava.cxx: undefined re
> ference to `__imp___ZTVN3itk13DynamicLoaderE'
> collect2: ld returned 1 exit status
> make[5]: *** [/cygdrive/c/Download/itk-download/InsightToolkit-2.0.0/InsightTool
> kit-2.0.0/bin/libITKCommonJava.dll] Error 1
> make[4]: *** [default_target] Error 2
> make[3]: *** [default_target_Common] Error 2
> make[2]: *** [default_target] Error 2
> make[1]: *** [default_target_Wrapping_CSwig] Error 2
> make: *** [default_target] Error 2

I have duplicated this problem and it is a bug.  Please report it here:

http://www.itk.org/Bug

and then send me the bug number.

Thanks,
-Brad


More information about the Insight-users mailing list