help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gsl] install GSL on windows/Visual Studio


From: Fred Perras
Subject: Re: [Help-gsl] install GSL on windows/Visual Studio
Date: Mon, 2 Jul 2012 10:07:08 -0400

If you don't absolutely need the newest version just use the installer for
the version 1.13, it's what I used.  It can be downloaded here:
http://ascend4.org/Binary_installer_for_GSL-1.13_on_MinGW

Fred

On Sun, Jul 1, 2012 at 10:12 PM, Hui Liang <address@hidden> wrote:

> Dear GSL,
>
> Currently, I want to use the GSL library with my Win7 computer with visual
> studio.
>
> I tried following steps, but it does not work. Could you help me with that
> by giving me more instruction in details?
> Thanks.
> (the error is:1>libgsl.a(specfunc_bessel.o) : error LNK2019: unresolved
> external symbol _hypot referenced in function
> _gsl_sf_bessel_Inu_scaled_asymp_unif_e
> 1>C:\Users\Eva\Documents\Visual Studio
> 2010\Projects\test0701\Debug\test0701.exe : fatal error LNK1120: 1
> unresolved externals)
>
> Best,
> Hui LIANG
>
> Financial Engineering and Applied Statistics Master student, U of Michigan
>
> 1. Within VisualStudio, go to File->New->Project, then "Visual C++
> Projects," then "Win32," then "Win32 Console Application." Enter a name and
> click "OK." On the next screen click "Finish."
>
> 2. In the "Solution Explorer," right click on the name of your project and
> go to "Properties."
>
> 3. Under Configuration Properties->Linker->General->Additional Library
> Directories, type in "C:\Program Files\GnuWin32\lib"
>
> 4. Under Configuration Properties->Linker->Input->Additional Dependencies,
> type in "libgslcblas.a libgsl.a"
>
> 5. Under Configuration Properties->C/C++->General->Additional Include
> Directories, type in "C:\Program Files\GnuWin32\include"
>
> 6. Under Configuration Properties->C/C++->Code Generation->Runtime
> Library,select "Multi-threaded DLL"
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]