discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] FFTW3 error in GNURADIO


From: Nasi
Subject: [Discuss-gnuradio] FFTW3 error in GNURADIO
Date: Fri, 21 Mar 2014 13:35:46 +0400

Hi all,

I am using ubuntu 13.04 and GNURADIO 3.7.

In project https://github.com/BogdanDIA/gr-dvbt, in reference_signals_impl.cc in /lib, I add inside one of the functions:

fftw_complex *in2, *out2;
out2 = (fftw_complex*) fftw_malloc(NFFT*2*sizeof(fftw_complex));
in2 = (fftw_complex*) fftw_malloc(NFFT*2*sizeof(fftw_complex));

I get this error:

~/gr-dvbt/apps$ sudo ./top_block_rx.py
Traceback (most recent call last):
File "./top_block_rx.py", line 23, in <module>
import dvbt
File "/usr/local/lib/python2.7/dist-packages/dvbt/__init__.py", line 45, in <module>
from dvbt_swig import *
File "/usr/local/lib/python2.7/dist-packages/dvbt/dvbt_swig.py", line 26, in <module>
_dvbt_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/dvbt/dvbt_swig.py", line 22, in swig_import_helper
_mod = imp.load_module('_dvbt_swig', fp, pathname, description)
ImportError: /usr/local/lib/libgnuradio-dvbt.so: undefined symbol: fftw_malloc

I read and did the articles: http://lists.gnu.org/archive/html/discuss-gnuradio/2014-02/msg00479.html and http://gnuradio.4.n7.nabble.com/FFTW3-runtime-error-td46690.html
However, in lib I cannot add ${FFTW3(F)_LIBRARIES} to your lib/CMakeLists.txt. It gives me an error. Therefore I replaced that with ${FFTW3F_LIBRARIES}. 

Where am I making mistake?

-
NE




--
NE
reply via email to

[Prev in Thread] Current Thread [Next in Thread]