help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] installing gsl on Mac OS X


From: Daniel J Farrell
Subject: Re: [Help-gsl] installing gsl on Mac OS X
Date: Mon, 30 Jul 2007 17:40:23 +0100

Hi,

Fink install in /sw/include for header files and /sw/lib for libaries, think you might have to tell gcc there location. I can't exactly remember the syntax but try something like this:

gcc -o run main.cpp -I/sw/include -L/sw/lib/ -lgsl -lgslcblas

Hope that helps.

Dan.

On 30 Jul 2007, at 17:22, Ivan Liu wrote:

Hi,

I'm trying to install GSL on my Mac OS X. I used fink
with the command

fink install gsl

The installation seemed successful but I still couldn't use the library.
When I compiled the source file of my application it doesn't find the
header files of GSL. I used the command to compile

gcc -o run main.cpp -lgsl -lgslcblas

The first of the error messages is:
error: gsl/gsl_math.h: No such file or directory

I wonder if I missed any steps during the installation process.

thanks a lot.


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





reply via email to

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