This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Borland C++ gsl_rng
- From: Michał Strug <mbr4 at o2 dot pl>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 18 May 2004 11:52:37 +0200
- Subject: 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