Menu

GSL 1.6 crashes

Help
2006-04-07
2012-07-26
  • Alessio Aboudan

    Alessio Aboudan - 2006-04-07

    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!

     
    • Jerry S.

      Jerry S. - 2006-04-07

      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

       
    • Jerry S.

      Jerry S. - 2006-04-13

      Also, with VC you need to make sure that WIN32 is defined when you compile.

       
MongoDB Logo MongoDB