----- Original Message ----- From: "Andrew Larkin" <aj_lar...@yahoo.com>
To: <help-gsl@gnu.org>
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

_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
https://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to