[vtkusers] VTK/Java - Disable NativeLibrary loading inside vtkPanel/vtkCanvas

Gerrick Bivins Gerrick.Bivins at halliburton.com
Mon Sep 15 09:06:41 EDT 2014


+1
Same here. That call doesn’t work very well in an OSGi or NBP environment so
the natives have to be loaded manually.
Gerrick

From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Sebastien Jourdain
Sent: Sunday, September 14, 2014 9:48 PM
To: Marco Sambin
Cc: vtkusers
Subject: Re: [vtkusers] VTK/Java - Disable NativeLibrary loading inside vtkPanel/vtkCanvas

Thanks Marco!


On Sat, Sep 13, 2014 at 12:31 AM, Marco Sambin <m.sambin at gmail.com<mailto:m.sambin at gmail.com>> wrote:

Hi Seb,

No problem for me, I load all required VTK libraries "manually" at startup of my VTK-based JWS application.
So, green light from my side.

Thanks for asking users feedback before proceeding.

Regards,

Marco
Il 13/set/2014 00:09 "Sebastien Jourdain" <sebastien.jourdain at kitware.com<mailto:sebastien.jourdain at kitware.com>> ha scritto:
Hi all,

I've just made a topic on VTK to remove the automatic loading of the native library that use to exist inside vtkPanel and vtkCanvas. (Which could induce quite some issue in modular large application)

But before merging it to VTK/master, I wanted your opinion specially since it may change some behavior on your end. Specially if you were relying on vtkPanel or vtkCanvas to load the VTK native library for you.

Instead, you will have to do it in your main by calling something like

  static {
      vtkNativeLibrary.LoadAllNativeLibraries();
   }

The topic can be found here:
=> http://review.source.kitware.com/#/t/4660/

I'm targeting to merge the topic by the end of next week. So please speak up if you have something to say... ;-)

Happy VTK/Java !

Seb

_______________________________________________
Powered by www.kitware.com<http://www.kitware.com>

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

Please keep messages on-topic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTK_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/vtkusers


----------------------------------------------------------------------
This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient.  Any review, use, distribution, or disclosure by others is strictly prohibited.  If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140915/79fa3380/attachment.html>


More information about the vtkusers mailing list