After building gnu-radio v3.6.3-35 with the build-gnuradio script the
WX GUIs that use FFTs do not work (waterfall sink, fft sink),
reporting “gri_fftw: can’t import wisdom from $HOME/.gr_fftw_wisdom”.
That file does exist, has the right permissions (664) and contains
fftwf_wisdom information.
Non-fft WX GUI sinks like scope and histo sink do work when using a
throttled noise source as input (all created through grc).
I have a fftw3 compiled and installed in /usr/local and the
build-gnuradio script installed the libraries and header files in
/usr; not sure if this is part of the problem.
Before this issue there were problems with wx; failing the ‘import wx’
on anything that used wx. It appeared I had both python-wxgtk2.6 and
python-wxgtk2.8 installed. After removing both and installing
python-wxgtk2.8 that problem went away, but may have caused the FFT
problem.
On Sat, Feb 2, 2013 at 7:38 PM, Marcus D. Leech [email protected] wrote:
Just remove your .gr_fftw_wisdom file, it’s probably got trash in it.
I tried this; the error message disappears but the program seg faults.
No new .gr_fftw_wisdom file is created.
My suspicion is a conflict between the installed-from-package FFTW
(which build-gnuradio will install if it isn’t there),
and your installed-from-source FFTW.
Unless you’ve done something pathological in your .grc file that’s
provoking a bug in the FFT implementation.
Can you post your .grc file?
–
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
i am still face problem for making simple block in gnuradio
i am using gr_modtool
i follow the steps
1- creating the module ( named ramadan)
2 adding the block(mm)
i have 2 files in lib (mm_imp.cc, mm_imp.hh) and one file in include
(mm.h)
i made changes in the 3 files like square example in tutorial, but while
building i face problem in make appears for me
el-hadidy@ubuntu:~/gr-ramadan/build$ make
Scanning dependencies of target gnuradio-ramadan
[ 5%] Building CXX object
lib/CMakeFiles/gnuradio-ramadan.dir/mm_impl.cc.o
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:32:29: error:
howto_square_ff.h: No such file or directory
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:39: error:
‘howto_square_ff_sptr’ does not name a type
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:62: error: ‘howto_square_ff’
has not been declared
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:62: error: ISO C++ forbids
declaration of ‘howto_square_ff’ with no type
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc: In function ‘int
howto_square_ff()’:
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:63: error: only constructors
take base initializers
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc: At global scope:
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:73: error: expected
constructor, destructor, or type conversion before ‘::’ token
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:79: error: ‘howto_square_ff’
is not a class or namespace
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:
In function ‘int general_work(int, gr_vector_int&,
gr_vector_const_void_star&, gr_vector_void_star&)’:
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:94: error: ‘consume_each’ was
not declared in this scope
make[2]: *** [lib/CMakeFiles/gnuradio-ramadan.dir/mm_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-ramadan.dir/all] Error 2
make: *** [all] Error 2
el-hadidy@ubuntu:~/gr-ramadan/build$
so , how can i solve this problem? can any one help me to fix this
problem as i read more and still face problems. Thanks
declaration of howto_square_ff with no type
general_work(int, gr_vector_int&, gr_vector_const_void_star&,
gr_vector_void_star&):
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:94: error: consume_each was
not declared in this scope make[2]: *** [lib/CMakeFiles/gnuradio-ramadan.dir/mm_impl.cc.o] Error 1
make[1]: *** [lib/CMakeFiles/gnuradio-ramadan.dir/all] Error 2
make: *** [all] Error 2
el-hadidy@ubuntu:~/gr-ramadan/build$
so , how can i solve this problem? can any one help me to fix this problem
as i read more and still face problems. Thanks
Again, this looks like a version problem. Except in this case, it looks
like you have a really old version of GNU Radio installed before there
was
a consume_each (and I can’t even remember how far back that was).
(mm.h)
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc:39: error:
/home/el-hadidy/gr-ramadan/lib/mm_impl.cc: At global scope:
not declared in this scope
Again, this looks like a version problem. Except in this case, it looks
like you have a really old version of GNU Radio installed before there was
a consume_each (and I can’t even remember how far back that was).
Tom
To me it looks like there are some classname:: missing in the
implementation file, in which case the general_work is defined outside
the
class and thus undefined (at least that’s when I am seeing these
errors).
Can you check/post your .cc code?
On Sat, Feb 2, 2013 at 8:02 PM, Marcus D. Leech [email protected]
wrote:
Can you post your .grc file?
See below. In the companion I’ve hooked up a gaussian noise source
through a throttle to a WX GUI FFT. If I change the GUI FFT for the
scope it works fine, hence my suspicion is has to do with either FFTW
or WX.