Hi,
I installed the latest release of ROOT (6.10.08). I no longer see the FITS file interface: FITS.h and the associated library FITSIO. Is it not available in a standard installation?
Thank you
Hi,
I installed the latest release of ROOT (6.10.08). I no longer see the FITS file interface: FITS.h and the associated library FITSIO. Is it not available in a standard installation?
Thank you
I can see it if $ROOTSYS/graf2d/fitsio/
and the tutorials are here too:
https://root.cern/doc/master/group__tutorial__FITS.html
The include is called TFITS.h
it seems to be in: $ROOTSYS/graf2d/fitsio/inc
My installation must be incomplete:
root $ROOTSYS/tutorials/fitsio/FITS_tutorial1.C
root [0]
Processing /home/adrian/Soft/root-6.10.08/tutorials/fitsio/FITS_tutorial1.C...
In file included from input_line_9:1:
/home/adrian/Soft/root-6.10.08/tutorials/fitsio/FITS_tutorial1.C:26:4: error: unknown type name 'TFITSHDU'
TFITSHDU *hdu = new TFITSHDU(dir+"/sample1.fits");
^
/home/adrian/Soft/root-6.10.08/tutorials/fitsio/FITS_tutorial1.C:26:24: error: unknown type name 'TFITSHDU'
TFITSHDU *hdu = new TFITSHDU(dir+"/sample1.fits");
What am I missing?
Ah… I understand. I add to install the libcfitsio-dev package first.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.