[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-gsl] Visual Studio build files part 2

From: Albert Strasheim
Subject: [Bug-gsl] Visual Studio build files part 2
Date: Thu, 16 Mar 2006 19:34:52 +0200

Hello all

I've been doing some more work on the Visual Studio build for GSL. 

I've figured out the problem with the crashing tests. I was linking the
tests against the DLL version of gsl and gslcblas, but I'm doing something
wrong with some of the symbols. For the moment the generated solution files
link the tests against the static libraries. In this case, all the tests

Visual Studio's compiler seems to require that DLL linkage be specified for
the declaration and definition of symbols. I've attached a patch to fix all
these warnings. The patch also includes some minor changes to templates_on.h
that might be necessary.

Visual Studio's compiler also gave the following warnings which might have
to be investigated in more detail:

gsl-1.7\specfunc\coulomb.c(994) : warning C4700: uninitialized local
variable 'G_lam_G' used
gsl-1.7\specfunc\coulomb.c(996) : warning C4700: uninitialized local
variable 'Gp_lam_G' used

Another issue I forgot to mention in my previous post if that you have to
copy all the gsl headers to the gsl directory (thanks to Pär Kjellberg for
pointing this out). When building with make, it creates symlinks to these
header files.

You can grab the solution files and the script I used to generate them here:


As soon as I figure out the problems with the DLLs, I'll make some binaries
available. Meanwhile, you can find binaries for GSL 1.6 here:




Attachment: gsl-1_7-vc8_gslvar_templateson.diff
Description: Binary data

reply via email to

[Prev in Thread] Current Thread [Next in Thread]