Hi, Brian Gough I only have a problem linking c program(gcc compiler) to gsl-1.8 (gnu science library). After I installed the gsl, it is in the folder (C:\program file\GnuWin32). Now, I am running the following C program: /* example.c */ #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; }
I tested it by the following compilation command : $ gcc -Wall -I"C:\program files\gnuwin32\include" -c example.c (I saw the file : example.o) Next, $ gcc -L"C:\program files\gnuwin32\lib" example.o -lgsl -lgslcblas -lm (I saw the file: a.exe ) $ a.exe and I saw a error:"The program can’t start because libgsl.dill is missing from your computer. Try reinstalling the program to fix this problem." I reinstalled the gsl-1.8 but the program have a error (libgsl.dill). I hope you can help me solve my problem. Thank, Brian. Nguyen Ngoc Anh, a university student, Vietnam. On Tue, Jun 14, 2011 at 5:30 AM, Brian Gough <b...@gnu.org> wrote: > At Thu, 9 Jun 2011 18:19:53 +0900, > Nils Sabelström wrote: > > Hello, I'm trying to use the debye function in GSL to calculate the > > theoretical coefficient of thermal expansion for graphite. > > Is it defined correctly within the span x = 0.5 to 2300? > > I believe it is correct yes, if you find a specific value that gives > an incorrect result please report it to bug-...@gnu.org. Note that > the definition of what the functon computes is given in the manual. > > _______________________________________________ > Help-gsl mailing list > Help-gsl@gnu.org > https://lists.gnu.org/mailman/listinfo/help-gsl > -- _______________________________________________ Help-gsl mailing list Help-gsl@gnu.org https://lists.gnu.org/mailman/listinfo/help-gsl