<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">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!<br>
      Lynn<br>
      <pre class="moz-signature" cols="72">Lynn Coddington Gilbert
Partner, Robotic Paradigm Systems
<a class="moz-txt-link-abbreviated" href="http://www.roboticparadigmsystems.com">www.roboticparadigmsystems.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.facebook.com/RoboticParadigmSystems">www.facebook.com/RoboticParadigmSystems</a>
<a class="moz-txt-link-abbreviated" href="mailto:lynn@roboticparadigmsystems.com">lynn@roboticparadigmsystems.com</a>
678-428-0935</pre>
      On 05/30/2014 01:56 PM, Casey Goodlett wrote:<br>
    </div>
    <blockquote
cite="mid:CAOqyOuHwUP9+Ez=2qTcndMZqkgEzFiUeGnkNZEnOuv_KL0Y_2Q@mail.gmail.com"
      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 moz-do-not-send="true"
                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 class=""><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 moz-do-not-send="true"
href="http://www.vtk.org/pipermail/vtk-developers/2013-October/014356.html">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>
  </body>
</html>