casacore / casarest

The remainder of the AIPS++ libraries that did not end up on casacore
GNU General Public License v3.0
4 stars 12 forks source link

Build casarest against latest casacore (64bit + regex) #36

Closed aroffringa closed 3 years ago

aroffringa commented 4 years ago

This branch should be backward compatible. I've tested it with casacore 3.2 and that works.

gijzelaerr commented 3 years ago

i'm experiencing a compilation issue with casacore 3.4.0 on ubuntu 21.10:

gijs@gijs-artica:~/Work/astro/casarest/build (aroffringa-latest-casacore) 
λ  make  
[  0%] Building CXX object components/CMakeFiles/casa_components.dir/SpectralComponents/GaussianMultipletSpectralElement.cc.o
/home/gijs/Work/astro/casarest/components/SpectralComponents/GaussianMultipletSpectralElement.cc:29:10: fatal error: casacore/casa/Arrays/ArrayIO.h: No such file or directory
   29 | #include <casacore/casa/Arrays/ArrayIO.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [components/CMakeFiles/casa_components.dir/build.make:95: components/CMakeFiles/casa_components.dir/SpectralComponents/GaussianMultipletSpectralElement.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1051: components/CMakeFiles/casa_components.dir/all] Error 2
make: *** [Makefile:160: all] Error 2
gijzelaerr commented 3 years ago

https://github.com/casacore/casarest/pull/42 compiles without issues on 3.4.0, what do you think?

aroffringa commented 3 years ago

They should be merged both; this one probably first.