GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Using zlib (How enable zlib in newest FairRoot)
Using zlib [message #18395] Fri, 31 July 2015 09:09 Go to previous message
Daniel Wielanek is currently offline  Daniel Wielanek
Messages: 14
Registered: October 2012
Location: Warsaw
occasional visitor
From: *
I'm trying to use zlib.h in my project (with base on FairRoot 15.07). However I have problem with including this header. When I start to build my project I've got error:
Error: cannot open file "zconf.h" /usr/include/zlib.h:35:
zconf.h is present in :
/opt/fair_install/FairSoft/tools/root/build_for_fair/graf2d/asimage/libA fterImage/zlib/zconf.h
/opt/fair_install/FairSoft/tools/root/graf2d/asimage/src/libAfterImage/z lib/zconf.h
/opt/fair_install/FairSoft/transport/geant4.10.01/build/source/externals /zlib/zconf.h
/opt/fair_install/FairSoft/transport/geant4.10.01/source/externals/zlib/ src/zconf.h.cmakein
If I add Geant4 headers then I get error:
Error: class,struct,union or type Z_U4 not defined /opt/fair_install/FairSoftInst/include/Geant4/zconf.h:411:
Error: cannot open file "sys/types.h" /opt/fair_install/FairSoftInst/include/Geant4/zconf.h:427:
Does anybody know with path and how I should add do CMakeLists.txt?

Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: make errors on the latest update
Next Topic: Problem in installing FairRoot version v-15.11
Goto Forum:

Current Time: Sun Jul 21 19:13:16 CEST 2024

Total time taken to generate the page: 0.00734 seconds