|
From: | David Pleydell |
Subject: | Re: [Help-gsl] Compilation error for BLAS example |
Date: | Tue, 11 Mar 2008 10:35:32 +0000 (GMT) |
Many thanks for the pointer Ralph. I'm now ready to try something more serious. Actually the following was enough on my system (where gsl was installed from a Debian repository using apt). gcc blasExample.c -lgsl -lgslcblas cheers Dave --- Ralph Silva <address@hidden> wrote: > Try this one > > $ gcc -Wall -I/usr/include blasExample.c -lgsl > -lgslcblas -lm > $ ./a.out > > Since you are using BLAS you need to use the > respective library. > > See > http://www.gnu.org/software/gsl/manual/html_node/Linking-programs-with-the-library.html > > or for an alternative BLAS library > > http://www.gnu.org/software/gsl/manual/html_node/Linking-with-an-alternative-BLAS-library.html > > I hope that helps you. > > Ralph. ___________________________________________________________ Rise to the challenge for Sport Relief with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/
[Prev in Thread] | Current Thread | [Next in Thread] |