[Gmsh] configure does not find GSL
MGlocken at aol.com
MGlocken at aol.com
Wed Jul 2 09:33:57 CEST 2008
Hi reg28,
Thanks for your reply.
g++ bessel_test.cc `gsl-config --cflags` `gsl-config --libs` -o
bessel_test.exe
I´ve tried it and got this output on MSYS:
$ tst3
./tst3: gsl-config: command not found
./tst3: gsl-config: command not found
bessel_test.cc:2:31: gsl/gsl_sf_bessel.h: No such file or directory
bessel_test.cc: In function `int main()':
bessel_test.cc:8: error: `gsl_sf_bessel_J0' undeclared (first use this
function)
bessel_test.cc:8: error: (Each undeclared identifier is reported only once
for each function it appears in.)
Next I´ve included the output of gsl-config by hand in my script:
#! /bin/sh
g++ bessel_test.cc -I/usr/local/include -L/usr/local/lib -lgsl -lgslcblas
-lm -o bessel_test.exe
This leads to:
$ tst4
bessel_test.cc:2:31: gsl/gsl_sf_bessel.h: No such file or directory
bessel_test.cc: In function `int main()':
bessel_test.cc:8: error: `gsl_sf_bessel_J0' undeclared (first use this
function)
bessel_test.cc:8: error: (Each undeclared identifier is reported only once
for each function it appears in.)
./tst4: -L/usr/local/lib: No such file or directory
./tst4: -o: command not found
If you have an idea what to do next, please let me know.
Greetings,
Michael Glockenmeier
----------------------------------------------
Fa. Michael Glockenmeier
Dipl.-Ing. Michael Glockenmeier
Hauptstr. 55 c
D-86926 Greifenberg
Germany
Tel ++49 (0) 8192/933 185
Fax ++49 (0) 8192/933 186
Email _mglocken at aol.com_ (mailto:mglocken at aol.com)
Visit my site: _www.femcfd.com_ (http://www.femcfd.com/)
---------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080702/d694a982/attachment.html>
-------------- next part --------------
An embedded message was scrubbed...
From: MGlocken at aol.com
Subject: Re: [Gmsh] configure does not find GSL
Date: Wed, 2 Jul 2008 02:06:03 EDT
Size: 5296
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20080702/d694a982/attachment.mht>