Hodgess, Erin wrote: > C:\Program Files\GnuWin32\bin>gcc -c example.c -lgsl -lgslcblas -lm > gcc -c example.c -lgsl -lgslcblas -lm > example.c:2:31: gsl/gsl_sf_bessel.h: No such file or directory > > > I've added Gnuwin32/include/gsl to my path. >
gcc searches the directories in $CPATH for include files. So you might try something like export CPATH=$CPATH:Gnuwin32\include If this is MinGW, as I recall, gcc will look in the include directory of the base folder (Gnuwin32) anyway. You might check that gcc isn't installed in /usr/local/ (or /local - IIRC MinGW doesn't distinguish between them). MinGW should also let you compile in a directory other than C:\Program Files\GnuWin32\bin. You'll also need a matching $LIBRARY_PATH for the linker. e.g. export LIBRARY_PATH=$LIBRARY_PATH:Gnuwin32\lib -- JDL _______________________________________________ Help-gsl mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-gsl
