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: Brian Gladman
Subject: Re: [Help-gsl] install GSL on windows/Visual Studio
Date: Fri, 28 Jun 2013 20:45:41 +0100
User-agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:17.0) Gecko/20130620 Thunderbird/17.0.7

> Hi Brian,
>
> I want to use GSL within VS2010 too.
>
> I downloaded your build files and gsl-1.15.tar.gz from
> ftp://ftp.gnu.org/gnu/gsl/
>
> Further I have VS2010 Professional Version.
>
> I followed all steps, described in your readme,
>
> but I am not able to build the gsl library.
>
> I have some compiling Errors, when compiling the gsl.lib:

> 2>..\..\ode-initval2\rk4imp.c(252): error C2097
> 2>..\..\ode-initval2\rk4imp.c(252): error C2097

These two errors occur on this line:

const double c[] = { (3.0 - M_SQRT3) / 6.0, (3.0 + M_SQRT3) / 6.0 };

because a definition of M_SQRT3 cannot be found.  If the complier
include files don't provide this, it is picked up from gsl_math.h so you
should check whether this file has been included in rk4imp.c.

If not, add the line:

#include <gsl/gsl_math.h>

to rk4imp.c.

> 4>  bspline.c
> 4>..\..\bspline\bspline.c(221): error C2143: Syntaxfehler:
> Es fehlt ';' vor 'Typ'
> 4>..\..\bspline\bspline.c(222): error C2275: 'size_t':

> 4>..\..\bspline\bspline.c(222): error C2146:
> Syntaxfehler: Fehlendes ';' vor Bezeichner 'km1'

These line numbers don't seem to be the same as those in the version of
bspline.c that I have.  If you can display the lines on which these
errors occur, I may be able to advise you on what could be going wrong.

   best regards,

     Brian Gladman





SORRY...Compiler Outputs are in German!

do you have an idea, what could be wrong? The first error seems to be a
Problem with sqrt



Thanks

Richard



reply via email to

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