This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
[Bug-gsl] update: GSL on Windows2000 possible?
- From: Birke Heeren <bheeren at copepod dot de>
- To: gsl-discuss at sources dot redhat dot com
- Date: Mon, 20 Oct 2003 11:44:51 +0100
- Subject: [Bug-gsl] update: GSL on Windows2000 possible?
Hi,
I was able :-) to download the following file:
gsl-1.4.tar.gz
and I was able to unzip it and get the following files:
gsl-1.4.tar
gsl-1.4-0.i386.rpm - don't know this
gsl-ref.pdf - can open this but low quality,
difficult to read
gsl-ref.ps.gz
After further unzippin "gsl-1.4.tar" I got 45 folders with 1597 files
All these I put under:
C:\gsl
Also I copied:
gsl-1.4-0.i386.rpm to the C:\gsl folder.
I told the bloodshed <http://www.bloodshed.net/download.html> compiler
(GCC with Mingw port) to look for include files at C:\
Then I tried out your example:
#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;
}
But I get the following Compiler error:
Compiler: Default compiler
Building Makefile: "J:\Makefile.win"
Finding dependencies for file: J:\main.c
Führt make... aus
make.exe -f "J:\Makefile.win" all
gcc.exe main.o -o "Projekt1.exe" -L"C:/Dev-Cpp/lib"
main.o(.text+0x46):main.c: undefined reference to `gsl_sf_bessel_J0'
make.exe: *** [Projekt1.exe] Error 1
exit
Is this a bug? Please help.
With regards,
Birke Heeren
bheeren@copepod.de
_______________________________________________
Bug-gsl mailing list
Bug-gsl@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-gsl