This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Borland C++ gsl_rng


Hi

It gives the same message:

Error: Unresolved external '_gsl_rng_taus' referenced from C:\PROGRAMY\BCC55\PROGS\GSLNEW\PROG.OBJ

I think that, maybe this error is caused by importing types from dll in borland compiler. All gsl function are exported as stdcall so when I'm compiling I'm using -ps switch but how tell to compiler that types gsl_rng_taus and gsl_rng_default are too in stdcall convention? Maybe I should declare them in borland?

Compiling without -ps switch:
Error: Unresolved external '_gsl_rng_taus' referenced from C:\PROGRAMY\BCC55\PROGS\GSLNEW\PROG.OBJ
Error: Unresolved external '_gsl_rng_alloc' referenced from C:\PROGRAMY\BCC55\PROGS\GSLNEW\PROG.OBJ
Error: Unresolved external '_gsl_rng_uniform' referenced from C:\PROGRAMY\BCC55\PROGS\GSLNEW\PROG.OBJ
Error: Unresolved external '_gsl_rng_free' referenced from C:\PROGRAMY\BCC55\PROGS\GSLNEW\PROG.OBJ


Michal


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]