[vtk-developers] Adding vtkWidgets to android project

Tim Thirion tim.thirion at kitware.com
Tue Jan 5 11:51:45 EST 2016


Hey Lonni,

Happy New Year!

In <VTK source>/CMake there is vtkAndroid.cmake. This file controls the
overall config for building VTK for Android. Starting around line 100 (I'm
looking at today's VTK master) you'll see a bunch of CMake flags set via a
macro. These include the enabled modules as well.

Like the line "-DModule_vtkInteractionStyle:BOOL=ON" you can add
"-DModule_vtkInteractionWidgets:BOOL=ON" right below that to enable it.

The high-level CMake config that you run only really sets things like the
Android API level, NDK, etc. If you want to add/remove modules you need to
edit vtkAndroid.cmake. Make sense? (Not pretty, I know but it works for
now.)

TT

On Tue, Dec 22, 2015 at 3:16 PM, Lonni Besançon <lonni.besancon at gmail.com>
wrote:

> Alright thanks a lot Tim.
>
> Wishing you some rest during these holidays anyway :)
>
>
> *Best / Cordialement,*
>
>
> *Lonni Besançon*
> *PhD Student with the *AVIZ <http://www.aviz.fr>* team at Inria and with
> the *HAPCO <http://hapco.limsi.fr>
> * team at Limsi/CNRS*
> *Teaching Assistant at Polytech Paris Sud and Université Paris Sud*
> *Address: University Paris-Saclay, Bat 660 (Digiteo) — Office 1041*
>
> *Email: [hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5735638&i=0>*
>
> *Phone: <a href="tel:%2B33689902815" value="+33689902815 <%2B33689902815>"
> target="_blank" style="color: rgb(17, 85, 204);" class="">+33689902815
> <%2B33689902815>*
> WebPage: http://lonni.besancon.pagesperso-orange.fr
> *LinkedIn: *fr.linkedin.com/pub/lonni-besançon/77/552/a38/en
> <http://fr.linkedin.com/pub/lonni-besan%C3%A7on/77/552/a38/en>
>
>
>
>
>
>
>
> On 22 Dec 2015, at 20:43, Tim Thirion [via VTK] <[hidden email]
> <http:///user/SendEmail.jtp?type=node&node=5735638&i=1>> wrote:
>
> Hey Lonni,
>
> I'm hoping to investigate this in the coming week once things quiet down
> for the holidays. Will let you know what I find.
>
> TT
>
> On Tue, Dec 22, 2015 at 2:34 PM, Lonni Besançon <<a
> href="x-msg://4/user/SendEmail.jtp?type=node&node=5735637&i=0"
> target="_top" rel="nofollow" link="external" class="">[hidden email]>
> wrote:
>
>> Still stuck there, any info?
>>
>>
>>
>> --
>> View this message in context:
>> http://vtk.1045678.n5.nabble.com/Adding-vtkWidgets-to-android-project-tp5735527p5735636.html
>> Sent from the VTK - Dev mailing list archive at Nabble.com
>> <http://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
>>
>>
>
> _______________________________________________
> 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
>
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://vtk.1045678.n5.nabble.com/Adding-vtkWidgets-to-android-project-tp5735527p5735637.html
> To unsubscribe from Adding vtkWidgets to android project, click here.
> NAML
> <http://vtk.1045678.n5.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
>
>
> ------------------------------
> View this message in context: Re: Adding vtkWidgets to android project
> <http://vtk.1045678.n5.nabble.com/Adding-vtkWidgets-to-android-project-tp5735527p5735638.html>
>
> Sent from the VTK - Dev mailing list archive
> <http://vtk.1045678.n5.nabble.com/VTK-Dev-f1251487.html> 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
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtk-developers/attachments/20160105/fe94d74a/attachment.html>


More information about the vtk-developers mailing list