[Ves] Activating vtkxdmf in vtk-android build
Casey Goodlett
casey.goodlett at kitware.com
Fri Aug 23 09:28:35 EDT 2013
Felipe,
I have not tried to enable xdmf support in a cross-compile environment. I
added the VTK developers list in case someone on that list has insight on
this compilation problem.
Thank you
On Thu, Aug 22, 2013 at 9:56 AM, Felipe Bordeu Weldt <
felipe.bordeu at ec-nantes.fr> wrote:
> Hello,
>
> Thanks Pat for the excellent webinar about VES Android, I'm trying to
> build my vtk class (a reader) (using the VTK module, with a symbolic link
> to my readers directory).
> My reader depends on the vtkxdmf2 that needs hdf5 support.
>
> first error building h5
>
> [ 31%] Building C object
> ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/H5detect.c.o
> /work/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:
> In function 'print_header':
> /work/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:1204:29:
> error: 'struct passwd' has no member named 'pw_gecos'
> make[2]: ***
> [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/H5detect.c.o] Erreur 1
> make[1]: *** [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/all]
> Erreur 2
> make: *** [all] Erreur 2
>
> [ 31%] Building C object
> ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o
> /Big/fbordeu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5make_libsettings.c:
> In function 'print_header':
> /Big/fbordeu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5make_libsettings.c:186:18:
> error: 'struct passwd' has no member named 'pw_gecos'
> make[2]: ***
> [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o]
> Erreur 1
> make[1]: ***
> [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/all] Erreur 2
> make: *** [all] Erreur 2
>
> to solve these error I just commented the offending lines (leaving the
> code like without H5_HAVE_GETPWUID)
>
> then the generation of the file
> ./VTK/ThirdParty/hdf5/vtkhdf5/H5lib_settings.c failed
> so I copied from the vtk-host folder to the vtk-android
>
> now I have a this error:
>
> ...
> [ 47%] Built target H5make_libsettings
> [ 47%] Building C object
> ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5Tconv.c.o
> /Big/fbordeu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5Tconv.c:
> In function 'vtk__H5T_conv_llong_int':
> /Big/fbordeu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5Tconv.c:7203:1:
> internal compiler error: in get_arm_condition_code, at
> config/arm/arm.c:17187
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <http://gcc.gnu.org/bugs.html> for instructions.
> make[2]: ***
> [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5Tconv.c.o] Erreur 1
> make[1]: *** [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/all]
> Erreur 2
> make: *** [all] Erreur 2
>
>
> I'm not an expert of compiling for android. I'm stuck here.
>
> Is there any way of building the XMDF library without H5 support, only
> ascii and binary support is enough for me ???
>
> Thanks
> Felipe.
>
> _______________________________________________
> Ves mailing list
> Ves at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>
--
Casey B. Goodlett, Ph.D.
R&D Engineer
Kitware, Inc. - North Carolina Office
http://www.kitware.com
(919) 969-6990 x310
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130823/3ea6c729/attachment-0001.html>
More information about the Ves
mailing list