[Insight-users] Re: ITK Java Wrapping in Visual Studio 8 .net in XP

Michael Bell michael.bell at acm.org
Wed Aug 9 14:55:49 EDT 2006


ZM,

I just completed compilation of ITK2.8 on VS2003.net (VS7) using
WrapITK. I highly suggest you use this combination if possible.
Several people were not able to get VS* to work, and I believe there
are issues with VS6.

WrapITK improves upon ITK's built in wrapping by making the compile
easier and wrapping more classes.

Please check the archives for recent messages which describe what you
need to get in detail. Search for wrapitk.

ITK people: is there any reason why someone could not provide
pre-compiled binaries? I think the process of building and wrapping
itk is more daunting than using it. I'd be happy to make my binaries
available (SunOS, Linux and Windows) if someone has a place to host
them.

thanks,
michael

On 8/9/06, Bi, Zhuming <zhuming.bi at nrc-cnrc.gc.ca> wrote:
>
>
>
> Hello
>
> I am new to the ITK. I wonder if someone has java wrapping of itk for
> windows. I tried to wrap itk in Visual Studio 8 in XP following some
> instruations on the Internet, but I was not able to generate all dlls. The
> missed two are: itkIOJava.dll and itkAlgorithmsJava.dll. I have tried
> different versions of itks from 2.0.0 to 2.8.x, and Visual Studio 6 and 8.
> The error results were similar to the follows:
>
> Error 35 error: `long int*'
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:910
> Error 36 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:934
> Error 37 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:936
> Error 38 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:937
> Error 39 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2989
> Error 40 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2989
> Error 41 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:673
> Error 42 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:673
> Error 43 error: `double*'
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:880
> Error 44 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:887
> Error 45 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:1039
> Error 46 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:673
> Error 47 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:693
> Error 48 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:693
> Error 49 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2834
> Error 50 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2768
> Error 51 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2768
> Error 52 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:3037
> Error 53 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:3037
> Error 54 error PRJ0019: A tool returned an error code from
> "wrap_itkImageSeriesWriter.xml from " ITKIOJava
> Error 55 error: `const long
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:910
> Error 56 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:934
> Error 57 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:936
> Error 58 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:937
> Error 59 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/algorithm:2004
> Error 60 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/algorithm:2004
> Error 61 error: `
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:910
> Error 62 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:934
> Error 63 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:936
> Error 64 error: no type
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:937
> Error 65 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:673
> Error 66 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:673
> Error 67 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:693
> Error 68 error: no  C:/Program Files/Microsoft Visual Studio
> 8/VC/include/memory:693
> Error 69 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2834
> Error 70 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2768
> Error 71 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:2768
> Error 72 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:3037
> Error 73 error: no
> D:/Programs/ITK2.6.0_VC8_Build/bin/Vc8/Include/xutility:3037
> Error 74 error PRJ0019: A tool returned an error code from
> "wrap_itkWatershedImageFilter.xml from " ITKAlgorithmsJava
> Error 75 error PRJ0019: A tool returned an error code from "Java Class"
> ITKJavaJar
>
> Would you privode some advices to help me generating the correct result or
> telling me where I could download all dlls and InsightToolkits.jar?  Thank
> you very much for helps.
>
> Best regards,
>
> ZM
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
>


-- 
michael.bell at acm.org


More information about the Insight-users mailing list