At Tue, 18 Jul 2006 09:59:04 +0100,
Martin Stennett wrote:
> I then tried to compile a C++ program which makes use of the evolving 
> solver in almost exactly the same way as is done in the example in the 
> manual. I used the command 'g++ -L/home/P05/stennetm/gsl/lib -lgsl 
> -lgslcblas -lm  -I/home/P05/stennetm/gsl/include three.cc' and got the 
> following errors:
> 
> /tmp/ccngDDtB.o(.text+0x11e): In function `main':
> : undefined reference to `gsl_odeiv_step_rk8pd'

A couple of things to try:
http://www.network-theory.co.uk/docs/gccintro/gccintro_18.html
http://www.network-theory.co.uk/docs/gccintro/gccintro_90.html

The header files are wrapped in extern "C" automatically so that's covered.

-- 
Brian Gough

Network Theory Ltd,
Publishing the GSL Manual - http://www.network-theory.co.uk/gsl/manual/



_______________________________________________
Help-gsl mailing list
Help-gsl@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to