You're not linking with the library. Add "-lfftw" (or something like that) to your linker flags.
You're not linking with the library. Add "-lfftw" (or something like that) to your linker flags.
Thanks for the -lfftw thing...
However, i now have a new error:
Qt Code:
/usr/bin/ld: cannot find -lfftw collect2: ld returned 1 exit statusTo copy to clipboard, switch view to plain text mode
superutsav
He who laughs last thinks slowest.
locate libfftwOriginally Posted by superutsav
and add -L with a directory where it resides
And check if it is libfftw or libfftw3, maybe you just need to change "-lfftw" to "-lfftw3"
Hey... Thanks again... this time, however, there's yet another error, and i think this is an intrinsic fftw error:
Qt Code:
/usr/local/lib/libfftw3.a(trig1.o)(.text+0xb9): In function `fftw_sincos': : undefined reference to `cos' /usr/local/lib/libfftw3.a(trig1.o)(.text+0xe5): In function `fftw_sincos': : undefined reference to `sin' collect2: ld returned 1 exit statusTo copy to clipboard, switch view to plain text mode
What can i do about this?
superutsav
He who laughs last thinks slowest.
You are not linking your program with maths library ("-lm").Originally Posted by superutsav
Thanks guys...
That was an awesome quick reply... the fastest i've ever got on a forum![]()
problem solved ... thanks
superutsav
He who laughs last thinks slowest.
Bookmarks