[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gsl] Error message during compile - Versions 1.8 & 1.7
From: |
Brian Gough |
Subject: |
Re: [Help-gsl] Error message during compile - Versions 1.8 & 1.7 |
Date: |
Tue, 18 Jul 2006 17:28:49 +0100 |
User-agent: |
Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) |
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/