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:

http://gnuradio.org/redmine/projects/gnuradio/repository/revisions/b7d8980a6e9e070609b4270ad51d8a91ebfb60b2/entry/gr-audio/examples/c++/dial_tone.cc

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
TEMPLATE = app

SOURCES += main.cpp
mainwindow.cpp

HEADERS += mainwindow.h

FORMS += mainwindow.ui

LIBS +=/usr/lib/libboost_system.so
-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