<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Dear Pat, dear Deng,<br>
    <br>
    Where do I have to paste the sample data? Or where can I say to
    xcode where he can find these?<br>
    I have pasted them almost everywhere :-) ... with no success.<br>
    Once commented out, the simulator is working fine. I've downloaded a
    3D file from an URL, and everything is perfect! Cool!<br>
    <br>
    In the same way, where is located the directory "Downloads" of the
    Kiwiviewer App?<br>
    I have found the physical location....<br>
    <br>
    Many thanks,<br>
    Laurent.<br>
    <br>
    <div class="moz-cite-prefix">Le 28/03/2013 17:59, 邓卓夫 a écrit :<br>
    </div>
    <blockquote
      cite="mid:268d78e0.eb31.13db1f0a0d8.Coremail.dengzf@swc.neu.edu.cn"
      type="cite">Hi pat,
      <div><br>
      </div>
      <div>   Sorry to give you so much trouble.</div>
      <div><br>
      </div>
      <div>   In my last ves mail which was posted just 20 minutes ago,
        I said the simulator soon crashed as your 2 instructions and I
        want to know why.</div>
      <div><br>
      </div>
      <div>   But just now I use ipad to test the code and It works well
        strangely. puzzle me!!</div>
      <div><br>
      </div>
      <div>   So why the modified codes soon crashed in the simulator
        but works well in the ipad??? </div>
      <div><br>
      </div>
      <div>   THANK YOU VERY MUCH!</div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>Deng zhuofu<br>
        kiwi fan<br>
        <br>
        <blockquote name="replyContent"
          style="padding-left:5px;margin-left:5px;border-left:#b6b6b6
          2px solid;margin-right:0">-----原始邮件-----<br>
          <b>发件人:</b> "Pat Marion" <a class="moz-txt-link-rfc2396E" href="mailto:pat.marion@kitware.com"><pat.marion@kitware.com></a><br>
          <b>发送时间:</b> 2013年3月28日 星期四<br>
          <b>收件人:</b> "邓卓夫" <a class="moz-txt-link-rfc2396E" href="mailto:dengzf@swc.neu.edu.cn"><dengzf@swc.neu.edu.cn></a><br>
          <b>抄送:</b> <a class="moz-txt-link-abbreviated" href="mailto:ves@public.kitware.com">ves@public.kitware.com</a><br>
          <b>主题:</b> Re: Re: [Ves] subject: about build kiwiviewer 2.0
          on iOS<br>
          <br>
          Hi,<br>
          <br>
          It might be crashing when it tries to copy the bundled sample
          datasets.  In the branch I pushed, I did not include the
          sample datasets because I don't want to add them to the git
          repository.  You could either download the sample datasets ( <a
            moz-do-not-send="true"
            href="https://midas3.kitware.com/midas/folder/9479"
            target="_blank">https://midas3.kitware.com/midas/folder/9479</a>
          ) and add them to your xcode project, or comment out the code
          in DocumentsTableViewController.m where it unpacks the sample
          data.  Just add a return statement at the very top of the
          unpackSampleData() function.<br>
          <br>
          Pat<br>
          <br>
          <br>
          <div class="gmail_quote">On Wed, Mar 27, 2013 at 3:06 AM, 邓卓夫
            <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:dengzf@swc.neu.edu.cn" target="_blank">dengzf@swc.neu.edu.cn</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div class="HOEnZb">
                <div class="h5">Hi,
                  <div><br>
                  </div>
                  <div>   I will describe the errors in detail.</div>
                  <div><br>
                  </div>
                  <div>   1)  as your instructions, I create a new
                    folder named frameworks and put the kiwi, dropbox
                    and pcl frameworks in it.</div>
                  <div>   </div>
                  <div>   2)  when I rerun the project,it errors that
                    Eigen/Dense not found. So also as your instruction I
                    check the Header Search Paths, and find there are
                    .../kiwi.frameworks/Headers, so WHY?  Then I check
                    the kiwi.framework and find that the Eigen as folder
                    exists in the /kiwi.frameworks/Headers. So I guess
                    whether xcode cannot search subfolder in
                    the /kiwi.frameworks/Headers. So I add a new
                    path $(frameworks_dir)/kiwi.framework/Headers/eigen
                    in it and no errors.</div>
                  <div><br>
                  </div>
                  <div>   3) Although it works and when I want to run on
                    the simulator but it produce 70 more warnings and
                    Suddenly exit showing FINISHED RUNNING KIWIVIEWER ON
                    IPAD SIMULATOR  . For example, the warning is that </div>
                  <div>
                    <p
style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo;min-height:13px"><br>
                    </p>
                    <p style="margin:0px"><span
                        style="font-family:Menlo;font-size:11px;line-height:normal"> 
                          UITextAlignmentCenter is deprecated. first
                        deprecated in </span><font face="Menlo"><span
                          style="font-size:11px;line-height:normal">iOS
                          6.0</span></font></p>
                    <p style="margin:0px"><font face="Menlo"><span
                          style="font-size:11px;line-height:normal">...............</span></font></p>
                  </div>
                  <div><br>
                  </div>
                  <div>      <span
                      style="font-family:Menlo;font-size:11px;line-height:normal">ld:
                      warning: ignoring file
                      ../frameworks/pcl.framework/pcl, missing required
                      architecture i386 in file
                      ../frameworks/pcl.framework/pcl (1 slices)</span>
                    <p style="margin:0px 0px 0px
                      12px;font-size:11px;line-height:normal;font-family:Menlo">
                      ld: warning: direct access in
                      std::tr1::_Sp_counted_base_impl<vesTextureCoordinateVertexAttribute*,
                      std::tr1::_Sp_deleter<vesTextureCoordinateVertexAttribute>,
                      (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl()
                      to global weak symbol vtable for
                      std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>
                      means the weak symbol cannot be overridden at
                      runtime. This was likely caused by different
                      translation units being compiled with different
                      visibility settings.</p>
                    <p style="margin:0px 0px 0px
                      12px;font-size:11px;line-height:normal;font-family:Menlo">ld:
                      warning: direct access in
                      std::tr1::_Sp_counted_base_impl<vesColorVertexAttribute*,
                      std::tr1::_Sp_deleter<vesColorVertexAttribute>,
                      (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl()
                      to global weak symbol vtable for
                      std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>
                      means the weak symbol cannot be overridden at
                      runtime. This was likely caused by different
                      translation units being compiled with different
                      visibility settings.</p>
                    <p style="margin:0px 0px 0px
                      12px;font-size:11px;line-height:normal;font-family:Menlo">ld:
                      warning: direct access in
                      std::tr1::_Sp_counted_base_impl<vesNormalVertexAttribute*,
                      std::tr1::_Sp_deleter<vesNormalVertexAttribute>,
                      (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl()
                      to global weak symbol vtable for
                      std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>
                      means the weak symbol cannot be overridden at
                      runtime. This was likely caused by different
                      translation units being compiled with different
                      visibility settings.</p>
                    <p style="margin:0px 0px 0px
                      12px;font-size:11px;line-height:normal;font-family:Menlo">ld:
                      warning: direct access in
                      std::tr1::_Sp_counted_base_impl<vesNormalVertexAttribute*,
                      std::tr1::_Sp_deleter<vesNormalVertexAttribute>,
                      (__gnu_cxx::_Lock_policy)2>::~_Sp_counted_base_impl()
                      to global weak symbol vtable for
                      std::tr1::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>
                      means the weak symbol cannot be overridden at
                      runtime. This was likely caused by different
                      translation units being compiled with different
                      visibility settings.</p>
                    <p style="margin:0px 0px 0px
                      12px;font-size:11px;line-height:normal;font-family:Menlo">...............</p>
                       ..........<br>
                       Finally it suspended. But I do not know why?</div>
                  <div><br>
                  </div>
                  <div>4)  Finally I guess maybe the simulator is just a
                    process in the os and it may not support the test
                    very well. SO I intend to test on the iPad. When the
                    app start it suddenly suspend also. And in the xcode
                    an exception is thrown out in the
                    DocumentsTableViewController.m and the located line
                    is :</div>
                  <div><br>
                  </div>
                  <div>    <span
                      style="font-family:Menlo;font-size:11px;line-height:normal">  </span><span
style="font-family:Menlo;font-size:11px;line-height:normal;color:rgb(187,44,162)">if</span><span
style="font-family:Menlo;font-size:11px;line-height:normal"> ([[</span><span
style="font-family:Menlo;font-size:11px;line-height:normal;color:rgb(112,61,170)">NSFileManager</span><span
style="font-family:Menlo;font-size:11px;line-height:normal"> </span><span
style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">defaultManager</span><span
style="font-family:Menlo;font-size:11px;line-height:normal">] </span><span
style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">copyItemAtPath</span><span
style="font-family:Menlo;font-size:11px;line-height:normal">:srcFile </span><span
style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">toPath</span><span
style="font-family:Menlo;font-size:11px;line-height:normal">:destFile </span><span
style="color:rgb(61,29,129);font-family:Menlo;font-size:11px;line-height:normal">error</span><span
style="font-family:Menlo;font-size:11px;line-height:normal">:</span><span
style="font-family:Menlo;font-size:11px;line-height:normal;color:rgb(187,44,162)">nil</span><span
style="font-family:Menlo;font-size:11px;line-height:normal">]) {</span></div>
                  <p
                    style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"> 
                      <span style="color:rgb(187,44,162)">return</span> destFile;</p>
                  <p
                    style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo">  }</p>
                  <p
                    style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br>
                  </p>
                  <p
                    style="margin:0px;font-size:11px;line-height:normal;font-family:Menlo"><br>
                  </p>
                  <p style="margin:0px">Above all, Please help me
                    resolve these problems. Whether my configuration for
                    the kiwiviewer has some mistakes leads to the
                    problems. What is the right way? </p>
                  <p style="margin:0px"><br>
                  </p>
                  <p style="margin:0px">Thank you very much!</p>
                  <p style="margin:0px"><br>
                  </p>
                  <p style="margin:0px">Deng Zhuofu</p>
                  <p style="margin:0px">  kiwi fan</p>
                  <br>
                  <br>
                </div>
              </div>
              <blockquote name="replyContent"
                style="padding-left:5px;margin-left:5px;border-left:#b6b6b6
                2px solid;margin-right:0">
                <div>
                  <div class="h5">-----原始邮件-----<br>
                    <b>发件人:</b> "Pat Marion" <<a
                      moz-do-not-send="true"
                      href="mailto:pat.marion@kitware.com"
                      target="_blank">pat.marion@kitware.com</a>><br>
                    <b>发送时间:</b> 2013年3月26日 星期二<br>
                    <b>收件人:</b> "邓卓夫" <<a moz-do-not-send="true"
                      href="mailto:dengzf@swc.neu.edu.cn"
                      target="_blank">dengzf@swc.neu.edu.cn</a>><br>
                    <b>抄送:</b> <a moz-do-not-send="true"
                      href="mailto:ves@public.kitware.com"
                      target="_blank">ves@public.kitware.com</a><br>
                    <b>主题:</b> Re: [Ves] subject: about build kiwiviewer
                    2.0 on iOS<br>
                    <br>
                  </div>
                </div>
                <div>
                  <div class="h5">You still need to provide more
                    information before we can help you.<br>
                    <br>
                    Where did you put the frameworks?  You should create
                    a directory in Apps/iOS called frameworks and put
                    them in there.<br>
                    <br>
                    Please check that the headers are actually found in
                    the kiwi.framework/Headers directory (they should
                    be).<br>
                    <br>
                    In Xcode, go to build settings and look at the
                    settings for Header Search Paths.  You should see:
                    "../frameworks/kiwi.framework/Headers".  Verify the
                    headers are there.<br>
                    <br>
                    <br>
                    Pat<br>
                    <br>
                    <div class="gmail_quote">
                      On Tue, Mar 26, 2013 at 1:25 AM, 邓卓夫 <span
                        dir="ltr"><<a moz-do-not-send="true"
                          href="mailto:dengzf@swc.neu.edu.cn"
                          target="_blank">dengzf@swc.neu.edu.cn</a>></span>
                      wrote:<br>
                      <blockquote class="gmail_quote" style="margin:0 0
                        0 .8ex;border-left:1px #ccc
                        solid;padding-left:1ex">
                        Hello developers,
                        <div><br>
                        </div>
                        <div>      There is a problem which puzzles me a
                          week, Please help me!</div>
                        <div><br>
                        </div>
                        <div>      A week ago, I posted my question that
                          How to build the kiwiviewer 2.0 on iOS.
                          Experts has replied me but I did not succeed.
                          As the instruction, I download the
                          dropbox.framework and import them into the
                          project. I also download pcl.framework and
                          kiwi.framework from the <a
                            moz-do-not-send="true"
                            href="http://packages.kitware.com"
                            target="_blank">packages.kitware.com</a> and
                          also import them.</div>
                        <div>      So next step, through the adding
                          files the project I import these 3 frameworks.
                          But There are always errors that for examples
                          the vesMidasClient.h and some others .h file
                          can not found. So I want to know why it
                          produce so many errors? Is the way I add
                          framework wrong? Please tell me the right way
                          how to build kiwiviewer 2.0 on ios in details.</div>
                        <div><br>
                        </div>
                        <div>   Thank you very much really!</div>
                        <div><br>
                        </div>
                        <div>Deng </div>
                        <div><br>
                        </div>
                        <div>a fan for k iwiviewer </div>
                        <br>
                        <br>
                        <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>
                        <br>
                      </blockquote>
                    </div>
                    <br>
                  </div>
                </div>
              </blockquote>
              <br>
              <br>
              <br>
            </blockquote>
          </div>
          <br>
        </blockquote>
      </div>
      <br>
      <br>
      <br>
      <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>
  </body>
</html>