help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Undefined reference with Cygwin GSL


From: AJ Bostian
Subject: Re: [Help-gsl] Undefined reference with Cygwin GSL
Date: Mon, 22 Mar 2004 08:26:54 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113

Yes, that did it! I get a lot of info messages now about linking the _gsl functions to their __imp__gsl couterparts, and everything compiles fine.

Thanks again,
AJ Bostian



M Atakan Gurkan wrote:
On Sat, Mar 20, 2004 at 03:37:44PM -0500, AJ Bostian wrote:

I compile using gcc-3.3.1 with the command
g++ -Wall -lgsl -lgslcblas -lm myProgram.cc

This is a long shot, but I remember having problems with other compilers
when the linker flags were not the last thing on the command line.
Did you also try
g++ -Wall myProgram.cc -lgsl -lgslcblas -lm
?

good luck,

ato





reply via email to

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