Closed zygmund2000 closed 2 years ago
Which distribution is it? Did you install all dependencies mentioned in the PDF?
I have Arch linux and some time ago older version builds ok, I don't know what is missing now.
`CMake Warning (dev) in CMakeLists.txt: No project() command is present. The top-level CMakeLists.txt file must contain a literal, direct call to the project() command. Add a line of code such as
project(ProjectName)
near the top of the file, but after cmake_minimum_required().
CMake is pretending there is a "project(Project)" command on the first line. This warning is for project developers. Use -Wno-dev to suppress it.
-- The C compiler identification is GNU 11.1.0 -- The CXX compiler identification is GNU 11.1.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake.
Update the VERSION argument
-- Build type not specified: defaulting to release.
-- Found PkgConfig: /usr/bin/pkg-config (found version "1.8.0")
-- QWT Version: 6.2.0
-- Found Qwt: /usr/lib/libqwt.so
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PkgConfig)
does not match the name of the calling package (FFTW3f). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake-3.21/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args)
cmake/Modules/FindFFTW3f.cmake:6 (INCLUDE)
CMakeLists.txt:145 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for module 'fftw3f >= 3.0'
-- Found fftw3f , version 3.3.10
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(FFTW3F)
does not match the name of the calling package (FFTW3f). This can lead to
problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindFFTW3f.cmake:40 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:145 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found FFTW3F: /lib/libfftw3f.so
-- Found zlib:
-- Found LibSndFile: /usr/lib/libsndfile.so
-- Found LibSampleRate: /usr/lib/libsndfile.so
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PkgConfig)
does not match the name of the calling package (Portaudio). This can lead
to problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
/usr/share/cmake-3.21/Modules/FindPkgConfig.cmake:70 (find_package_handle_standard_args)
cmake/Modules/FindPortaudio.cmake:8 (include)
CMakeLists.txt:884 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Checking for module 'portaudio-2.0'
-- Found portaudio-2.0, version 19
-- Performing Test PORTAUDIO2_FOUND
-- Performing Test PORTAUDIO2_FOUND - Success
CMake Warning (dev) at /usr/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:438 (message):
The package name passed to find_package_handle_standard_args
(PORTAUDIO)
does not match the name of the calling package (Portaudio). This can lead
to problems in calling code that expects find_package
result variables
(e.g., _FOUND
) to follow a certain pattern.
Call Stack (most recent call first):
cmake/Modules/FindPortaudio.cmake:46 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:884 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
-- Found PORTAUDIO: /usr/include
-- Configuring done
-- Generating done`
dab-maxi/../includes/scopes-qwt6/spectrogramdata.h:55:9: error: ‘setInterval’ was not declared in this scope; did you mean ‘QwtInterval’? 55 | setInterval (Qt::XAxis, QwtInterval (left, left + width)); | ^
~~| QwtInterval
I discovered the same on Windows; includes/scopes-qwt6/spectrogramdata.h
lacks some headers:
#include <qwt_matrix_raster_data.h>
#include <qwt_interval.h>
But Qwt is in such a shitty state that I've started rewriting Qt-DAB into using ImGui and ImPlot.
what version of wet you are using. As far as I understiid, version 6.?? removed the specs of thw function setInterval
Op vr 22 okt. 2021 om 09:55 schreef zygmund2000 @.***>:
Hi, I have some errors when compilinig, probably easy to fix:
dab-maxi/../includes/scopes-qwt6/spectrogramdata.h:55:9: error: ‘setInterval’ was not declared in this scope; did you mean ‘QwtInterval’? 55 | setInterval (Qt::XAxis, QwtInterval (left, left + width)); | ^
~~| QwtInterval— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/qt-dab/issues/237, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQC4DWRY3CFORL6A3EDUIEKHNANCNFSM5GP5KV2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Jan van Katwijk
read qwr
Op vr 22 okt. 2021 om 19:46 schreef jan van katwijk @.***
:
what version of wet you are using. As far as I understiid, version 6.?? removed the specs of thw function setInterval
Op vr 22 okt. 2021 om 09:55 schreef zygmund2000 @.***
:
Hi, I have some errors when compilinig, probably easy to fix:
dab-maxi/../includes/scopes-qwt6/spectrogramdata.h:55:9: error: ‘setInterval’ was not declared in this scope; did you mean ‘QwtInterval’? 55 | setInterval (Qt::XAxis, QwtInterval (left, left + width)); | ^
~~| QwtInterval— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/qt-dab/issues/237, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQC4DWRY3CFORL6A3EDUIEKHNANCNFSM5GP5KV2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Jan van Katwijk
-- Jan van Katwijk
The ussie probably has to do with a change from QWT 6.1X to QWR 6.2 I do not have QWT 6.2 (yet), but I added a compiletime test for the version and commented out the offending function calls when the version is 6.2 or more
Give it a try
Op vr 22 okt. 2021 om 09:55 schreef zygmund2000 @.***>:
Hi, I have some errors when compilinig, probably easy to fix:
dab-maxi/../includes/scopes-qwt6/spectrogramdata.h:55:9: error: ‘setInterval’ was not declared in this scope; did you mean ‘QwtInterval’? 55 | setInterval (Qt::XAxis, QwtInterval (left, left + width)); | ^
~~| QwtInterval— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/qt-dab/issues/237, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQC4DWRY3CFORL6A3EDUIEKHNANCNFSM5GP5KV2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Jan van Katwijk
Yes I have QWT 6.2 and removed setInterval from spectrogramdata.h and now I don't have errors, qt-dab runs again.
Good to hear. The file spectrogramdata.h file now has the calls enclosed in a compile time conditional, so that when using qwt6.1 you get the calls and when compiling with qwt6.2 they are not compiled
Op za 23 okt. 2021 om 11:22 schreef zygmund2000 @.***>:
Yes I have QWT 6.2 and removed setInterval from spectrogramdata.h and now I don't have errors, qt-dab runs again.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/JvanKatwijk/qt-dab/issues/237#issuecomment-950123015, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACCPHQHHBRNJZZBSXTYVCDLUIJ5G7ANCNFSM5GP5KV2A . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
-- Jan van Katwijk
Hi, I have some errors when compilinig, probably easy to fix:
dab-maxi/../includes/scopes-qwt6/spectrogramdata.h:55:9: error: ‘setInterval’ was not declared in this scope; did you mean ‘QwtInterval’? 55 | setInterval (Qt::XAxis, QwtInterval (left, left + width)); | ^~~~~~~~~~~ | QwtInterval