Problem with gnuradio-runtime and gnuradio-pmt

I have a problem with running a C++ program by GNURadio library.
In fact, I decided to write my first C++ program by GNURadio library,
however, I’ve got some problems! The first problem is, I’ve installed
GNURadio 3.6.3 but all the c++ examples on the GNURadio website is
compatible with 3.7.0 or higher. I was trying to run the example called:
“dial tone” that I found it here:

I’m using QTcreator for programming.

After a lot of efforts, I found out that I should add the directory of
the GNURadio to the “.pro” file. I did it also add all the necessary
libraries so the “.pro” file is looking like this:


Project created by QtCreator 2013-09-25T13:56:38


QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = Dial_tone

SOURCES += main.cpp

HEADERS += mainwindow.h

FORMS += mainwindow.ui

LIBS +=/usr/lib/
-lgnuradio-digital -lgnuradio-runtime -lgnuradio-pmt
-lgnuradio-blocks -lgnuradio-analog
-lgnuradio-filter -lgnuradio-fft
-lgnuradio-audio -lgnuradio-uhd\

LIBS += -L/usr/local/lib -luhd

INCLUDEPATH += /usr/include/gnuradio
/usr/include/python2.7 \

however, when I run I got these errors:

error: cannot find -lgnuradio-runtime
error: cannot find -lgnuradio-pmt
error: collect2: ld returned 1 exit status

I didn’t find anything about these errors relevant to my case!

PLZ tell me what is the problem and how I could heal it!!?

thank you

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs