[Insight-users] Re: Java wrappers fail to compile in VS8 or Cygwin (was Cygwin gccxml problem)

Michael Bell michael.bell at acm.org
Fri Jul 14 12:20:27 EDT 2006


I just tried the 2.8 version of ITK and CablSwig.

In CableSwig-ITK-2.8.0/GCC/libiberty/strerror.c, you must define
HAVE_SYS_ERRLIST at line 9, before the first ifdef:
8 #include "config.h"
9 #define HAVE_SYS_ERRLIST
10 #ifdef HAVE_SYS_ERRLIST

ITK still fails to build ITKAlgorithmJava and ITKIO java in VS8. In
Cygwin, I still get the gccxml_cc1plus: too many filenames error.

thanks,
michael

On 7/12/06, Arash Jahangir <arash at vije.ca> wrote:
>
>  Despite a week of valiant effort, I never managed to get the wrappers to
> work for either ITK or VTK using VC8 on XP SP2.  If you find a solution, I'd
> love to hear it.
>
>
>
>  Michael Bell wrote:
> itk folk,
>
>  Has anyone successfully compiled ITK on windows with Java wrappers
>  using VC8 or cygwin? Has anyone successfully compiled ITK on windows
>  at all? If so, what compiler are you using?
>
>  thanks,
>  michael
>
>  On 7/10/06, Michael Bell <michael.bell at acm.org> wrote:
>
> All,
>
>    I have seen this question asked twice in the archives, but no one
>  has responded. When compiling ITK with a wrapper (Java in my case), I
>  get the following error:
>  wrap_vnl_matrix.xml from
>  gccxml_cc1plus: error: too many filenames given.  Type gccxml_cc1plus
>  --help for usage
>  make[2]: ***
> [Wrapping/CSwig/VXLNumerics/wrap_vnl_matrix.xml] Error 1
>  make[1]: ***
> [Wrapping/CSwig/VXLNumerics/CMakeFiles/VXLNumericsJava.dir/all]
>  Error 2
>  make: *** [all] Error 2
>
>  Other messages that appear to come from the same problem:
>  1.
> http://public.kitware.com/pipermail/insight-users/2003-April/003534.html
>  This suggests that directories with spaces should be removed. I have done
> that.
> 2.http://public.kitware.com/pipermail/insight-users/2005-October/015118.html
>  The same problem again.
>
>  Please help. I have already switched from VS8 to cygwin because the
>  wrapping does not work properly.
>
>  thanks,
>  michael
>
>  --
>  michael.bell at acm.org
>
>
>
>
>
>


-- 
michael.bell at acm.org


More information about the Insight-users mailing list