Trying to get howto-write-a-block to work. ‘ctest -V’ gives errors like:
“…/gr-howto-write-a-block-3.6.0/lib/qa_howto_square_ff_test.sh: 8:
qa_howto_square_ff: not found” and the same for square2_ff.
File “/home/tim/SDR/gr-howto-write-a-block-3.6.0/python/qa_howto.py”,
line
24, in
3: import howto_swig
3: ImportError: No module named howto_swig
I’ve checked the directory and the qa files do exist. Do they need
extensions added to them? howto_swig.i also includes the correct files,
but
can’t be imported?
are you mixing hand-edited code and files generated by gr_modtool?
Also, can you manually import howto_swig from the build/swig dir?
Besides, if you’re getting started, 3.6.0 is not the newest version of
GNU Radio.
MB
On Mon, Nov 19, 2012 at 03:08:50PM -0500, Brooke H. wrote:
3: ImportError: No module named howto_swig
I’ve checked the directory and the qa files do exist. Do they need extensions
added to them? howto_swig.i also includes the correct files, but can’t be
imported?
Hi
I have the same problem
I can manually import howto_swig from the build/swig dir.
but with build/python dir, it always show
hi@OptiPlex-360:/home/sdr-optiplex/dev/gnuradio/gnuradio/gr-howto-write-a-block/build/python$
python qa_square_ff.py
Traceback (most recent call last):
File “qa_square_ff.py”, line 4, in
import howto_swig as howto
ImportError: No module named howto_swig
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.