[vtkusers] error in vtk/android building

fabio riot fabio.riot at gmail.com
Mon Nov 21 10:34:07 EST 2016


Dear All,

I'm trying to build vtk 7.0 with android on ubuntu 16.04 using cmake

These are the cmake's values:

ANDROID_ARCH_NAME: X86_64
ANDROID_EXECUTABLE: /home/...../Android/sdk/tools/android
ANDROID_NATIVE_API_LEVEL: 21
ANDROID_NDK: /home/...../android-ndk-r13
ANT_EXECUTABLE: /usr/bin/ant

But after launching "make", the build process fails with the following
error:

in vtkEGLRenderWindow.cxx, ANativeWindow_setBufferGeometry was not declared
in the scope

I can remedy at the error adding:
 #include .../.../native_window.h   in vtkEGLRenderWindow.cxx;

Anyway, NativeVTK.apk fails once installed on my smartphone.

Thank you very much for any help

Fabio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20161121/2787f0ec/attachment.html>


More information about the vtkusers mailing list