help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] help with the rng function


From: Brian Gough
Subject: Re: [Help-gsl] help with the rng function
Date: Tue, 21 Nov 2006 20:15:57 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.6) Gecko/20060815 SeaMonkey/1.0.4

Jia Zou wrote:
I've installed the gsl and I've been trying to make it compile with some C
sode. In the code, I currently have:
#include <gsl/gsl_rng.h>
#include <gsl/gsl_randist.h>

I've installed the gsl according to instruction.

I've tried to compile the code with:
g++ -lgsl -LLIBDIRc:/Programs/cygwin/usr/local/lib
-Ic:/Programs/cygwin/usr/local/include c:/Downloads/simulate3node.cpp

Hello,
The -lgsl needs to go at the end of the command line.
See http://www.network-theory.co.uk/docs/gccintro/gccintro_18.html

--
Brian Gough
(GSL Maintainer)

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




reply via email to

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