This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: GSL for MS Visual C++
- From: Brian Gough <brian dot gough at network-theory dot co dot uk>
- To: Juta Pichitlamken <pichitla at IRO dot UMontreal dot CA>, Anthony RABINE <arabine at programmationworld dot com>, gsl-discuss at sources dot redhat dot com, bug-gsl at gnu dot org
- Date: Tue, 21 Jan 2003 21:30:51 +0000
- Subject: Re: GSL for MS Visual C++
- References: <1530939953.20030109184405@programmationworld.com><5.1.1.5.2.20030109073506.00ba4958@mail.iro.umontreal.ca><15908.34250.61102.267513@hppav.local>
Brian Gough writes:
> Anthony RABINE writes:
> > error C2201: 'gsl_prec_eps' : must have external linkage in order to be exported/imported
> > error C2734: 'gsl_prec_eps' : const object must be initialized if not extern
> > error C2133: 'gsl_prec_eps' : unknown size
>
> Thanks for the bug reports. I'll look at this problem again when I
> make the MSVC version of gsl-1.3.
I found the problem -- the symbol for gsl_prec_eps was left out of the
exports list. It should eb fixed in the new version at
http://www.network-theory.co.uk/gsl/freedownloads.html .
I've changed the default to build a static library (I think people
were confused about the /MD needed to use the DLL) but you can rebuild
the DLL easily from the GSLDLL.dsw file in the src directory following
the instructions in the README file.