Hi!
I'm tring to test GSL ode solver using the code example at page 262 of gsl-ref.pdf.
Compilation and linking works well with VC 7.0.
At run time I have got an unhandled exception.
Using debugger I have seen that the line
const gsl_odeiv_step_type* T = gsl_odeiv_step_rk8db;
returns a pointer to a non initialized structure!
The same for the other stepping algorithms.
I've tested the same code under Linux and it works well...
What can I do??
Bye!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My guess is that you're using the gsl dll on Windows? If so, you need to compile with macro GSL_DLL defined. Otherwise, none of the public symbols are imported.
If this doesn't fix your problem, please continue the conversation.
Thanks,
Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
I'm tring to test GSL ode solver using the code example at page 262 of gsl-ref.pdf.
Compilation and linking works well with VC 7.0.
At run time I have got an unhandled exception.
Using debugger I have seen that the line
const gsl_odeiv_step_type* T = gsl_odeiv_step_rk8db;
returns a pointer to a non initialized structure!
The same for the other stepping algorithms.
I've tested the same code under Linux and it works well...
What can I do??
Bye!
Alessio;
My guess is that you're using the gsl dll on Windows? If so, you need to compile with macro GSL_DLL defined. Otherwise, none of the public symbols are imported.
If this doesn't fix your problem, please continue the conversation.
Thanks,
Jerry
Also, with VC you need to make sure that WIN32 is defined when you compile.