[Top][All Lists]

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

[Help-gsl] Setup GSL to understand functions

From: Srimal Jayawardena
Subject: [Help-gsl] Setup GSL to understand functions
Date: Wed, 3 Mar 2010 18:12:05 +1100


Thanks for the lovely GPL library.

I've just installed GSL-1.13. (from the tgz file) on Ubuntu using the
standard ./configure, make, make install approach

The library works fine, but I need to be able to step through the code
and understand whats happening inside GSL routines.

I'm using Eclipse CDT as the IDE and when I step through code  for

it wont step in-to the GSL function gsl_sf_bessel_J0 (x).

I guess thats because I'm using GSL as a shared library.

I tried copying over my gsl directory (after running the make file)
into my code directory where I run the example and used

#include "gsl/specfunc/gsl_sf_bessel.h" instead

instead of

#include <gsl/gsl_sf_bessel.h>

but that complains of

./src/gsl/wavelet/bspline.c:33:20: warning: config.h: No such file or directory

and I realised that the include directives inside bspline.c also have
#include <config.h> and not the local 'config.h'. I guess thats how
all the includes are so its not practical to change all of the
includes from <> to ''.

I'm new to coding with libraries so I might have done something quite silly.

I'm not sure if this is the right approach, but how can I incorporate
the sourcecode of GSL into my program without using it as a shared,
static library? For example how do the developers use it?

What I really need is a way to have the source code incorporated into
my program so that I can step through the lines of GSL routines when I
debug my program, and possibly tweak some of the functions as needed.

Please advice.

Many thanks in advance


Srimal Jayawardena
BSc (Engineering), BIT, MIET
PhD Student, Australian National University.

Phone(Mobile): +61 422 684 854
Phone(Office) : +61 2 6125 1771
Phone(Home) : +61 2 6125 1413
Fax                 : +61 2 6125 8651

ANU Contact Info :

reply via email to

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