Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compilation #1

Open
pavolgaj opened this issue Dec 20, 2021 · 0 comments
Open

Compilation #1

pavolgaj opened this issue Dec 20, 2021 · 0 comments

Comments

@pavolgaj
Copy link

I tried to compile robospect under the latest Linux Mint. I got this error:
gsllm-multigauss.c: In function ‘lm_multigauss’:
gsllm-multigauss.c:180:25: error: ‘gsl_multifit_fdfsolver’ {aka ‘struct <anonymous>’} has no member named ‘J’
180 | gsl_multifit_covar(S->J,0.0,covar);
| ^~
# cc1 0.06 0.01

I think it's related with different version of libgsl. I have v2.5 in which used structure
typedef struct
{
const gsl_multifit_fdfsolver_type * type;
gsl_multifit_function_fdf * fdf ;
gsl_vector * x;
gsl_vector * f;
gsl_matrix * J;
gsl_vector * dx;
void *state;
}
gsl_multifit_fdfsolver;
changed to
typedef struct
{
const gsl_multifit_fsolver_type * type;
gsl_multifit_function * function ;
gsl_vector * x ;
gsl_vector * f ;
gsl_vector * dx ;
void *state;
}
gsl_multifit_fsolver;
It's without matrix J.

How to modify robospect file nlls-multigauss.c to work also with newer versions of libgsl?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant