how to solve linker error while using FFTW library?

I want to make use of FFTW library for calculating FFT of a sequence. But when I try to compile it, I get 'undefined reference to' error. My project is located in the E drive and the DEV-C++ is located in C drive. I have downloaded the FFTW library and dumped the header file fftw.h to the include folder in MinGW64 of the DEV-C++ folder. How do I get rid of this error?
You need to make sure your linker knows where to find the library.
Topic archived. No new replies allowed.