Creating a GSL (GNU Scientific Library) on Windows for use with VS2005

I am trying to get GSL to work in a Windows environment for my team and I have a lot of problems.

My team is developing in C ++ in VS2005, and we would like to use GSL. I downloaded GSL-1.15 tar.gz and unzipped it, but I'm not quite sure what to do next - I believe that only two compilers will build it correctly.

The GNU website says that a compiled version of GSL is available as part of Cygwin for windows, so I installed Cygwin, but again, I'm not quite sure what to do next.

Ideally, what I'm trying to get is a folder on my C: \ with a bunch of dll / libs that I can reference in VS2005 to use GSL functions. I know the GSL ports for VS (http://gladman.plushost.co.uk/oldsite/computing/gnu_scientific_library.php), but we cannot rely on them since I will depend on the publisher issuing the port every time it is released new version of GSL.

Has anyone successfully gone through this process of building a GSL and getting it to work with C ++ in VS2005? I did some google searches and did not find anything that I understand.

Thanks.

+7
source share
1 answer

With cygwin

Install one or more GSL packages

gsl gsl-apps gsl-devel gsl-doc 

With MinGW

I personally created GSL with MinGW using this spell

 wget ftp.gnu.org/gnu/gsl/gsl-1.15.tar.gz tar xf gsl* cd gsl* ./configure # Warning, make takes about 7 min. make make install 

ref

+4
source

All Articles