Opened 14 years ago

Last modified 13 years ago

#44 new task

Configure and building zlib

Reported by: /C=FR/O=CNRS/OU=UMR8607/CN=Laurent Garnier/emailAddress=garnier@… Owned by:
Priority: minor Milestone: Geant4.9.5
Component: Config Version:
Keywords: Cc:

Description

See thread "zlib issue" in mail

We are all going in the same way, that's only the Configure message which is not the good one :-)
Or no message at al...

I try to resume.

Le 3 déc. 2009 à 14:39, Gabriele Cosmo a écrit :


Hi Laurent,

ZLIB is required by either GL or Inventor drivers.

Since we took G4LIB_USE_ZLIB out of gl2ps code, ZLIB *must* be build where gl2ps is used :
OpenGL and OpenInventor.


--------------
On Dec 3, 2009, at 2:03 PM, Ben Morgan wrote:

Hi Laurent, all,

1 : Why "builtin zlib to support WIN32" ? I don't see any ZLIB in Win32 vis driver

Gabriele asked me to make that change on the information that -

I'm OK with building zlib all the time (as John said), that's only the message which is not the good one for me. 
The only reason to build and use zlib in OpenGl folder is gl2ps, then it should be build for *OpenGL*
and not only *WIN32*.


2 : Ok for HepRep visualization we *must* have zlib. But there is the case of gl2ps.
This is the John's answer about that (he's now away)
What do you think about "if there was no question at all about zlib in Configure." ?


An automatic check can be done on *NIX, on WIN32 that'll depend on whether using Cygwin's zlib in a VC build is o.k.(?). In either case it's probably not too difficult a check to implement.

It would seem though that if we're supplying zlib ourselves the default should always be to use our 'version'? I've seen a couple of other toolkits (FLTK, ITK, VTK) that supply their own libraries for, e.g. zlib, png, and the default there always seems to be 'use internal version but ask user'. What do people think?

I don't know more about this.


Again, I think this brings home the point that following this release we need to sit down and get a better picture of the dependencies in the UI and Vis modules. This is *critical* for robustifying the current Configure and for the development of the new build system.

Yes, I'm agree with you.

Cheers,

Laurent

Change History (1)

comment:1 Changed 13 years ago by /C=FR/O=CNRS/OU=UMR8607/CN=Laurent Garnier/emailAddress=garnier@…

Milestone: Geant4.9.3Geant4.9.5
Note: See TracTickets for help on using tickets.