2009/10/12

HEASOFT & CFITSIO @_@

Orz...
已經有好幾次在更新 HEASOFT 後都忘了修改對應的 CFITSIO 版本...

以下是給自己的 note (以 Heasoft 6.7 為例):

  • cd /usr/lib
  • sudo ln -s /HEASOFT/heasoft-6.7/heacore/i386-apple-darwin9.7.0/lib/libcfitsio_3.181.dylib ./libcfitsio_3.181.dylib
  • sudo ln -s /HEASOFT/heasoft-6.7/ftools/i386-apple-darwin9.7.0/include/cfitsio.h ./cfitsio.h
  • sudo ln -s /HEASOFT/heasoft-6.7/heacore/i386-apple-darwin9.7.0/include/fitsio.h ./fitsio.h
  • gcc xxx.c -o xxx -lm -lcfitsio_3.181