I trie to install the library on another folder, "/Users/niandra/Documents/gsl_lib". Now using the following command it works:
gcc wrapnorm.c -I/Users/niandra/Documents/gsl_lib/include -L/Users/niandra/Documents/gsl_lib/lib -o wrapnorm -lgsl -lgslcblas -lm Why this happens, and why if i use the default option the installation of the library doesn't work well?. G.M. Il giorno 24/mar/2013, alle ore 20:28, gianluca mastrantonio <[email protected]> ha scritto: > First of all thanks to everyone. > > I did the upgrade to the version 1.15. but the problem is still there. > If I type gsl-config --version, this shows 1.15, so i think the installation > went fine. I used also the -Wall flag as suggests Sam Mason but are only > some warnings for unused variable. > > Maybe, before do the installation of version 1.15, should i deinstall the 1.9? > > G.M. > > > > Il giorno 23/mar/2013, alle ore 20:57, Sam Mason <[email protected]> ha > scritto: > >> On 23 Mar 2013 16:30, "gianluca mastrantonio" >> <[email protected]> wrote: >>> I compile the code with the following command: >>> >>> gcc-mp-4.7 wrapnorm.c -o wrapnorm -lgsl -l gslcblas -lm >> >> I'd recommend compiling with warnings so that GCC can suggest what's going >> wrong. The -Wall flag is what I normally use. I'd imagine it telling you >> that Patrick is right... >> >> Sam >> >
