help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] First compiling problem


From: Thomas Spuhler
Subject: Re: [Help-gsl] First compiling problem
Date: Thu, 3 Aug 2006 14:19:21 -0700
User-agent: KMail/1.8.2

On Thursday 03 August 2006 12:58 pm, John D Lamb wrote:
> Manu Hack wrote:
> > I ran an example using GSL.  I added the path after -I when I compiled
> > it.  I kept getting error.  The error message was: undefined reference
> > to 'gsl_pow_2.
> >
> > I could use those constants like M_LOG2E though.
> >
> > Am I missing anything?  Thanks!
>
> Probably the flags -lgsl -lgslcblas -lm
>
> You have to tell your compiler explicitly to link with the gsl library
> and a cblas /maths library.
I use a make file:
See attached and alter it according you setup

-- 
Best regards
Thomas Spuhler
VP Marketing
TUSONIX, Inc.

All Tusonix outgoing e-mail has been scanned for viruses

Attachment: makefile
Description: Text Data

Attachment: pgp6KQ2E4HZuT.pgp
Description: PGP signature


reply via email to

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