Menu

Linking problem with GnuWin32

Help
2005-07-31
2012-07-26
  • Nobody/Anonymous

    The relevant bit of code i use is:
    ..

    include <gsl/gsl_sf_bessel.h>

    ..
    cout << gsl_sf_bessel_J0 (g) << endl;
    ..
    This compiles alright but when I run the program, I get the windows-error 'Application can not be started, because libgsl.dll can not be found'.
    I have done the .exe install of GnuWin32 and the libgsl.dll is in the /bin/ directory alright. I have tried various things but I don't seem to be able to solve it. I'm not very familiar with dynamic linking.. could anyone help me out? Thanks already.

     
    • Nobody/Anonymous

      add the libgsl.dll and libgslcblas.dll to where your project executable exist. then build project again and run it, it will function perfectly. if you need any more helps pls communicate with me via, para@tzi.de
      regards
      parakrama

       
    • hill2005

      hill2005 - 2005-09-10

      I have encounted the same problem. Although it can be solved as parakrama indicated, I still don't known why dll file is needed because I have include libgsl.lib files already.

       
MongoDB Logo MongoDB