public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* [Bug-gsl] update: GSL on Windows2000 possible?
@ 2003-10-20 10:44 Birke Heeren
  0 siblings, 0 replies; only message in thread
From: Birke Heeren @ 2003-10-20 10:44 UTC (permalink / raw)
  To: gsl-discuss

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-20 10:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-20 10:44 [Bug-gsl] update: GSL on Windows2000 possible? Birke Heeren

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).