Hello,
--- jd...@st... wrote:
> Hi, I'm pretty new to using outside libraries...so I
> don't really understand
> how to install the FFTW(fast fourier transform made
> at MIT) library for use
> with my C++ programs(in fact i probably wouldn't
> really get how to install any
> outside library other than including a .h file).
Here is what I have done to get going with FFTW.
1. First go to the fftw web-site and download the
mingw binaries. The downloaded stuff includes two
binaries fftw3.dll and fftw3.lib. It also has the
include file.
Copy this include file to the include folder of
DevC++.
2. Create a new empty C project using Dev-C++.
3. Add a new *.c source file to your project. In this
file you can add the #include <fftw3.h> directive and
put in the rest of your code. As test you can copy the
code from the fftw tutorial.
4. Go to Project->Options->Parameters. There, use the
"add a library button" to add the fftw3.lib file.
5. Then compile your project.
6. You should now have an executable ready. Put the
fftw3.dll in the same directory as the executable or
the windows system directory.
7. Run your executable!
Hope this helps,
Siva Chandra
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
|