help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] troubles in linking gsl from c++


From: Joakim Hove
Subject: Re: [Help-gsl] troubles in linking gsl from c++
Date: Wed, 01 Sep 2004 15:05:58 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

address@hidden writes:

> Hi there,
>
> I'm not able to link gsl from c++, here is my system:

I have tried on RedHat 9.0 / gcc 3.2.2


>
>       g++ -c gsl-helloworld.cpp
>                 no problem: I get gsl-helloworld.o
>
>       gcc gsl-helloworld.o -lgsl -lgslcblas -lm

Well you compile with g++ and link with gcc. I tried linking as well
with g++ and then it worked fine for me.

HTH - Joakim








reply via email to

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