-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hej Jeroen,
2) In the top-level CMakeLists.txt I modified/added (just guessing
what to do...):
I wouldn't call your method "guessing"; you used strong indications! :D
Ok, now I see what your problem is: It's not that you don't link
against FFTW (the library that does the actual FFT calculations), but
that you don't link against gr-fft, the GNU Radio fft helpers and
wrappers and widgets!
Now everything makes sense. The point is: with 3.7 it's easy to use
certain GNU Radio components, just by adding[1]:
set(GR_REQUIRED_COMPONENTS RUNTIME FILTER)
to the master CMakeLists.txt.
For 3.6, I can't verify that right now, but doing
find_package(gnuradio-fft)
instead should do the trick (I hope the spelling is right, though.
Look into /usr/local/lib/pkgconfig/gnuradio* ). The resulting
variables should then be something like[2]:
GNURADIO_FFT_INCLUDE_DIRS (or LIBRARY_DIRS, respectively).
You might need to google the correct naming, though.
Jay!
Happy hacking
1:
http://gnuradio.org/redmine/projects/gnuradio/wiki/OutOfTreeModulesConfig#Configuring-Our-Project-to-Use-GNU-Radio-Libraries
2: http://www.cmake.org/Wiki/CMake:How_To_Find_Libraries
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
iQEcBAEBAgAGBQJSocVCAAoJEAFxB7BbsDrLYeMH/iyINXohTKFSxNaZL5df6qdE
tpUni2POUwzfM32vcmdVovj6IQcKppEWz3Xugd8KAxtkSQYJd9+f7EZydIvnsG+R
/ToQ8ARBTDUsFZpe0HaKUGKTiY6Q8pI3SneOAug7/RMZffK8UcV/ObFyCn0ZEI7+
2phikCxt4XaQr+KqvA/242BPR3jPPiDil3Ok1ocsQpn/CuLf+NHTnSFQaSFGTPPQ
I/rw9c5GIy7Hn4s7I+KCjxdkJcZ/PXVJcfOveec3BzV03NTXjpV8tgr4cTj5aars
9o48MrnbGjdZO5irRmaUi7mDj7sAKGC3wWPmgCk9Iapo2lI+BIBZ16d7hCkVexs=
=bQt9
-----END PGP SIGNATURE-----
_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio