[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Compilation of gsl
From: |
Sisyphus |
Subject: |
Re: [Help-gsl] Compilation of gsl |
Date: |
Thu, 5 May 2011 18:30:55 +1000 |
----- Original Message -----
From: "Andrew Larkin" <address@hidden>
To: <address@hidden>
Sent: Thursday, May 05, 2011 3:24 AM
Subject: [Help-gsl] Compilation of gsl
I'm trying to compile gsl on windows with mingw. There's a function or
macro
called MAT coming up as undefined in a couple of the programs in the poly
subdirectory. I can't find anywhere in the source where this might be
defined.
Can anyone help?
How are you building gsl ?
It builds fine for me using mingw in the msys shell - where I start with
'./configure'.
Example from balance.c:
col_norm = fabs (MAT (m, i + 1, i, nc));
This is defined in poly/zsolve.c:
/* C-style matrix elements */
#define MAT(m,i,j,n) ((m)[(i)*(n) + (j)])
(Must admit, it took me a while to find it :-)
Cheers,
Rob