[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Help-gsl] subscribe
From: |
dgolez |
Subject: |
[Help-gsl] subscribe |
Date: |
Mon, 04 Feb 2008 18:37:52 +0100 |
Hi!
I've got problems using GSL library in CDT. If I try to compile
this program
undefined reference error occurs.
#include<stdio.h>
#include<gsl/gsl_sf_bessel.h>
int main (void)
{
double x = 5.0;
double y = gsl_sf_bessel_J0(x);
printf("J0(%g) = %.18e\n", x, y);
return 0;
}
There is undefined reference error. But I can compile this
without a
problem:
#include<stdio.h>
#include<gsl/gsl_math.h>
int main (void)
{
printf("%f\n", M_E);
return 0;
}
Can anyone help me??
Thanks
- [Help-gsl] subscribe,
dgolez <=