sousasag / ARES

ARES - Automatic Routine for line Equivalent widths in stellar Spectra

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compile error: 'gsl_multifit_fdfsolver' has no member named 'J'

pmaxted opened this issue · comments

In file included from ARES_v2.c:47:
areslib.h: In function 'fitngauss':
areslib.h:589:24: error: 'gsl_multifit_fdfsolver' has no member named 'J'
  589 |   gsl_multifit_covar (s->J, 0.0, covar);
      |                        ^~

Hi,
Please check if this point on the FAQ solves this problem:

-- FAQ --
Problems with GSL 2.0 of GSL 1.0 versions.
If you find a problem with compilation with the error mentioning: In file included from ARES_v2.c:47: areslib.h: In function : areslib.h:589: error: <gsl_multifit_fdfsolver> has no member named The solution is to replace the file areslib.h by the one named areslib_gsl2.h: https://github.com/sousasag/ARES/blob/master/areslib_gsl2.h

or if you have GSL 1.3 you can replace areslib.h by areslib_gsl1.h https://github.com/sousasag/ARES/blob/master/areslib_gsl1.h