<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks for all the help,<br>
      <br>
      I tried (during 2 hours) to separate the HDF5 from  XDMF (in the
      same way as the MySQL support ).<br>
      Adding an option in the cMakeLists.txt files and a definition to
      be able to put #ifdef in the code.<br>
      <br>
      but the problem is the class XdmfDataDesc, this class is used
      almost everywhere, and internally uses H5, so again I'm stuck.<br>
      We need to rewrite this class entirely to make this work.<br>
      <br>
      Enough for me for this week ,<br>
      Bon week-end to all.<br>
      Felipe.<br>
      <br>
      Le 23/08/2013 16:07, Aashish Chaudhary a écrit :<br>
    </div>
    <blockquote
cite="mid:CAEw35Z_7aPfExDD_3N91+wNDn_wMOLvCipm_o681mm0JHCFQ+Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">Also, 
        <div><br>
        </div>
        <div>If you get a similar patch working, then we can help you
          doing the patch work at the build time automatically and will
          try to address this in VTK as well. </div>
        <div><br>
        </div>
        <div style="">
          Thanks,</div>
        <div style=""><br>
        </div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Fri, Aug 23, 2013 at 10:05 AM,
          Aashish Chaudhary <span dir="ltr"><<a
              moz-do-not-send="true"
              href="mailto:aashish.chaudhary@kitware.com"
              target="_blank">aashish.chaudhary@kitware.com</a>></span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div dir="ltr">
              <div><span
                  style="line-height:18px;font-size:14px;font-family:Arial,'Liberation
                  Sans','DejaVu Sans',sans-serif">Android passwd struct
                  does not have pw_gecos</span></div>
              <div><span
                  style="line-height:18px;font-size:14px;font-family:Arial,'Liberation
                  Sans','DejaVu Sans',sans-serif"><br>
                </span></div>
              <div><span
                  style="line-height:18px;font-size:14px;font-family:Arial,'Liberation
                  Sans','DejaVu Sans',sans-serif">Look at this patch</span></div>
              <div><span
                  style="line-height:18px;font-size:14px;font-family:Arial,'Liberation
                  Sans','DejaVu Sans',sans-serif"><br>
                </span></div>
              <div><a moz-do-not-send="true"
href="https://github.com/nathan-osman/AndroX/blob/ad64b792791e1088e40444037402605e17949865/src/patch/openssh.patch"
                  target="_blank">https://github.com/nathan-osman/AndroX/blob/ad64b792791e1088e40444037402605e17949865/src/patch/openssh.patch</a><br>
              </div>
            </div>
            <div class="gmail_extra">
              <div>
                <div class="h5"><br>
                  <br>
                  <div class="gmail_quote">On Fri, Aug 23, 2013 at 9:54
                    AM, David E DeMarle <span dir="ltr"><<a
                        moz-do-not-send="true"
                        href="mailto:dave.demarle@kitware.com"
                        target="_blank">dave.demarle@kitware.com</a>></span>
                    wrote:<br>
                    <blockquote class="gmail_quote" style="margin:0 0 0
                      .8ex;border-left:1px #ccc solid;padding-left:1ex">
                      <div dir="ltr">You might be the first to compile
                        hdf5 onto android. We cross compile xdmf and
                        hdf5  frequently, but only for supercomputer
                        tool chains (cray-gnu and bluegene-xlc
                        specifically).
                        <div>
                          <div><br>
                          </div>
                          <div>As far as I know there is no easy way to
                            remove the hdf5 dependency from xdmf. xdmf's
                            premise is to be a front end for hdf5 and
                            the binary back end was added afterward. So
                            it will likely take a bit of hacking to take
                            it out. Since the back end is componentized
                            though, it should be possible.</div>
                          <span><font color="#888888">
                            </font></span></div>
                        <span><font color="#888888">
                            <div><br>
                            </div>
                          </font></span></div>
                      <div class="gmail_extra"><span><font
                            color="#888888"><br clear="all">
                            <div>David E DeMarle<br>
                              Kitware, Inc.<br>
                              R&D Engineer<br>
                              21 Corporate Drive<br>
                              Clifton Park, NY 12065-8662<br>
                              Phone: <a moz-do-not-send="true"
                                href="tel:518-881-4909"
                                value="+15188814909" target="_blank">518-881-4909</a></div>
                          </font></span>
                        <div>
                          <div>
                            <br>
                            <br>
                            <div class="gmail_quote">On Fri, Aug 23,
                              2013 at 9:28 AM, Casey Goodlett <span
                                dir="ltr"><<a moz-do-not-send="true"
href="mailto:casey.goodlett@kitware.com" target="_blank">casey.goodlett@kitware.com</a>></span>
                              wrote:<br>
                              <blockquote class="gmail_quote"
                                style="margin:0 0 0 .8ex;border-left:1px
                                #ccc solid;padding-left:1ex">
                                <div dir="ltr">
                                  <div>Felipe,<br>
                                    <br>
                                    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.<br>
                                  </div>
                                  <br>
                                  Thank you<br>
                                  <div class="gmail_extra">
                                    <div>
                                      <div><br>
                                        <br>
                                        <div class="gmail_quote">
                                          On Thu, Aug 22, 2013 at 9:56
                                          AM, Felipe Bordeu Weldt <span
                                            dir="ltr"><<a
                                              moz-do-not-send="true"
                                              href="mailto:felipe.bordeu@ec-nantes.fr"
                                              target="_blank">felipe.bordeu@ec-nantes.fr</a>></span>
                                          wrote:<br>
                                          <blockquote
                                            class="gmail_quote"
                                            style="margin:0 0 0
                                            .8ex;border-left:1px #ccc
                                            solid;padding-left:1ex">
                                            Hello,<br>
                                            <br>
                                            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).<br>
                                            My reader depends on the
                                            vtkxdmf2 that needs hdf5
                                            support.<br>
                                            <br>
                                            first error building h5<br>
                                            <br>
                                            [ 31%] Building C object
                                            ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/H5detect.c.o<br>
                                            /work/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5detect.c:
                                            In function 'print_header':<br>
                                            /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'<br>
                                            make[2]: ***
                                            [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/H5detect.c.o]
                                            Erreur 1<br>
                                            make[1]: ***
                                            [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5detect.dir/all]
                                            Erreur 2<br>
                                            make: *** [all] Erreur 2<br>
                                            <br>
                                            [ 31%] Building C object
ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o<br>
                                            /Big/fbordeu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5make_libsettings.c:
                                            In function 'print_header':<br>
                                            /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'<br>
                                            make[2]: ***
                                            [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/H5make_libsettings.c.o]
                                            Erreur 1<br>
                                            make[1]: ***
                                            [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/H5make_libsettings.dir/all]
                                            Erreur 2<br>
                                            make: *** [all] Erreur 2<br>
                                            <br>
                                            to solve these error I just
                                            commented the offending
                                            lines (leaving the code like
                                            without H5_HAVE_GETPWUID)<br>
                                            <br>
                                            then the generation of the
                                            file
                                            ./VTK/ThirdParty/hdf5/vtkhdf5/H5lib_settings.c
                                            failed<br>
                                            so I copied from the
                                            vtk-host folder to the
                                            vtk-android<br>
                                            <br>
                                            now I have a this error:<br>
                                            <br>
                                            ...<br>
                                            [ 47%] Built target
                                            H5make_libsettings<br>
                                            [ 47%] Building C object
                                            ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5Tconv.c.o<br>
                                            /Big/fbordeu/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Source/vtk/ThirdParty/hdf5/vtkhdf5/src/H5Tconv.c:
                                            In function
                                            'vtk__H5T_conv_llong_int':<br>
                                            /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<br>
                                            Please submit a full bug
                                            report,<br>
                                            with preprocessed source if
                                            appropriate.<br>
                                            See <<a
                                              moz-do-not-send="true"
                                              href="http://gcc.gnu.org/bugs.html"
                                              target="_blank">http://gcc.gnu.org/bugs.html</a>>
                                            for instructions.<br>
                                            make[2]: ***
                                            [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/H5Tconv.c.o]
                                            Erreur 1<br>
                                            make[1]: ***
                                            [ThirdParty/hdf5/vtkhdf5/src/CMakeFiles/vtkhdf5.dir/all]
                                            Erreur 2<br>
                                            make: *** [all] Erreur 2<br>
                                            <br>
                                            <br>
                                            I'm not an expert of
                                            compiling for android. I'm
                                            stuck here.<br>
                                            <br>
                                            Is there any way of building
                                            the XMDF library without H5
                                            support, only ascii and
                                            binary support is enough for
                                            me ???<br>
                                            <br>
                                            Thanks<br>
                                            Felipe.<br>
                                            <br>
_______________________________________________<br>
                                            Ves mailing list<br>
                                            <a moz-do-not-send="true"
                                              href="mailto:Ves@public.kitware.com"
                                              target="_blank">Ves@public.kitware.com</a><br>
                                            <a moz-do-not-send="true"
                                              href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves"
                                              target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
                                          </blockquote>
                                        </div>
                                        <br>
                                        <br clear="all">
                                        <br>
                                      </div>
                                    </div>
                                    <span><font color="#888888">-- <br>
                                        Casey B. Goodlett, Ph.D.<br>
                                        R&D Engineer<br>
                                        Kitware, Inc. - North Carolina
                                        Office<br>
                                        <a moz-do-not-send="true"
                                          href="http://www.kitware.com"
                                          target="_blank">http://www.kitware.com</a><br>
                                        <a moz-do-not-send="true"
                                          href="tel:%28919%29%20969-6990%20x310"
                                          value="+19199696990"
                                          target="_blank">(919) 969-6990
                                          x310</a>
                                      </font></span></div>
                                </div>
                                <br>
_______________________________________________<br>
                                Ves mailing list<br>
                                <a moz-do-not-send="true"
                                  href="mailto:Ves@public.kitware.com"
                                  target="_blank">Ves@public.kitware.com</a><br>
                                <a moz-do-not-send="true"
                                  href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves"
                                  target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
                                <br>
                              </blockquote>
                            </div>
                            <br>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      Ves mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:Ves@public.kitware.com"
                        target="_blank">Ves@public.kitware.com</a><br>
                      <a moz-do-not-send="true"
                        href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves"
                        target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                  <br clear="all">
                  <div><br>
                  </div>
                  -- <br>
                </div>
              </div>
              <span class="HOEnZb"><font color="#888888">| Aashish
                  Chaudhary <br>
                  | R&D Engineer         <br>
                  | Kitware Inc.            <br>
                  | <a moz-do-not-send="true"
                    href="http://www.kitware.com" target="_blank">www.kitware.com</a> 
                    </font></span></div>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        | Aashish Chaudhary <br>
        | R&D Engineer         <br>
        | Kitware Inc.            <br>
        | <a moz-do-not-send="true" href="http://www.kitware.com">www.kitware.com</a> 
          </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Ves mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Ves@public.kitware.com">Ves@public.kitware.com</a>
<a class="moz-txt-link-freetext" href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Felipe Bordeu Weldt
Ingénieur de Recherche
-------------------------------------
Tél. : 33 (0)2 40 37 16 57
Fax. : 33 (0)2 40 74 74 06
<a class="moz-txt-link-abbreviated" href="mailto:Felipe.Bordeu@ec-nantes.fr">Felipe.Bordeu@ec-nantes.fr</a>
Institut GeM - UMR CNRS 6183
École Centrale Nantes
1 Rue de La Noë, 44321 Nantes, FRANCE
-------------------------------------</pre>
  </body>
</html>