discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Help with building a VHF-UHF SDR application on D


From: Adrian Musceac
Subject: Re: [Discuss-gnuradio] Help with building a VHF-UHF SDR application on Debian Jessie (using Gnuradio 3.7.10)
Date: Tue, 20 Jun 2017 12:13:07 +0000

Hi Cinaed,
Respectfully, I believe there is a misunderstanding. The application is called 
qradiolink and it transmits and receives digital voice/data using either Codec2 
or Opus for audio. I run it on an Android phone for portable SDR 
experimentation in various UHF/SHF bands. This is amateur radio research, not a 
serious thing. I hope to use it someday on sattelite transponders :)

Best regards,
Adrian

On 20 June 2017 00:35:34 GMT+01:00, Cinaed Simson <address@hidden> wrote:
>On 06/19/2017 02:39 PM, Adrian Musceac wrote:
>> Hi Cinaed,
>> Thanks for your prompt response and the qt4 clarification. I will
>settle for qt4 now as building gnuradio against qt5 would be too much
>effort.
>
>If you want to port gnuradio to qt5, you would need to checkout the
>entire source tree from github.
>
>State clearly what it is you're trying to do.
>
>And once again, gnuradio-qtgui is *NOT* an application. It's a library
>which gets installed when install the gnuradio binaries. gnuradio
>already has qt4 built into it.
>
>Type
>
>  find / -name libgnuradio-qtgui
>
>> But the header issue still stands, it looks like the include path is
>wrong, at least on Debian.
>
>What header issue? Why would there be header issue? You installed
>gnuradio binaries - you didn't install the gnuradio source.
>
>>I don't know if this is just a Debian package issue or whether it
>belongs here.
>
>It's most likely operator error. There a lot of reaons why you would
>have trouble - the most unlikly would be a problem with Debian
>packages.
>
>-- Cinaed
>
>
>> Cheers,
>> Adrian
>> 
>> On 19 June 2017 22:28:24 GMT+01:00, Cinaed Simson
><address@hidden> wrote:
>>> On 06/19/2017 01:05 PM, Adrian Musceac wrote:
>>>> Hi fellow Debian hams and Gnuradio experts,
>>>>
>>>> I am currently trying to build a SDR experimental application based
>>> on
>>>> Gnuradio for digital voice and data communications in the amateur
>>> radio
>>>> VHF-UHF bands [1][2]. I am using Gnuradio 3.7.10 on Debian
>GNU/Linux
>>>> from jessie-backports. I ran into some problems which I will
>describe
>>>> below and which may be solved with your kind help.
>>>
>>> You need
>>>
>>>  apt-get install gnuradio-dev
>>>
>>>
>>>>
>>>> 1. Trying to build gnuradio-qtgui support in, I encountered these
>>> errors:
>>>> g++ -c -pipe -O2 -D_REENTRANT -Wall -W -DQT_WEBKIT -DQT_NO_DEBUG
>>>> -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB
>-DQT_SHARED
>>>> -I/usr/share/qt4/mkspecs/linux-g++ -I../../qradiolink_mobile
>>>> -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
>>>> -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtSql
>-I/usr/include/qt4
>>> -I.
>>>> -I. -I../../qradiolink_mobile -I. -o dtmfcommand.o
>../dtmfcommand.cpp
>>>> In file included from
>/usr/include/gnuradio/qtgui/number_sink.h:32:0,
>>>>                  from ../gr/gr_demod_bpsk_sdr.h:27,
>>>>                  from ../gr/gr_modem.h:38,
>>>>                  from ../radioop.h:39,
>>>>                  from ../main.cpp:41:
>>>> /usr/include/gnuradio/qtgui/qtgui_types.h:26:27: fatal error:
>>>> qwt_color_map.h: No such file or directory
>>>>  #include <qwt_color_map.h>
>>>>   
>>>
>>> First, there is no application called gnuradio-qtgui - it's a
>gnuradio
>>> module or library, namely,
>>>
>>>  libgnuradio-qtgui-3.7.11.so.0
>>>
>>> And yes, gnuradio needs to qt4 to build.
>>>
>>> Make sure you have
>>>
>>>  apt-get install libqwt-dev
>>>  apt-get install python-qwt5-qt4
>>>
>>>> compilation terminated.
>>>>
>>>> It seems as if the relevant header from gnuradio references the
>wrong
>>>> path of QWT. I can make it build by editing the headers to provide
>>> the
>>>> QWT directory:
>>>> #include <qwt/qwt_color_map.h>
>>>> #include <qwt/qwt_scale_draw.h>
>>>>
>>>> It may be that this is relevant only to Debian packages from
>>>> Jessie-backports, or it may be a larger issue.
>>>>
>>>> 2. When trying to build the application using QT 5.3 as provided by
>>>> Debian, it links fine, but the application segfaults when running.
>>> The
>>>> build works fine with QT 4.8, which makes me think that
>>> gnuradio-qtgui
>>>> in Debian does not support QT5. Would be great to clear this. I can
>>>> provide backtraces if required.
>>>
>>> Correct - gnuradio currently needs qt4 to build. But Debian already
>>> built gnuradio for you.
>>>
>>> Note, there are gnuradio applications - like gqrx or inspectrum
>which
>>> need qt5 installed - which isn't a problem because they're linking
>to
>>> the gnuradio libraries and providing their own gni software - and
>not
>>> linking to libgnuradio-qtgui.
>>>
>>> Check to see if
>>>
>>>  gnuradio-companion
>>>
>>> works.
>>>
>>> You'll have the choice of either using WX or QT widgets - QT is
>>> recommended since WX will be removed in the next major release.
>>>
>>> -- Cinaed
>>>
>>>
>>>>
>>>> With thanks for the wonderful packages your communities are
>>> providing,
>>>> Adrian (YO8RZZ)
>>>>
>>>> [1] https://github.com/kantooon/qradiolink
>>>> [2] https://www.youtube.com/watch?v=93nWWASt5a4
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Discuss-gnuradio mailing list
>>>> address@hidden
>>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>>>
>>>
>>>
>>> _______________________________________________
>>> Discuss-gnuradio mailing list
>>> address@hidden
>>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> 

-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



reply via email to

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