seem to cause a runtime error regardless of parameters. is this a known bug? has anyone gotten the multidimensional minimization examples to work in windows?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have solved my problem in gsl_multiroot_fsolver_alloc. Just include libgsl.a instead of libgsl.lib in my project. I don't know why but it works. It is worth trying.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you very much!!!
It really works, thanks again.
I also use Dev-cpp, when I want to run the one-dimensional root finding sample c code, it crashed. I found it crashed just after the line
s = gsl_root_fsolver_alloc (T);
But I don't know what to do.
Now I also replaced the linker parameter "-lgsl -lgslcblas" by giving the file libgsl.a, it works.
You are right.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
both:
gsl_multimin_fdfminimizer_alloc
gsl_multimin_fminimizer_alloc
seem to cause a runtime error regardless of parameters. is this a known bug? has anyone gotten the multidimensional minimization examples to work in windows?
Thanks!
Same problem in gsl_multiroot_fsolver_alloc and gsl_multiroot_fsolver_alloc. A bug?
I have solved my problem in gsl_multiroot_fsolver_alloc. Just include libgsl.a instead of libgsl.lib in my project. I don't know why but it works. It is worth trying.
Thank you very much!!!
It really works, thanks again.
I also use Dev-cpp, when I want to run the one-dimensional root finding sample c code, it crashed. I found it crashed just after the line
s = gsl_root_fsolver_alloc (T);
But I don't know what to do.
Now I also replaced the linker parameter "-lgsl -lgslcblas" by giving the file libgsl.a, it works.
You are right.
the .lib files are for C
the .a files are for C++
How do I include a .a file in Vis C++ 6 instead of .lib
Rename it to .lib