Giter Site home page Giter Site logo

tomneda / dabstar Goto Github PK

View Code? Open in Web Editor NEW
13.0 2.0 1.0 10.76 MB

A DAB receiver with a technical focus forked from Qt-DAB

License: GNU General Public License v2.0

CMake 1.20% C++ 62.67% C 35.31% HTML 0.70% QMake 0.03% Shell 0.10%
airspy dab dab-decoder dabplus hackrf hackrf-one radio receiver rtl-sdr sdr

dabstar's Issues

cannot build under Ubuntu 22.04 LTS

For many years, I have been building latest software packages from Jan (and contribute regularly, for example Qt-DAB) and have found your repository recently, so I tried to build DABstar under Ubuntu 22.04 LTS, but I couldn't.

I even have installed qwt 6.2.0 as mentioned in your readme.

[ 21%] Built target dabstar_autogen
[ 21%] Automatic RCC for resources.qrc
[ 22%] Building CXX object CMakeFiles/dabstar.dir/dabstar_autogen/mocs_compilation.cpp.o
In file included from /home/andreas/apps/DABstar/src/spectrum-viewer/spectrum-viewer.h:54,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/LEASYKLKX4/../../../src/main/radio.h:62,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/LEASYKLKX4/moc_radio.cpp:10,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/mocs_compilation.cpp:13:
/usr/include/qwt/qwt_plot_layout.h:84:51: warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = QwtPlotLayout::Option; QFlags<T>::Zero = int QFlags<QwtPlotLayout::Option>::Private::*]’ is deprecated: Use default constructor instead [-Wdeprecated-declarations]
   84 |         const QRectF &plotRect, Options options = 0x00 );
      |                                                   ^~~~
In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1299,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:43,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:48,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:46,
                 from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/2QFTGA3UNE/../../../src/backend/audio/faad-decoder.h:33,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/2QFTGA3UNE/moc_faad-decoder.cpp:10,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/mocs_compilation.cpp:2:
/usr/include/x86_64-linux-gnu/qt5/QtCore/qflags.h:123:80: note: declared here
  123 | ("Use default constructor instead") Q_DECL_CONSTEXPR inline QFlags(Zero) noexcept : i(0) {}
      |                                                             ^~~~~~

In file included from /home/andreas/apps/DABstar/build/dabstar_autogen/6MVTDBG76O/../../../src/spectrum-viewer/waterfall-scope.h:38,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/6MVTDBG76O/moc_waterfall-scope.cpp:10,
                 from /home/andreas/apps/DABstar/build/dabstar_autogen/mocs_compilation.cpp:27:
/home/andreas/apps/DABstar/src/scopes-qwt6/spectrogramdata.h:59:29: error: ‘QwtInterval SpectrogramData::interval(Qt::Axis) const’ marked ‘override’, but does not override
   59 |   [[nodiscard]] QwtInterval interval(Qt::Axis x) const override;
      |                             ^~~~~~~~
make[2]: *** [CMakeFiles/dabstar.dir/build.make:102: CMakeFiles/dabstar.dir/dabstar_autogen/mocs_compilation.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:124: CMakeFiles/dabstar.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2

On Archlinux

Hi Thomas,
I'm a French electronic teacher and I'm very interested with DABstar.
I work on Archlinux.
I succeeded with "cmake, make and make install".
When I run dabstar the GUI opens with 2 windows but I get the following messages :

[cderory@archlinux build]$ dabstar
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: too many profiles
spectrumViewer gezet op 100 100, staat op 100 100
libtii-lib.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
/usr/local/lib/tii-lib.so: Ne peut ouvrir le fichier d'objet partagé: Aucun fichier ou dossier de ce type
Library not loaded
init_tii_L not loaded
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: too many profiles
ALSA lib pcm_dsnoop.c:566:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2666:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_dmix.c:999:(snd_pcm_dmix_open) unable to open slave
Suggested size for outputbuffer = 0
stream opened
stream started
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: too many profiles
Erreur de segmentation (core dumped)

The last line "Erreur de segmentation (core dumped)" is when I close the application in the normal way.

Regards

Cyrille DERORY
Email : [email protected]

Building on Raspberry fails at 98%

Have compiled hackrf and qwt on my own, but building DABstar stops at 98%:

[ 98%] Building CXX object CMakeFiles/dabstar.dir/src/output/audiosink.cpp.o
In file included from /home/pi/apps/DABstar/src/support/viterbi-spiral/sse2neon.h:65,
                 from /home/pi/apps/DABstar/src/support/viterbi-spiral/spiral-neon.c:28:
/home/pi/apps/DABstar/src/support/viterbi-spiral/sse2neon.h: In function ‘_mm_setzero_si128’:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:16143:1: error: inlining failed in call to always_inline ‘vreinterpretq_s64_s32’: target specific option mismatch
 vreinterpretq_s64_s32 (int32x4_t __a)
 ^~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/apps/DABstar/src/support/viterbi-spiral/spiral-neon.c:28:
/home/pi/apps/DABstar/src/support/viterbi-spiral/sse2neon.h:146:36: note: called from here
 #define vreinterpretq_m128i_s32(x) vreinterpretq_s64_s32(x)
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/apps/DABstar/src/support/viterbi-spiral/sse2neon.h:350:12: note: in expansion of macro ‘vreinterpretq_m128i_s32’
     return vreinterpretq_m128i_s32(vdupq_n_s32(0));
            ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/pi/apps/DABstar/src/support/viterbi-spiral/sse2neon.h:65,
                 from /home/pi/apps/DABstar/src/support/viterbi-spiral/spiral-neon.c:28:
/usr/lib/gcc/arm-linux-gnueabihf/8/include/arm_neon.h:6733:1: error: inlining failed in call to always_inline ‘vdupq_n_s32’: target specific option mismatch
 vdupq_n_s32 (int32_t __a)
 ^~~~~~~~~~~
In file included from /home/pi/apps/DABstar/src/support/viterbi-spiral/spiral-neon.c:28:
/home/pi/apps/DABstar/src/support/viterbi-spiral/sse2neon.h:146:36: note: called from here
 #define vreinterpretq_m128i_s32(x) vreinterpretq_s64_s32(x)
                                    ^~~~~~~~~~~~~~~~~~~~~~~~
/home/pi/apps/DABstar/src/support/viterbi-spiral/sse2neon.h:350:12: note: in expansion of macro ‘vreinterpretq_m128i_s32’
     return vreinterpretq_m128i_s32(vdupq_n_s32(0));
            ^~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/dabstar.dir/build.make:1168: CMakeFiles/dabstar.dir/src/support/viterbi-spiral/spiral-neon.c.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet....
make[1]: *** [CMakeFiles/Makefile2:150: CMakeFiles/dabstar.dir/all] Fehler 2
make: *** [Makefile:130: all] Fehler 2

Any ideas?

This is my cmake:

 AIRSPY                           ON                                                                                                         
 CMAKE_BUILD_TYPE                                                                                                                            
 CMAKE_INSTALL_PREFIX             /usr/local/bin                                                                                             
 CONV_IN_FILES                    ON                                                                                                         
 DATA_STREAMER                    OFF                                                                                                        
 FDK_AAC                          OFF                                                                                                        
 HACKRF                           OFF                                                                                                        
 LIMESDR                          OFF                                                                                                        
 LSB_RELEASE                      /usr/bin/lsb_release                                                                                       
 PLUTO                            OFF                                                                                                        
 PTHREADS                         /usr/lib/arm-linux-gnueabihf/libpthread.so                                                                 
 Qt5Core_DIR                      /usr/lib/arm-linux-gnueabihf/cmake/Qt5Core                                                                 
 Qt5Gui_DIR                       /usr/lib/arm-linux-gnueabihf/cmake/Qt5Gui                                                                  
 Qt5Network_DIR                   /usr/lib/arm-linux-gnueabihf/cmake/Qt5Network                                                              
 Qt5Sql_DIR                       /usr/lib/arm-linux-gnueabihf/cmake/Qt5Sql                                                                  
 Qt5Widgets_DIR                   /usr/lib/arm-linux-gnueabihf/cmake/Qt5Widgets                                                              
 Qt5Xml_DIR                       /usr/lib/arm-linux-gnueabihf/cmake/Qt5Xml                                                                  
 RTLSDR_LINUX                     ON                                                                                                         
 RTLSDR_WIN                       OFF                                                                                                        
 RTL_TCP                          ON                                                                                                         
 SDRPLAY_V2                       OFF                                                                                                        
 SDRPLAY_V3                       OFF                                                                                                        
 UHD                              OFF                                                                                                        
 USE_FFT                          FFTW3                                                                                                      
 USE_HBF                          OFF                                                                                                        
 USE_LTO                          OFF                                                                                                        
 VITERBI_NEON                     ON                                                                                                         
 VITERBI_SSE                      OFF                                                                                                        

This is my CPU:

$ lscpu
Architecture:        armv7l
Byte Order:          Little Endian
CPU(s):              4
On-line CPU(s) list: 0-3
Thread(s) per core:  1
Core(s) per socket:  4
Socket(s):           1
Vendor ID:           ARM
Model:               4
Model name:          Cortex-A53
Stepping:            r0p4
CPU max MHz:         1300,0000
CPU min MHz:         1300,0000
BogoMIPS:            38.40
Flags:               half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.