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: John D Lamb
Subject: Re: [Help-gsl] First compiling problem
Date: Thu, 03 Aug 2006 20:58:56 +0100
User-agent: Thunderbird 1.5.0.4 (X11/20060527)

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.


-- 
JDL





reply via email to

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