GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Using zlib (How enable zlib in newest FairRoot)
Re: Using zlib [message #18399 is a reply to message #18398] Fri, 31 July 2015 10:16 Go to previous message
Daniel Wielanek is currently offline  Daniel Wielanek
Messages: 14
Registered: October 2012
Location: Warsaw
occasional visitor
From: *jinr.ru
Hi,
I found some workaround. It seems that this issue was caused by CINT, when I put include files by hand:
Set(SYSTEM_INCLUDE_DIRECTORIES
${ROOT_INCLUDE_DIR} ${INCLUDE_DIRECTORIES}
/usr/include/x86_64-linux-gnu/
)
I've got another errors:
Error: class,struct,union or type Z_U4 not defined  /usr/include/x86_64-linux-gnu//zconf.h:406:
#error "You need a ISO C conforming compiler to use the glibc headers"
Error: Missing one of ' .. and so one

So for know only possibility of using zlib is using #ifndef __CINT__ to "hide" zlib members.

[Updated on: Fri, 31 July 2015 10:46]

Report message to a moderator

 
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 Oct 13 02:46:07 CEST 2024

Total time taken to generate the page: 0.00719 seconds