discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] RTTY receiver


From: Barry Duggan
Subject: Re: [Discuss-gnuradio] RTTY receiver
Date: Wed, 12 Jun 2019 20:26:11 -0400
User-agent: Roundcube Webmail/1.3.8

Here is my current status.

I performed the following commands in the /home/pi/gr-radioteletype/build directory:

pi@raspberrypi:~/gr-radioteletype/build $ make clean
pi@raspberrypi:~/gr-radioteletype/build $ cmake ../
-- Build type not specified: defaulting to release.
-- Boost version: 1.62.0
-- Found the following Boost libraries:
--   filesystem
--   system
Checking for GNU Radio Module: RUNTIME
 * INCLUDES=/usr/include
* LIBS=/usr/lib/arm-linux-gnueabihf/libgnuradio-runtime.so;/usr/lib/arm-linux-gnueabihf/libgnuradio-pmt.so
GNURADIO_RUNTIME_FOUND = TRUE
-- Extracting version information from git describe...
-- Using install prefix: /usr/local
-- Building for version: 3a00e28a / 1.0.0git
--
-- Checking for module SWIG
-- Found SWIG version 3.0.10.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/gr-radioteletype/build
pi@raspberrypi:~/gr-radioteletype/build $ make
[ 4%] Building CXX object lib/CMakeFiles/gnuradio-radioteletype.dir/async_word_extractor_bb_impl.cc.o [ 8%] Building CXX object lib/CMakeFiles/gnuradio-radioteletype.dir/baudot_decode_bb_impl.cc.o [ 12%] Building CXX object lib/CMakeFiles/gnuradio-radioteletype.dir/baudot_encode_bb_impl.cc.o [ 16%] Building CXX object lib/CMakeFiles/gnuradio-radioteletype.dir/varicode_decode_bb_impl.cc.o [ 20%] Building CXX object lib/CMakeFiles/gnuradio-radioteletype.dir/varicode_encode_bb_impl.cc.o
[ 24%] Linking CXX shared library libgnuradio-radioteletype-1.0.0git.so
[ 24%] Built target gnuradio-radioteletype
[ 28%] Building CXX object lib/CMakeFiles/test-radioteletype.dir/test_radioteletype.cc.o [ 32%] Building CXX object lib/CMakeFiles/test-radioteletype.dir/qa_radioteletype.cc.o
[ 36%] Linking CXX executable test-radioteletype
[ 36%] Built target test-radioteletype
[ 40%] Building CXX object swig/CMakeFiles/_radioteletype_swig_doc_tag.dir/_radioteletype_swig_doc_tag.cpp.o
[ 44%] Linking CXX executable _radioteletype_swig_doc_tag
[ 44%] Built target _radioteletype_swig_doc_tag
[ 48%] Generating doxygen xml for radioteletype_swig_doc docs
[ 52%] Generating python docstrings for radioteletype_swig_doc
[ 52%] Built target radioteletype_swig_swig_doc
[ 56%] Building CXX object swig/CMakeFiles/_radioteletype_swig_swig_tag.dir/_radioteletype_swig_swig_tag.cpp.o
[ 60%] Linking CXX executable _radioteletype_swig_swig_tag
[ 60%] Built target _radioteletype_swig_swig_tag
[ 64%] Generating radioteletype_swig.tag
Scanning dependencies of target radioteletype_swig_swig_2d0df
[ 68%] Building CXX object swig/CMakeFiles/radioteletype_swig_swig_2d0df.dir/radioteletype_swig_swig_2d0df.cpp.o
[ 72%] Linking CXX executable radioteletype_swig_swig_2d0df
Swig source
[ 72%] Built target radioteletype_swig_swig_2d0df
[ 76%] Generating radioteletype_swig.pyc
[ 80%] Generating radioteletype_swig.pyo
[ 80%] Built target pygen_swig_07109
Scanning dependencies of target _radioteletype_swig
[ 84%] Building CXX object swig/CMakeFiles/_radioteletype_swig.dir/radioteletype_swigPYTHON_wrap.cxx.o
[ 88%] Linking CXX shared module _radioteletype_swig.so
[ 88%] Built target _radioteletype_swig
[ 92%] Generating radioteletype/__init__.pyc, radioteletype/filters.pyc, radioteletype/modulators.pyc, radioteletype/demodulators.pyc [ 96%] Generating radioteletype/__init__.pyo, radioteletype/filters.pyo, radioteletype/modulators.pyo, radioteletype/demodulators.pyo
[ 96%] Built target pygen_python_17c4d
[ 96%] Built target pygen_apps_9a6dd
[100%] Generating documentation with doxygen
[100%] Built target doxygen_target
pi@raspberrypi:~/gr-radioteletype/build $ sudo make install
[ 24%] Built target gnuradio-radioteletype
[ 36%] Built target test-radioteletype
[ 44%] Built target _radioteletype_swig_doc_tag
[ 52%] Built target radioteletype_swig_swig_doc
[ 60%] Built target _radioteletype_swig_swig_tag
[ 72%] Built target radioteletype_swig_swig_2d0df
[ 80%] Built target pygen_swig_07109
[ 88%] Built target _radioteletype_swig
[ 96%] Built target pygen_python_17c4d
[ 96%] Built target pygen_apps_9a6dd
[100%] Built target doxygen_target
Install the project...
-- Install configuration: "Release"
-- Up-to-date: /usr/local/lib/cmake/radioteletype/radioteletypeConfig.cmake
-- Up-to-date: /usr/local/include/radioteletype/api.h
-- Up-to-date: /usr/local/include/radioteletype/varicode_decode_bb.h
-- Up-to-date: /usr/local/include/radioteletype/async_word_extractor_bb.h
-- Up-to-date: /usr/local/include/radioteletype/baudot_decode_bb.h
-- Up-to-date: /usr/local/include/radioteletype/varicode_encode_bb.h
-- Up-to-date: /usr/local/include/radioteletype/baudot_encode_bb.h
-- Installing: /usr/local/lib/libgnuradio-radioteletype-1.0.0git.so.0.0.0
-- Up-to-date: /usr/local/lib/libgnuradio-radioteletype-1.0.0git.so
-- Up-to-date: /usr/local/lib/libgnuradio-radioteletype.so
-- Up-to-date: /usr/local/lib/libgnuradio-radioteletype-1.0.0git.so.0
-- Installing: /usr/local/lib/python2.7/dist-packages/radioteletype/_radioteletype_swig.so -- Set runtime path of "/usr/local/lib/python2.7/dist-packages/radioteletype/_radioteletype_swig.so" to ""
etc...

Then when I execute the flow graph, I get
Generating: '/home/pi/gr-radioteletype/examples/rtty_demod.py'

Executing: /usr/bin/python -u /home/pi/gr-radioteletype/examples/rtty_demod.py

Warning: failed to XInitThreads()
Traceback (most recent call last):
File "/home/pi/gr-radioteletype/examples/rtty_demod.py", line 30, in <module>
    from radioteletype.demodulators import rtty_demod_cb
File "/usr/local/lib/python2.7/dist-packages/radioteletype/demodulators.py", line 9, in <module>
    from radioteletype_swig import (
File "/usr/local/lib/python2.7/dist-packages/radioteletype/radioteletype_swig.py", line 21, in <module>
    _radioteletype_swig = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/radioteletype/radioteletype_swig.py", line 20, in swig_import_helper
    return importlib.import_module('_radioteletype_swig')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
ImportError: No module named _radioteletype_swig

So even though 'cmake' figured out the install path, the install script set the runtime path to "".
Is there a command line define where I need to specify the runtime path?

Thanks, Barry
--
Barry Duggan
cell: 256-426-0824



reply via email to

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