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

 

_______________________________________________
Help-gsl mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gsl

Reply via email to