Rhys,
That is precisely what was happening. I was wondering why the nesting structure of the header directives was not reflected in the directory structure "on the ground", till I figured that GSL would need to be compiled. Now I am in the predicament since compiling GSL is not as straightforward as ./configure make install make I will use this email to document my efforts for posterity. :) 1) I first installed msys (http://www.mingw.org/wiki/MSYS), entered bash, and tried ./configure, but I think that the shell finds a different version of sed somewhere in my search folders, and the ./configure exits with many errors. So, I removed that directory from my path temporarily. The ./configure now completes smoothly. 2) The make install still exits with error code 1, since it can't find a particular header file ("gsl_maxfit.h"), and this is a fatal error (code=2). 3) make trundles along for a while before it stops with error codes 1 and 2. 4) I try make install and make again (for the heck of it). 4) I am still a little confused about the version of make being used since if you follow the linked stackoverflow question, you will note that I have answered my own question -- the problem was that the wrong version of make was being called when I was calling make from the command line, and I had to explicitly call mingw32-make instead. Also, when I was installing the msys toolset, it asked me to rename the make in the MinGW installation to mingw32-make instead, which I did not do before trying to compile GSL. This is where I decided to call it a day. Tomorrow I will try again to compile GSL and run a small example with it to see if the errors as superfluous and I can actually work with GSL anyway. Any suggestions or tips for installing GSL on a Windows machine? Thanks ----- Original Message ----- From: Rhys Ulerich <[email protected]> To: Fg Nu <[email protected]> Cc: "[email protected]" <[email protected]> Sent: Friday, October 19, 2012 7:14 PM Subject: Re: [Help-gsl] Linking GSL [noob] Hi Fg, > Earlier today, I posted a question to Stack Overflow > http://stackoverflow.com/q/12968355/1414455 > but did not get an appropriate response. S.O. is amazing but not magic. Patience. :P > Since my GCC installation lives in > "E:\programming\c\libraries\gsl-1.15.tar\gsl-1.15", I changed the directive to > > //-------------------------------------------------------------------------------------- > #include <gsl-1.15/multifit/gsl_multifit.h> > //-------------------------------------------------------------------------------------- This sounds like you are not running 'make install' before trying to compile and link against GSL. Instead, the sounds like you are simply running 'make' and then trying to compile and link against the built sources. Is that the case? I ask because I expect installed headers to be in locations like <gsl/gsl_multifit.h>. - Rhys
