[vtk-developers] Android: undefined reference to vtkRenderWindow::New()

Ken Martin ken.martin at kitware.com
Tue Jun 23 08:40:45 EDT 2015


I checked the build on my local system and it is messed up. Something has
changed in the past months to break it. Unfortunately I do not have time
to dig into it right now but it is on my list. I suspect it is fairly
minor but finding it can be tricky sometimes.

Ken

Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
ken.martin at kitware.com
518 881-4901 (w)
518 371-4573 (f)

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you
are not the intended recipient, any disclosure, copying, distribution or
any action taken in reliance on it is prohibited and may be unlawful. If
you received this communication in error please notify us immediately and
destroy the original message.  Thank you.


-----Original Message-----
From: vtk-developers [mailto:vtk-developers-bounces at vtk.org] On Behalf Of
Lonni Besançon
Sent: Tuesday, June 23, 2015 3:56 AM
To: vtk-developers at vtk.org
Subject: Re: [vtk-developers] Android: undefined reference to
vtkRenderWindow::New()

I've added this to my android.mk:
/LOCAL_STATIC_LIBRARIES := cpufeatures android_native_app_glue ndk_helper
\
    libvtkalglib-6.3 \
    libvtkCommonColor-6.3 \
    libvtkCommonComputationalGeometry-6.3 \
    libvtkCommonCore-6.3 \
    libvtkCommonMath-6.3 \
    libvtkCommonMisc-6.3 \
    libvtkCommonSystem-6.3 \
    libvtkCommonTransforms-6.3 \
    libvtkDICOMParser-6.3 \
    libvtkexpat-6.3 \
    libvtkFiltersCore-6.3 \
    libvtkFiltersExtraction-6.3 \
    libvtkFiltersGeneral-6.3 \
    libvtkFiltersGeometry-6.3 \
    libvtkFiltersModeling-6.3 \
    libvtkFiltersSources-6.3 \
    libvtkFiltersStatistics-6.3 \
    libvtkglew-6.3 \
    libvtkImagingCore-6.3 \
    libvtkImagingFourier-6.3 \
    libvtkImagingHybrid-6.3 \
    libvtkInfovisCore-6.3 \
    libvtkInteractionStyle-6.3 \
    libvtkIOCore-6.3 \
    libvtkIOGeometry-6.3 \
    libvtkIOImage-6.3 \
    libvtkIOInfovis-6.3 \
    libvtkIOLegacy-6.3 \
    libvtkIOPLY-6.3 \
    libvtkIOXML-6.3 \
    libvtkIOXMLParser-6.3 \
    libvtkjpeg-6.3 \
    libvtkjsoncpp-6.3 \
    libvtklibxml2-6.3 \
    libvtkmetaio-6.3 \
    libvtkParallelCore-6.3 \
    libvtkpng-6.3 \
    libvtkRenderingCore-6.3 \
    libvtkRenderingOpenGL2-6.3 \
    libvtksys-6.3 \
    libvtktiff-6.3 \
    libvtkzlib-6.3
LOCAL_CPP_FEATURES := rtti exceptions
LOCAL_CPPFLAGS += --std=c++11
/

But it still doesn't work. However I've noticed that the errors I get
depends on the orders in which I add the vtk modules in LOCAL_MODULE



--
View this message in context:
http://vtk.1045678.n5.nabble.com/Android-undefined-reference-to-vtkRenderW
indow-New-tp5732418p5732490.html
Sent from the VTK - Dev mailing list archive at Nabble.com.
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html

Search the list archives at: http://markmail.org/search/?q=vtk-developers

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtk-developers


More information about the vtk-developers mailing list