-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
qmake qtdab.pro error #8
Comments
You probably have the wrong path for qwt.
The easiest thing to do would be to comment "spectrum" out, then you would
not get qwt to be included
j
2017-02-12 18:58 GMT+01:00 WOlsen80 <[email protected]>:
… Hi,
I'm hoping that some could help with the error below?
Thanks
***@***.***:/qt-dab $ qmake qt-dab.pro
***@***.***:/qt-dab $ make
g++ -c -pipe -flto -ffast-math -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT
-DTECHNICAL_DATA -DMSC_DATA__ -DTRY_EPG -DHAVE_SPECTRUM -DHAVE_DABSTICK
-DHAVE_RTL_TCP -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB
-DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I.
-I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork
-I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I.
-I. -Isrc -Iincludes -Iincludes/ofdm -Iincludes/backend
-Iincludes/backend/audio -Iincludes/backend/data
-Iincludes/backend/data/epg -Iincludes/backend/data/journaline
-Iincludes/output -Iincludes/various -Isrc/input -Isrc/input/rawfiles
-Isrc/input/wavfiles -I/usr/local/include -I/usr/include/qt5/qwt
-Iincludes/scopes-qwt6 -Iincludes/scopes-qwt6 -Ioptional-scope
-I/home/jan/rtl-sdr/include -Isrc/input/dabstick -Isrc/input/rtl_tcp -I.
-I. -o radio.o radio.cpp
In file included from optional-scope/spectrum-handler.h:42:0,
from radio.cpp:71:
./ui_scopewidget.h:19:22: fatal error: qwt_plot.h: No such file or
directory
#include "qwt_plot.h"
^
compilation terminated.
Makefile:591: recipe for target 'radio.o' failed
make: *** [radio.o] Error 1
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#8>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITzwDBHTBcySMaAEMZIU_z5St5XSPJYks5rb0gugaJpZM4L-j2_>
.
--
Jan van Katwijk
+31 (0)15 3698980
+31 (0) 628260355
|
In my case I've added the correct path to qwt (I've used git clone) in qt-dab.pro-file:
Then it works with the spectrum ... |
Seems |
The correct include path strongly depends on the distribution. I have see
/usr/include/qwt /usr/include/qt5/qwt /usr/include/qt4/qwt
so it is pretty hard to have a generci solution
j
2017-02-12 20:53 GMT+01:00 andimik <[email protected]>:
… Seems INCLUDEPATH += /usr/local/include /usr/include/qwt is working as
well
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITzwOd8eGwSzYaL8Ybpk19wYKvy3PVtks5rb2NFgaJpZM4L-j2_>
.
--
Jan van Katwijk
+31 (0)15 3698980
+31 (0) 628260355
|
Sorry, I had several installations of qwt (before I found out why building of sdr-j failed). Now I found the correct path (when downloading it from the homepage), where it is installed, see also http://qwt.sourceforge.net/qwtinstall.html
See qwtconfig.pri in the qwt-directory.
|
I commented out specrum and everything ran perfectly and i'm not up and running! I'm putting together a car stereo replacement built around a RPi3 as a hobby project and Qt-DAB is just what I've been looking for to get DAB radio into my car. Thanks for the help |
Good to hear.
2017-02-13 14:14 GMT+01:00 WOlsen80 <[email protected]>:
… I commented out specrum and everything ran perfectly and i'm not up and
running!
I'm putting together a car stereo replacement built around a RPi3 as a
hobby project and Qt-DAB is just what I've been looking for to get DAB
radio into my car.
Thanks for the help
W
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITzwMLBdaWlUilZlmFdjRl_Qbtpzdmiks5rcFc1gaJpZM4L-j2_>
.
--
Jan van Katwijk
+31 (0)15 3698980
+31 (0) 628260355
|
That does not solve the problem, in a mixed qt4/qt5 environment I find qwt
at /usr/include/qt5/qwt
j
2017-02-12 23:29 GMT+01:00 andimik <[email protected]>:
… Sorry, I had several installations of qwt (before I found out why building
of sdr-j failed).
Now I found the *correct* path, where it is installed, see also
http://qwt.sourceforge.net/qwtinstall.html
/usr/local/qwt-6.1.3
See qwtconfig.pri in the qwt-directory.
QWT_INSTALL_PREFIX = /usr/local/qwt-$$QWT_VERSION
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITzwPS3F2jhYYL1rN6Uw9qD9y77qbuHks5rb4fcgaJpZM4L-j2_>
.
--
Jan van Katwijk
+31 (0)15 3698980
+31 (0) 628260355
|
Yes, I agree with you, there are some possibilities. But why not list all these paths? I'm pretty sure questions like this above would be much fewer... |
Suggestions?
best
j
2017-02-13 18:56 GMT+01:00 andimik <[email protected]>:
… Yes, I agree with you, there are some possibilities. But why not list all
these paths? I'm pretty sure questions like this above would be much
fewer...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AITzwCwMV467-fMpfjcdMlo17DUTo9Ynks5rcJkygaJpZM4L-j2_>
.
--
Jan van Katwijk
+31 (0)15 3698980
+31 (0) 628260355
|
Very easy suggestion: Change the line 169 to
It works even if one of the paths does not exist, for example some lines below:
;-) |
@andimik, is the double occurrence of |
Well, I don't know at the moment, but I think you're right. But wrong paths seem to be ignored (see above) |
Hi,
I'm hoping that some could help with the error below?
Thanks
pi@raspberrypi:
/qt-dab $ qmake qt-dab.pro/qt-dab $ makepi@raspberrypi:
g++ -c -pipe -flto -ffast-math -O2 -Wall -W -D_REENTRANT -DQT_WEBKIT -DTECHNICAL_DATA -DMSC_DATA__ -DTRY_EPG -DHAVE_SPECTRUM -DHAVE_DABSTICK -DHAVE_RTL_TCP -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4 -I. -I. -Isrc -Iincludes -Iincludes/ofdm -Iincludes/backend -Iincludes/backend/audio -Iincludes/backend/data -Iincludes/backend/data/epg -Iincludes/backend/data/journaline -Iincludes/output -Iincludes/various -Isrc/input -Isrc/input/rawfiles -Isrc/input/wavfiles -I/usr/local/include -I/usr/include/qt5/qwt -Iincludes/scopes-qwt6 -Iincludes/scopes-qwt6 -Ioptional-scope -I/home/jan/rtl-sdr/include -Isrc/input/dabstick -Isrc/input/rtl_tcp -I. -I. -o radio.o radio.cpp
In file included from optional-scope/spectrum-handler.h:42:0,
from radio.cpp:71:
./ui_scopewidget.h:19:22: fatal error: qwt_plot.h: No such file or directory
#include "qwt_plot.h"
^
compilation terminated.
Makefile:591: recipe for target 'radio.o' failed
make: *** [radio.o] Error 1
The text was updated successfully, but these errors were encountered: