This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
Re: Compilation errors with VC++ 6.0
- From: Brian Gough <bjg at network-theory dot co dot uk>
- To: "Pere Mato Vila" <Pere dot Mato at cern dot ch>
- Cc: <gsl-discuss at sources dot redhat dot com>
- Date: Wed, 5 Feb 2003 00:05:57 +0000
- Subject: Re: Compilation errors with VC++ 6.0
- References: <F8A6C9FA5792E34385AF2ACF3D38C6A2EF62AE@cernxchg02.cern.ch>
Pere Mato Vila writes:
>
> I am getting compilation errors using GSL 1.3 from a C++ program uing
> with VC++ 6.0. This is new with 1.3. The compilation command and the
> errors are:
>
> S:/sw/packages/GSL/1.3/Win32/include\gsl/gsl_precision.h(56) : error
> C2201: 'gsl_prec_eps' : must ha
> ve external linkage in order to be exported/imported
>
> the problem goes away. Any idea?
Thanks for the bug report.
I had made an error in the build settings for the DLL (undefined
DLL_EXPORT).
There's an updated version at
http://www.getafile.com/cgi-bin/merlot/get/network-theory/gsl/gsl-1.3-setup.exe
which has DLL_EXPORT properly defined. It also adds an "extern" to
"__declspec(dllexport)". Please let me know if this works better.
Brian