Problem interfacing with GSL

Arjan via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun Nov 30 04:21:50 PST 2014


Hi!
D noob here.
I'm trying to call this function from the GSL lib:

double gsl_stats_long_double_mean (const long double [], const 
size_t, const size_t);

linking with: -L-lgsl -L-lgslcblas -L-lm

I have tried different configurations, refering to
http://dlang.org/interfaceToC.html and the forums, but it always 
gives me probems like,
calling it the wrong way or segmentation falt.
Can anyone help?

Arjan


More information about the Digitalmars-d-learn mailing list