[Ves] Trying to compile PointCloudStreaming

Aashish Chaudhary aashish.chaudhary at kitware.com
Mon Jun 2 16:33:49 EDT 2014


Cool!.. We will have a look at it and merge it into master.

- Aashish


On Mon, Jun 2, 2014 at 3:16 PM, Lynn Gilbert <
lynn at roboticparadigmsystems.com> wrote:

>  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.
>
> In addition, I fixed my earlier compilation error with
> vesKiwiText2DRepresentation. I changed:
>
>   vesKiwiText2DRepresentation* mText;
>
> to
>
>   vesKiwiText2DRepresentation::Ptr mText;
>
> 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.
>
> Thanks!
> Lynn
>
> Lynn Coddington Gilbert
> Partner, Robotic Paradigm Systemswww.roboticparadigmsystems.comwww.facebook.com/RoboticParadigmSystemslynn at roboticparadigmsystems.com678-428-0935
>
> On 05/30/2014 01:56 PM, Casey Goodlett wrote:
>
>
>
> On Fri, May 30, 2014 at 1:35 PM, Lynn Gilbert <
> lynn at roboticparadigmsystems.com> wrote:
>
>>  Great! I fixed that error and now, just have a linking error:
>>
>> Linking CXX shared library ../libs/armeabi-v7a/libPointCloudStreaming.so
>> /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'
>> collect2: ld returned 1 exit status
>> make[2]: *** [libs/armeabi-v7a/libPointCloudStreaming.so] Error 1
>>
>> make[1]: *** [jni/CMakeFiles/PointCloudStreaming.dir/all] Error 2
>> make: *** [all] Error 2
>>
>
> It reminds me of this problem
>
> http://www.vtk.org/pipermail/vtk-developers/2013-October/014356.html
>
>  but I thought we had VES on a version of VTK that fixed this.
>
>  If its not that it may be to mixing c++ settings (libc++ vs libstdc++ or
> c++11 vs c++03)
>
>   --
> Casey B. Goodlett
>
>
>


-- 



*| Aashish Chaudhary | Technical Leader         | Kitware Inc.            *
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140602/3735ce57/attachment-0003.html>


More information about the Ves mailing list