[Gmsh] configure does not find GSL
MGlocken at aol.com
MGlocken at aol.com
Tue Jul 1 22:55:15 CEST 2008
In einer eMail vom 01.07.2008 16:40:05 Westeuropäische Normalzeit schreibt
reg28 at cam.ac.uk:
Hi Michael
How did you generate the ./configure script?
Hi reg28,
I did not generate it. It is part of the files which were supplied with Gmsh.
Now I´ve tried to compile an example file from GSL:
#include <stdio.h>
#include <gsl/gsl_sf_bessel.h>
int
main (void)
{
double x = 5.0;
double y = gsl_sf_bessel_J0 (x);
printf ("J0(%g) = %.18e\n", x, y);
return 0;
}
This is the calling script:
#! /bin/sh
#ls -1 /c/Programme/FEM_GMSH/gsl-1.11/gsl
gcc -L/c/Programme/FEM_GMSH/gsl-1.11/.libs -lgsl
-I/c/Programme/FEM_GMSH/gsl-1.11 /c/Programme/FEM_GMSH/cpptest1/Bessel1.c -o Bessel1 -g
Bessel1
And this is the output on MSYS:
$ tst2
C:/DOKUME~1/MICHAE~1/LOKALE~1/Temp/ccqgbaaa.o(.text+0x3a): In function
`main':
c:/Programme/FEM_GMSH/cpptest1/Bessel1.c:8: undefined reference to
`gsl_sf_bessel_J0'
collect2: ld returned 1 exit status
./tst2: Bessel1: command not found
How is it possible, that the library is found but `gsl_sf_bessel_J0' is not?
ls -1 does work.
Windows XP SP2
MingW32
MSYS
Gmsh 2.2
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/20080701/10a39984/attachment.html>