I'm trying to compile a program in C on a Windows 7 machine using MinGW. Now I have to admit I don't have a lot of C experience to begin with and this is compounded by not being a very adept Windows user.
The program came with a make file, but it is getting stuck because I get the error:
cannot find -lsndfile
I found that sndfile is a sound library for reading .wav files and the like. I downloaded the library from http://www.mega-nerd.com/libsndfile and ran the setup executable it comes with. This put some header files and other junk in the Programs folder on C drive.
I copied the header files into the include folder under the MinGW directory, which reduced a lot of earlier errors down to one you see above. I think I need to put a .dll file somewhere, but not sure where.
I can provide more detail if needed, since I'm not quite sure where the problem lies.
Thanks for the help.