[vtkusers] How to remove vtk's dependencies on libX11 and libGL?

Chuck Atkins chuck.atkins at kitware.com
Mon Dec 7 10:01:14 EST 2015


Hi Mark,

This is common configuration we use to deploy on HPC clusters.  Typically
we will configure VTK with -DVTK_USE_X=OFF and -DVTK_USE_OSMESA=ON.  You
can build your own static libOSMesa.a to link against so you can still get
rendering (albeit slower CPU based rendering) without any X11 dependencies
or shared libraries.

- Chuck

On Mon, Dec 7, 2015 at 9:38 AM, Ken Martin <ken.martin at kitware.com> wrote:

> On VTK master you can select the "None" backend for rendering. I'm not
> sure if that gets rid of all the X11/OpenGL references though.  That would
> be my first suggestion to try if you have not already.
>
> Thanks
> Ken
>
> On Fri, Dec 4, 2015 at 6:21 PM, Mark Hammons <
> mark.hammons at inaf.cnrs-gif.fr> wrote:
>
>> Is there any way to rip these dependencies out? The application I'm
>> supporting is headless and the hardware has no 3d graphics support period,
>> and I'd like to statically compile the binary against vtk and ITK except
>> the x11 and GL dependencies are giving me trouble.
>>
>>
>> ------------------------------
>>
>> Mark Hammons - +33 06 03 69 56 56
>>
>> Research Engineer @ BioEmergences <http://bioemergences.iscpif.fr>
>>
>> Lab Phone: 01 69 82 34 19
>>
>> _______________________________________________
>> Powered by 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
>>
>> Search the list archives at: http://markmail.org/search/?q=vtkusers
>>
>> Follow this link to subscribe/unsubscribe:
>> http://public.kitware.com/mailman/listinfo/vtkusers
>>
>>
>
>
> --
> Ken Martin PhD
> Chairman & CFO
> Kitware Inc.
> 28 Corporate Drive
> Clifton Park NY 12065
> 518 371 3971
>
> This communication, including all attachments, contains confidential and
> legally privileged information, and it is intended only for the use of the
> addressee.  Access to this email by anyone else is unauthorized. If you are
> not the intended recipient, any disclosure, copying, distribution or any
> action taken in reliance on it is prohibited and may be unlawful. If you
> received this communication in error please notify us immediately and
> destroy the original message.  Thank you.
>
> _______________________________________________
> Powered by 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
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151207/19e2d225/attachment.html>


More information about the vtkusers mailing list