mtmorgan / DirichletMultinomial

https://mtmorgan.github.io/DirichletMultinomial/
11 stars 7 forks source link

‘gsl_multimin_fdfminimizer_vector_bfgs2’ undeclared (first use in this function) #3

Closed danyama312 closed 2 years ago

danyama312 commented 2 years ago

Hi,

I am trying to install DirichletMultinomial on R 4.1.0, however I am getting the error message below:

dirichlet_fit_main.c:221:9: error: ‘gsl_multimin_fdfminimizer_vector_bfgs2’ undeclared (first use in this function); did you mean ‘gsl_multimin_fdfminimizer_vector_bfgs’? 221 | T = gsl_multimin_fdfminimizer_vector_bfgs2; | ^~~~~~~~~~ | gsl_multimin_fdfminimizer_vector_bfgs dirichlet_fit_main.c:221:9: note: each undeclared identifier is reported only once for each function it appears in make: *** [/usr/local/lib/R/etc/Makeconf:168: dirichlet_fit_main.o] Error 1

I have already installed GSL as per this stackoverflow thread.

Many thanks, Daniel

danyama312 commented 2 years ago

Hi again,

Just managed to solve the issue, seemed to have installed an old version of GSL accidentally. Please find my answer on this stackoverflow thread if helpful!

mtmorgan commented 2 years ago

Thanks for posting your issue / solution.