bug-gsl
[Top][All Lists]
Advanced

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

[Bug-gsl] update: GSL on Windows2000 possible?


From: Birke Heeren
Subject: [Bug-gsl] update: GSL on Windows2000 possible?
Date: Sat, 18 Oct 2003 15:09:12 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-DE; rv:1.0.2) Gecko/20021120 Netscape/7.01

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

address@hidden


reply via email to

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