[vtk-developers] new tree : png lib

Sebastien BARRE sebastien at barre.nom.fr
Tue Jul 17 09:41:31 EDT 2001


Hi

Just noticed the PNG classes in the new tree. Very good.

Nevertheless, Cmake requests only :

//What is the path where the file png.h can be found
PNG_INCLUDE_PATH:PATH=S:/src/vtk/vtknew/IO/PNG

//Where can the libpng library be found
PNG_LIBRARY:FILEPATH=S:/src/vtk/vtknew/IO/PNG/libpng.lib

//What is the path where the file zlib.h can be found
ZLIB_INCLUDE_PATH:PATH=S:/src/vtk/vtknew/IO/PNG

What can I do to use my own libpng build ? You rely on a libpng.lib that 
includes zlib, but it's not the case most of the time (at least on my 
computer :)), both are built separately. Thus I guess some users won't be 
able to the PNG_LIBRARY, because Cmake will complain about the lack of the 
zlib objs, am I right ? 





More information about the vtk-developers mailing list