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: *jinr.ru
Hello,
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/basics/cmake-3.1.0/Utilities/cmzlib/zconf.h
/opt/fair_install/FairSoft/tools/root/build_for_fair/graf2d/asimage/libA fterImage/zlib/zconf.h
/opt/fair_install/FairSoft/tools/root/core/zip/inc/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
/opt/fair_install/FairSoftInst/include/Geant4/zconf.h
/usr/src/linux-headers-3.13.0-24/include/linux/zconf.h
/usr/src/linux-headers-3.13.0-24-generic/include/linux/zconf.h
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: Thu Oct 03 13:02:47 CEST 2024

Total time taken to generate the page: 0.00741 seconds