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

Lonni Besançon lonni.besancon at gmail.com
Tue Jun 23 03:55:42 EDT 2015


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-vtkRenderWindow-New-tp5732418p5732490.html
Sent from the VTK - Dev mailing list archive at Nabble.com.


More information about the vtk-developers mailing list