Git Product home page Git Product logo

android-vtk-skeleton's Introduction

Android-vtk-skeleton

Minimal Android application with VTK view (adapted from vtk examples)

  1. Install Android studio
  2. Install Android NDK from Android Studio
  3. Execute build-vtk-android.sh
  4. Open Android project
  5. Set vtk.dir to folder containing VTKConfig.cmake file (something like $VTK_BUILD_DIR/CMakeExternals/Install/vtk-android/lib/cmake/vtk-8.2)
  6. Compile and execute in Android device

android-vtk-skeleton's People

Contributors

spherik avatar tgurgui avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

yukeaaa

android-vtk-skeleton's Issues

Android Demo Crashed by 'glDrawBuffer'

When I build VTK8.1.2 and Run VolumeRender APK on My Android Phone Oneplus A6000 (Android 9.0)
It will crash

 --------- beginning of crash
2019-01-15 16:50:39.735 16404-16439/kitware.com.volumerender E/AndroidRuntime: FATAL EXCEPTION: GLThread 3658
    Process: kitware.com.volumerender, PID: 16404
    java.lang.UnsatisfiedLinkError: dlopen failed: cannot locate symbol "glDrawBuffer" referenced by "/data/app/kitware.com.volumerender-lhp_zoAPmbgFkLST-3uj1A==/lib/arm/libVolumeRender.so"...
        at java.lang.Runtime.loadLibrary0(Runtime.java:1016)
        at java.lang.System.loadLibrary(System.java:1669)
        at kitware.com.volumerender.VolumeRenderLib.<clinit>(VolumeRenderLib.java:41)
        at kitware.com.volumerender.VolumeRenderLib.init(Native Method)
        at kitware.com.volumerender.VolumeRenderView$Renderer.onSurfaceChanged(VolumeRenderView.java:160)
        at android.opengl.GLSurfaceView$GLThread.guardedRun(GLSurfaceView.java:1555)
        at android.opengl.GLSurfaceView$GLThread.run(GLSurfaceView.java:1270)

And kitware have not close this issue, https://gitlab.kitware.com/vtk/vtk/issues/16913

Have you encountered similar problems and how to solve them?
thank you very much

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.