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 pass. 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: http://students.ee.sun.ac.za/~albert/gsl-1_7-msvc-v2.zip 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: http://gnuwin32.sourceforge.net/packages/gsl.htm Regards, Albert
gsl-1_7-vc8_gslvar_templateson.diff
Description: Binary data
_______________________________________________ Bug-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gsl
