Your problem is that you installed Anaconda (a Python distribution) and it comes with its own version of GCC. Relative paths are probably now seen from this GCC point of view, not Dev-Cpp's GCC. You can either try to fix your system PATH variable or pass the full path to the -I and -L options in GCC.
-- João Felipe Santos On Sat, Jan 18, 2014 at 7:51 AM, Pablo Frank <frank_pa...@hotmail.com>wrote: > Installing libsndfile-1.0.25-w64-setup.exe from > http://www.mega-nerd.com/libsndfile/ > in: > C:\Dev-Cpp\libsndfile > > the file "libsndfile-1.lib" being in: > > C:\Dev-Cpp\libsndfile\lib > > and the file "sndfile.h" being in > > C:\Dev-Cpp\libsndfile\include > > and running : > > C:\Dev-Cpp>gcc -o a Stereo_to_mono.c -I\libsndfile\include > -L\libsndfile\lib -li > bsndfile-1 > > the file "libsndfile-1.lib" is not found: > > > c:/anaconda/mingw/bin/../lib/gcc/x86_64-w64-mingw32/4.7.0/../../../../x86_64-w64 > -mingw32/bin/ld.exe: cannot find -libsndfile-1.lib > collect2.exe: error: ld returned 1 exit status > > I guess it's a minor issue. I googled for a solution but couldn't find. > Anyone knows/guess what's > the problem? > > > > > > > > > To: music-dsp@music.columbia.edu > > Date: Wed, 15 Jan 2014 07:00:00 -0500 > > From: doug...@music.columbia.edu > > Subject: [music-dsp] [admin] music-dsp FAQ > > > > Hi, > > > > Just a reminder that if you are new to the list you should read the > > music-dsp FAQ. It contains answers to both technical _and_ > > adminstrative questions that often come up on the list. If your question > > appears in the FAQ it is safe to assume that it has been discussed on the > > list many times in the past, and you should probably have a look through > > the list archives before posting your question to the list. > > > > http://music.columbia.edu/cmc/music-dsp/musicdspFAQ.html > > > > > > Also of interest to new and not-so-new list members: > > > > The music-dsp list archives > > http://music.columbia.edu/cmc/music-dsp/musicdsparchives.html > > > > The music-dsp source code archive > > http://www.musicdsp.org > > > > music-dsp books and reviews > > http://music.columbia.edu/cmc/music-dsp/dspbooks.html > > > > > > All this and more at: > > http://music.columbia.edu/cmc/music-dsp > > > > > > Hasta la pasta, > > douglas > > > > (this is an automated message sent out on the 1st and 15th of each month) > > -- > > dupswapdrop -- the music-dsp mailing list and website: > > subscription info, FAQ, source code archive, list archive, book reviews, > dsp links > > http://music.columbia.edu/cmc/music-dsp > > http://music.columbia.edu/mailman/listinfo/music-dsp > > -- > dupswapdrop -- the music-dsp mailing list and website: > subscription info, FAQ, source code archive, list archive, book reviews, > dsp links > http://music.columbia.edu/cmc/music-dsp > http://music.columbia.edu/mailman/listinfo/music-dsp > -- dupswapdrop -- the music-dsp mailing list and website: subscription info, FAQ, source code archive, list archive, book reviews, dsp links http://music.columbia.edu/cmc/music-dsp http://music.columbia.edu/mailman/listinfo/music-dsp