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: "Pere Mato Vila" <Pere dot Mato at cern dot ch>
- To: "Brian Gough" <bjg at network-theory dot co dot uk>
- Cc: <gsl-discuss at sources dot redhat dot com>
- Date: Wed, 5 Feb 2003 09:50:21 +0100
- Subject: RE: Compilation errors with VC++ 6.0
Brian,
This updated version works well. Thanks very much.
I have a suggestion concerning the Windows installation. Would it be
possible to leave the DLL libraries (perhaps optionally) in the /lib of
the installation area. Copying them to the standard Windows location
(%WINDIR%/System32) is a problem when you have to work with several
versions since they have the same name. I know that it avoids to have to
set the right PATH but it makes very difficult to have centrally managed
installations.
Pere Mato
> -----Original Message-----
> From: Brian Gough [mailto:bjg@network-theory.co.uk]
> Sent: 05 February 2003 01:06
> To: Pere Mato Vila
> Cc: gsl-discuss@sources.redhat.com
> Subject: Re: Compilation errors with VC++ 6.0
>
>
> 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-se
tup.exe
which has DLL_EXPORT properly defined. It also adds an "extern" to
"__declspec(dllexport)". Please let me know if this works better.
Brian