[vtk-developers] disabling png

Mario Emmenlauer mario at emmenlauer.de
Sat Nov 19 13:28:06 EST 2016


What you say makes perfect sense! But actually I just realized that VTK
offers quite a bit more functionality than I use, and some of this comes
(for me) at the price of dll-hell (or the equivalent on Linux :-) ).

I guess what I'm really looking for would be VTK_DISABLE_IMAGE_READERS
for hdf5, netcdf, tiff, png, ogg, json and similar, leaving mostly the
rendering and interactors etc and their dependencies in place. I found
options to disable Tk, Java, Python. Are there options to further strip
down VTK, or tune it to specific use cases?

All the best,

    Mario




On 19.11.2016 18:40, Bill Lorensen wrote:
> Just be careful with these system libraries. Sne th9ird party packages
> change their api's, so we can really only guarantee results with those
> that we include with vtk.
> 
> 
> On Sat, Nov 19, 2016 at 12:31 PM, Mario Emmenlauer <mario at emmenlauer.de> wrote:
>>
>> Dear Utkarsh,
>>
>> oh my, thanks a lot, exactly what I need! Great! And there are a
>> bunch more VTK_USE_SYSTEM_XXX options that I did not find before,
>> great!
>>
>> Cheers,
>>
>>     Mario
>>
>>
>> On 19.11.2016 18:13, Utkarsh Ayachit wrote:
>>> You can tell VTK to use system PNG. Set VTK_USE_SYSTEM_PNG CMake variable to ON.
>>>
>>> Utkarsh
>>>
>>> On Sat, Nov 19, 2016 at 11:53 AM, Mario Emmenlauer <mario at emmenlauer.de> wrote:
>>>>
>>>> I've just tracked down an issue for quite a while and found that
>>>> VTK brings its own PNG library! This is causing my quite a head-
>>>> ache. I've googled and read the CMakeLists.txt, but could not find
>>>> how to disable it. Can you please help?
>>>>
>>>> How to disable VTK's internal libpng?
>>>>
>>>> Thanks for your help,
>>>>
>>>>     Mario
>>>> _______________________________________________
>>>> 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




More information about the vtk-developers mailing list