help-gsl
[Top][All Lists]
Advanced

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

[Help-gsl] using gsl with borland?


From: Totte Karlsson
Subject: [Help-gsl] using gsl with borland?
Date: Mon, 14 Jan 2008 22:00:41 -0800

Hi,

I’m trying to use gsl with the Borland compiler. 

I have managed to create import libraries from libgsl.dll and
libgslcblas.dll, contained in the bin dir of the gsl-1.8 release.

 

In particular, I’m trying to compile an example program, nlfit.c. It does
compile and links but I get an error when it gets to 

 

  type = gsl_rng_default;

  r = gsl_rng_alloc (type); ß- Exception here

 

The problem is in the previous line. In the debugger I can see that the
gsl_rng_default is not “returning” anything. 

 

I read about the GSL_EXPORT define. I have GSL_DLL defined and it make it
compile. 

 

Anyone using Borland successfully with gsl? Any hints?

 

 

Thanks

-totte

 



reply via email to

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