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: 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-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


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