[vtk-developers] zlib 1.2.5 to 1.2.8 update, help needed

Sean McBride sean at rogue-research.com
Tue Mar 11 12:18:37 EDT 2014


On Tue, 11 Mar 2014 12:03:16 -0400, Jean-Christophe Fillion-Robin said:

>Few years ago, we extracted the zlib from VTK to create a standalone
>CMake'ified version that provide an option to choose your mangling
>prefix... see https://github.com/commontk/zlib
>
>This fork could be considered as a staging area before someone integrate
>the contribution upstream.
>
>Could you consider updating the CTK fork ? And then integrating into VTK ?

Interesting.  I'll take a look.

zlib itself has CMake support since 1.2.3.5, according to its history:

Changes in 1.2.3.5 (8 Jan 2010)
- Add CMake build script and input file [Lowman]

Was that contributed by you guys?

It also has this interesting comment:

 * If you *really* need a unique prefix for all types and library functions,
 * compile with -DZ_PREFIX. The "standard" zlib should be compiled without it.
 * Even better than compiling with -DZ_PREFIX would be to use configure to set
 * this permanently in zconf.h using "./configure --zprefix".
 */
#ifdef Z_PREFIX     /* may be set to #if 1 by ./configure */

This facility could perhaps replace the custom VTK mangling... (?)  But I haven't looked at it.

Cheers,

-- 
____________________________________________________________
Sean McBride, B. Eng                 sean at rogue-research.com
Rogue Research                        www.rogue-research.com 
Mac Software Developer              Montréal, Québec, Canada





More information about the vtk-developers mailing list