If you are trying for the command prompt … just don’t (it would not give you access to the function its defines anyway … unless I am mistaken on the ‘zlib.h’ you are refering to.
If you are trying from rootcint, modify your command from
I may be in the wrong forum. I was trying to include zlib.h from root, not rootcint. I have had no problems including other files such as iostream.h and iomanip.h. The error is occurring at the following lines:
define ZEXTERN extern
This is from the zconf.h file that was included with root.
I have a code from someone else called dump_data.cc that converts the raw data into ascii. The problem is that the data files are over 100 MB each in ascii, so I am trying to histogram the data without making the ascii files.
Within the dump_data.cc file, there is a command,
which reads in a block of data from the raw data file and stores the value in x. If I could find another function to replace gzread, then I would not have to include zlib.h.