<div dir="ltr">Cool!.. We will have a look at it and merge it into master. <div><br></div><div>- Aashish</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 2, 2014 at 3:16 PM, Lynn Gilbert <span dir="ltr"><<a href="mailto:lynn@roboticparadigmsystems.com" target="_blank">lynn@roboticparadigmsystems.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    <div>I got a chance to look at this a bit
      more. The function lfind was "extern"d in tiffiop.h (vtk-android)
      and defined in KiwiNative.cpp (Apps/Android/Kiwi). The problem was
      that PointCloudStreaming.cpp (Apps/Android/PointCoudStreaming) can
      see vtk-android but can't see the definition of lfind in
      KiwiNative so the linker is erroring because it can't find a
      definition for lfind. I copied the definition from KiwiNative.cpp
      to PointCloudStreaming.cpp and it worked fine.<br>
      <br>
      In addition, I fixed my earlier compilation error with
      vesKiwiText2DRepresentation. I changed:<br>
      <br>
        vesKiwiText2DRepresentation* mText;<br>
      <br>
      to<br>
      <br>
        vesKiwiText2DRepresentation::Ptr mText;<br>
      <br>
      I've attached my latest PointCloudStreaming.cpp file. Feel free to
      review and make any additional changes (i.e. remove comments, move
      the lfind definition, etc.) before checking in.<br>
      <br>
      Thanks!<span class="HOEnZb"><font color="#888888"><br>
      Lynn</font></span><div class=""><br>
      <pre cols="72">Lynn Coddington Gilbert
Partner, Robotic Paradigm Systems
<a href="http://www.roboticparadigmsystems.com" target="_blank">www.roboticparadigmsystems.com</a>
<a href="http://www.facebook.com/RoboticParadigmSystems" target="_blank">www.facebook.com/RoboticParadigmSystems</a>
<a href="mailto:lynn@roboticparadigmsystems.com" target="_blank">lynn@roboticparadigmsystems.com</a>
<a href="tel:678-428-0935" value="+16784280935" target="_blank">678-428-0935</a></pre></div><div><div class="h5">
      On 05/30/2014 01:56 PM, Casey Goodlett wrote:<br>
    </div></div></div><div><div class="h5">
    <blockquote type="cite">
      <div dir="ltr"><br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Fri, May 30, 2014 at 1:35 PM, Lynn
            Gilbert <span dir="ltr"><<a href="mailto:lynn@roboticparadigmsystems.com" target="_blank">lynn@roboticparadigmsystems.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
              <div bgcolor="#FFFFFF" text="#000000">
                <div>Great! I fixed that error and now, just have a
                  linking error:<br>
                  <br>
                  Linking CXX shared library
                  ../libs/armeabi-v7a/libPointCloudStreaming.so<br>
                  /opt/android-ndk/toolchains/arm-linux-androideabi-4.6/prebuilt/linux-x86/bin/../lib/gcc/arm-linux-androideabi/4.6.x-google/../../../../arm-linux-androideabi/bin/ld.gold:

                  /home/rpslaptop32/android_dev/VES/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android/lib/libvtktiff-6.0.a(tif_dirinfo.c.o):

                  in function
                  vtk_TIFFFindFieldInfoByName:tif_dirinfo.c(.text.vtk_TIFFFindFieldInfoByName+0x8e):

                  error: undefined reference to 'lfind'<br>
                  collect2: ld returned 1 exit status<br>
                  make[2]: ***
                  [libs/armeabi-v7a/libPointCloudStreaming.so] Error 1
                  <div><br>
                    make[1]: ***
                    [jni/CMakeFiles/PointCloudStreaming.dir/all] Error 2<br>
                    make: *** [all] Error 2<br>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
              <div>It reminds me of this problem<br>
                <br>
                <a href="http://www.vtk.org/pipermail/vtk-developers/2013-October/014356.html" target="_blank">http://www.vtk.org/pipermail/vtk-developers/2013-October/014356.html</a><br>
                <br>
              </div>
              <div>but I thought we had VES on a version of VTK that
                fixed this.<br>
                <br>
              </div>
              <div>If its not that it may be to mixing c++ settings
                (libc++ vs libstdc++ or c++11 vs c++03)<br>
              </div>
              <div><br>
              </div>
            </div>
          </div>
          -- <br>
          <div dir="ltr">Casey B. Goodlett</div>
        </div>
      </div>
    </blockquote>
    <br>
  </div></div></div>

</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader         <br>| Kitware Inc.            <br></i></font><div><i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div>
</div>
</div>