Saturday, October 30, 2010

Resolving the error caused by GNU Scientific Library in Windows

When I tried some function in Gnu Scientific Library, I experienced an error message like this:

It happens to be many people are having the same problem with me when working in Windows version of GSL. So, it's not difficult for me to find a way to resolve this problem. The answer is very simple, just add these two lines into your code:

#define WIN32
#define GSL_DLL

And you can run your GSL based software smoothly. It works for me, hope it will work for you too.

Good luck!

Labels: ,


Post a Comment

<< Home