Hi,
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.
Regards,
C. Bassa
on 2013-02-02 20:35
on 2013-02-02 20:39
On 02/02/13 02:34 PM, C. Bassa wrote: > > Regards, > C. Bassa > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > Just remove your .gr_fftw_wisdom file, it's probably got trash in it. What Linux distrib are you using? -- Principal Investigator Shirleys Bay Radio Astronomy Consortium http://www.sbrac.org
on 2013-02-02 20:44
Hi Marcus, On Sat, Feb 2, 2013 at 7:38 PM, Marcus D. Leech <mleech@ripnet.com> 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. > What Linux distrib are you using? XUbuntu 12.04. Regards, Cees
on 2013-02-02 21:03
On 02/02/13 02:43 PM, C. Bassa wrote: > Hi Marcus, > > On Sat, Feb 2, 2013 at 7:38 PM, Marcus D. Leech <mleech@ripnet.com> 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 http://www.sbrac.org
on 2013-02-02 21:08
Hi Marcus,
On Sat, Feb 2, 2013 at 8:02 PM, Marcus D. Leech <mleech@ripnet.com>
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.
Regards,
Cees
------------
<?xml version='1.0' encoding='ASCII'?>
<flow_graph>
<timestamp>Sat Feb 2 19:27:57 2013</timestamp>
<block>
<key>options</key>
<param>
<key>id</key>
<value>top_block</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>title</key>
<value></value>
</param>
<param>
<key>author</key>
<value></value>
</param>
<param>
<key>description</key>
<value></value>
</param>
<param>
<key>window_size</key>
<value>1280, 1024</value>
</param>
<param>
<key>generate_options</key>
<value>wx_gui</value>
</param>
<param>
<key>category</key>
<value>Custom</value>
</param>
<param>
<key>run_options</key>
<value>prompt</value>
</param>
<param>
<key>run</key>
<value>True</value>
</param>
<param>
<key>max_nouts</key>
<value>0</value>
</param>
<param>
<key>realtime_scheduling</key>
<value></value>
</param>
<param>
<key>_coordinate</key>
<value>(10, 10)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>variable</key>
<param>
<key>id</key>
<value>samp_rate</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>value</key>
<value>32000</value>
</param>
<param>
<key>_coordinate</key>
<value>(10, 170)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>gr_throttle</key>
<param>
<key>id</key>
<value>gr_throttle_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>samples_per_second</key>
<value>samp_rate</value>
</param>
<param>
<key>vlen</key>
<value>1</value>
</param>
<param>
<key>_coordinate</key>
<value>(476, 31)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>wxgui_fftsink2</key>
<param>
<key>id</key>
<value>wxgui_fftsink2_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>title</key>
<value>FFT Plot</value>
</param>
<param>
<key>samp_rate</key>
<value>samp_rate</value>
</param>
<param>
<key>baseband_freq</key>
<value>0</value>
</param>
<param>
<key>y_per_div</key>
<value>10</value>
</param>
<param>
<key>y_divs</key>
<value>10</value>
</param>
<param>
<key>ref_level</key>
<value>0</value>
</param>
<param>
<key>ref_scale</key>
<value>2.0</value>
</param>
<param>
<key>fft_size</key>
<value>1024</value>
</param>
<param>
<key>fft_rate</key>
<value>15</value>
</param>
<param>
<key>peak_hold</key>
<value>False</value>
</param>
<param>
<key>average</key>
<value>False</value>
</param>
<param>
<key>avg_alpha</key>
<value>0</value>
</param>
<param>
<key>win</key>
<value>None</value>
</param>
<param>
<key>win_size</key>
<value></value>
</param>
<param>
<key>grid_pos</key>
<value></value>
</param>
<param>
<key>notebook</key>
<value></value>
</param>
<param>
<key>freqvar</key>
<value>None</value>
</param>
<param>
<key>_coordinate</key>
<value>(810, 149)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<block>
<key>analog_noise_source_x</key>
<param>
<key>id</key>
<value>analog_noise_source_x_0</value>
</param>
<param>
<key>_enabled</key>
<value>True</value>
</param>
<param>
<key>type</key>
<value>complex</value>
</param>
<param>
<key>noise_type</key>
<value>analog.GR_GAUSSIAN</value>
</param>
<param>
<key>amp</key>
<value>1</value>
</param>
<param>
<key>seed</key>
<value>0</value>
</param>
<param>
<key>_coordinate</key>
<value>(256, 14)</value>
</param>
<param>
<key>_rotation</key>
<value>0</value>
</param>
</block>
<connection>
<source_block_id>analog_noise_source_x_0</source_block_id>
<sink_block_id>gr_throttle_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
<connection>
<source_block_id>gr_throttle_0</source_block_id>
<sink_block_id>wxgui_fftsink2_0</sink_block_id>
<source_key>0</source_key>
<sink_key>0</sink_key>
</connection>
</flow_graph>
on 2013-02-03 12:03
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
on 2013-02-05 15:25
On Sun, Feb 3, 2013 at 6:02 AM, Mohammed Ramadan <eng_mo7med2005@yahoo.com>wrote: > > 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). Tom
on 2013-02-05 15:49
>> (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? Martin
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.