help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] GSL-2.3 for Visual Studio


From: Fred Perras
Subject: Re: [Help-gsl] GSL-2.3 for Visual Studio
Date: Wed, 22 Feb 2017 15:51:42 -0600

I obtained the following response from the maker of the VS solutions linked
on the GSL website.  His clarified instructions worked.  Here they are, in
case others may have the same issue:


Hi Fred,

When you load the solution into Visual Studio, do you see the four
projects as shown in the attached screenshot?

If you do, you need to do the following steps to build GSL:

  1. select your configuration (see, for example, Release and X64
     in the upper right of the screenshot)
  2. right click on gslhdrs and select build
  2. right click on cblaslib and select build
  3 right click on gsllib and select build

You should now have cblas.lib and gsl.lib in the GSL\lib\ directory.
They will be in subdirectories depending on the configuration that you
choose.

DO get back to me if this doesn't work.  Also don't hesitate to ask if
you have any questions about any of this - I know it can be hard at
first but you will soon get used to it.

   best regards,

     Brian

On Wed, Feb 22, 2017 at 2:59 PM, Fred Perras <address@hidden> wrote:

> Thank you for the quick responses!  The NUGET option works really well and
> is super quick to implement!
>
> Meanwhile I had found a pre-compiled version 2.2.1 copy for mingw which
> worked well:  https://sourceforge.net/projects/gnu-scientific-
> library-windows/
>
> They should really advertise that NUGET option on the GSL website as a
> great way to install it on windows.  Installing GSL on windows has always
> been a huge pain.
>
> Fred
>
> On Wed, Feb 22, 2017 at 1:05 PM, aweatherguy <address@hidden> wrote:
>
>> Have you tried this one? It contains tools which create VS
>> project/solution files from scratch which can then be used to build the
>> entire library.
>>
>> https://github.com/aweatherguy/GSL-on-Windows
>>
>>
>>
>> On 2/22/2017 7:56 AM, Frederic Perras wrote:
>>
>>> Hi,
>>>
>>> I am trying to build the GSL libraries using visual studio.  I'm using
>>> the
>>> version provided on Github (https://github.com/BrianGladman/gsl/) which
>>> contains instructions and project files for visual studio.
>>> Unfortunately,
>>> however, whenever I build the project it only creates the cblas.lib or
>>> cblas.dll files (depending whether I try to build the static or dynamic
>>> libraries).  Does anybody know what might be wrong here and how to
>>> properly
>>> build both files for Windows?
>>>
>>> Thanks,
>>>
>>>
>>
>

Attachment: GSL.PNG
Description: PNG image


reply via email to

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