cropinghigh / sdrpp-tetra-demodulator

Tetra demodulator plugin for SDR++ (output can be fed to tetra-rx from osmo-tetra)
GNU General Public License v3.0
74 stars 16 forks source link

Error compilation [Resolved] #3

Closed RF-TEC closed 2 years ago

RF-TEC commented 2 years ago

Hello,

I want to congratulate you on your work.

Beforehand, I installed SDR++ release v1.0.4 of SQ5BPF which works normally, I also have the source code of 2021.

Then I ran these commands as shown (Install SDR++ core headers to /usr/include/sdrpp_core/):

git clone https://github.com/AlexandreRouma/SDRPlusPlus.git
cd SDRPlusPlus/core/src
sudo mkdir /usr/include/sdrpp_core/
sudo cp -r * /usr/include/sdrpp_core/

Now I encounter an error when compiling the plugin with the /dsp files:

user@user-System-Product-Name:~/sdrpp-tetra-demodulator/build$ make

[ 50%] Building CXX object CMakeFiles/tetra_demodulator.dir/src/main.cpp.o
In file included from /home/user/sdrpp-tetra-demodulator/src/main.cpp:20:
/home/user/sdrpp-tetra-demodulator/src/symbol_extractor.h:2:10: fatal error: dsp/processor.h: No such file or directory
    2 | #include <dsp/processor.h>
      | ^~~~~~~~~~~~~~~~~

compilation terminated.

make[2]: *** [CMakeFiles/tetra_demodulator.dir/build.make:63: CMakeFiles/tetra_demodulator.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/tetra_demodulator.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Besides, I tried to compile the development sources including the SDR++ bugfixes, but that does not solve the problem, an error in the makefile does not allow to start the compilation

I am using a GNU/Linux Mint Mate 20.04 distro (Fork of Ubuntu 20.4)

Please, thank you for your support

RF-TEC France

cropinghigh commented 2 years ago

Hello. Can you please send result of ls -lah /usr/include/sdrpp_core/dsp/ command?

RF-TEC commented 2 years ago

Thank for your support,

Response of the console is :

total 124K

drwxr-xr-x 21 root root 4,0K juil. 23 21:19 .
drwxr-xr-x 22 root root 4,0K juil. 23 21:19 ..
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 audio
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 bench
-rw-r--r--  1 root root 3,3K juil. 23 21:19 block.h
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 buffer
-rw-r--r--  1 root root 5,8K juil. 23 21:19 chain.h
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 channel
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 clock_recovery
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 compression
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 convert
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 correction
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 demod
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 digital
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 filter
-rw-r--r--  1 root root 2,0K juil. 23 21:19 hier_block.h
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 loop
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 math
drwxr-xr-x  3 root root 4,0K juil. 23 21:19 multirate
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 noise_reduction
-rw-r--r--  1 root root 1,8K juil. 23 21:19 operator.h
-rw-r--r--  1 root root 1,9K juil. 23 21:19 processor.h
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 routing
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 sink
-rw-r--r--  1 root root  718 juil. 23 21:19 sink.h
-rw-r--r--  1 root root  370 juil. 23 21:19 source.h
-rw-r--r--  1 root root 3,6K juil. 23 21:19 stream.h
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 taps
-rw-r--r--  1 root root 3,2K juil. 23 21:19 types.h
drwxr-xr-x  2 root root 4,0K juil. 23 21:19 window

SDR++ compilation went well (y)

For SDR++

mkdir /user/include/sdrpp_core/
cd /user/include/sdrpp_core/
git clone https://github.com/AlexandreRouma/SDRPlusPlus.git 
cd SDRPlusPlus/core/src
cp -r * /usr/include/sdrpp_core/
cmake ..
make

But, for plugin sdrpp-tetra-demodulator :

The compilation seems to proceed normally, and an error message appears :

cd /user/include/sdrpp_core/
git clone https://github.com/cropinghigh/sdrpp-tetra-demodulator.git
cd 
cd SDRPlusPlus/core/src
cp -r * /usr/include/sdrpp_core/
cd
cd /usr/include/sdrpp_core/sdrpp-tetra-demodulator
cmake ..
make

Response of the console:


Scanning dependencies of target correct-reed-solomon
[  1%] Building C object core/libcorrect/src/reed-solomon/CMakeFiles/correct-reed-solomon.dir/polynomial.c.o
[  1%] Building C object core/libcorrect/src/reed-solomon/CMakeFiles/correct-reed-solomon.dir/reed-solomon.c.o
[  2%] Building C object core/libcorrect/src/reed-solomon/CMakeFiles/correct-reed-solomon.dir/encode.c.o
[  3%] Building C object core/libcorrect/src/reed-solomon/CMakeFiles/correct-reed-solomon.dir/decode.c.o
[  3%] Built target correct-reed-solomon
Scanning dependencies of target correct-convolutional
[  4%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/bit.c.o
[  5%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/metric.c.o
[  5%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/history_buffer.c.o
/usr/include/sdrpp_core/core/libcorrect/src/convolutional/history_buffer.c: In function ‘history_buffer_search’:
/usr/include/sdrpp_core/core/libcorrect/src/convolutional/history_buffer.c:57:12: warning: ‘bestpath’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   57 |     return bestpath;
      |            ^~~~~~~~
[  6%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/error_buffer.c.o
[  8%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/lookup.c.o
[  8%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/convolutional.c.o
[  9%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/encode.c.o
[ 10%] Building C object core/libcorrect/src/convolutional/CMakeFiles/correct-convolutional.dir/decode.c.o
[ 10%] Built target correct-convolutional
Scanning dependencies of target correct_static
[ 10%] Linking C static library lib/libcorrect.a
[ 10%] Built target correct_static
Scanning dependencies of target sdrpp_core
[ 11%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/command_args.cpp.o
[ 12%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/config.cpp.o
[ 12%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/core.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/core.cpp:4:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 13%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/credits.cpp.o
[ 15%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/colormaps.cpp.o
[ 15%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/dialogs/credits.cpp.o
[ 16%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/dialogs/loading_screen.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/gui/dialogs/loading_screen.cpp:2:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 17%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/gui.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/gui/gui.h:7,
                 from /usr/include/sdrpp_core/core/src/gui/gui.cpp:1:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 18%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/icons.cpp.o
[ 18%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/main_window.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.cpp:1:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 19%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/menus/bandplan.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/gui/gui.h:7,
                 from /usr/include/sdrpp_core/core/src/gui/menus/bandplan.cpp:3:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 20%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/menus/display.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/gui/gui.h:7,
                 from /usr/include/sdrpp_core/core/src/gui/menus/display.cpp:3:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 20%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/menus/module_manager.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/gui/gui.h:7,
                 from /usr/include/sdrpp_core/core/src/gui/dialogs/dialog_box.h:5,
                 from /usr/include/sdrpp_core/core/src/gui/menus/module_manager.cpp:6:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 22%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/menus/sink.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/iq_frontend.h:8,
                 from /usr/include/sdrpp_core/core/src/signal_path/signal_path.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/menus/sink.cpp:2:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<T>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[ 23%] Building CXX object core/CMakeFiles/sdrpp_core.dir/src/gui/menus/source.cpp.o
In file included from /usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/core/src/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/core/src/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/core/src/gui/gui.h:7,
                 from /usr/include/sdrpp_core/core/src/gui/menus/source.cpp:3:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/core/src/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

^Cmake[2]: *** [core/CMakeFiles/sdrpp_core.dir/build.make:245: core/CMakeFiles/sdrpp_core.dir/src/gui/menus/source.cpp.o] Interrompre
make[1]: *** [CMakeFiles/Makefile2:779: core/CMakeFiles/sdrpp_core.dir/all] Interrompre
make: *** [Makefile:130: all] Interrompre
cropinghigh commented 2 years ago

Ty for your answer. It looks like you have copied entire program to the /usr/include/sdrpp_core directory, and cmake started building SDR++ itself instead of just one module. Please, delete everything in /usr/include/sdrpp_core, then use these commands to install headers:

cd /tmp
git clone https://github.com/AlexandreRouma/SDRPlusPlus.git 
cd "SDRPlusPlus/core/src"
sudo mkdir -p "/usr/include/sdrpp_core"
sudo find . -regex ".*\.\(h\|hpp\)" -exec cp --parents \{\} "/usr/include/sdrpp_core" \;

Then try to compile the module again:

cd /tmp
git clone https://github.com/cropinghigh/sdrpp-tetra-demodulator.git
cd sdrpp-tetra-demodulator
mkdir build
cd build
cmake ..
make -jX
sudo make install
RF-TEC commented 2 years ago

It's perfect, the compilation of the plug-in went well with this procedure.

(For the command "make -jX" : The X I don't know what it corresponds to, I replaced it with a positive integer "1")

SDR++ works normally.

Please, now, how can i add the plug-in in the module manager?

Thanks you so much !

cropinghigh commented 2 years ago

Just select the module type from list(tetra_demodulator), choose a name(could be anything), and press "+" button изображение

RF-TEC commented 2 years ago

The module does not appear in the list

cropinghigh commented 2 years ago

Check the /usr/lib/sdrpp/plugins folder for "tetra_demodulator.so" file, also restart your sdrpp if you haven't already done it. If that won't help, give me output of sdrpp in the console.

RF-TEC commented 2 years ago

Indeed, the file "tetra_demodulator.so does not appear in folder /usr/lib/sdrpp/plugins

There is two errors and a warning in the output in the console :

user@user-System-Product-Name:~$ sdrpp

[2022-07-23 22:41:35.255] [info] SDR++ v1.0.4
[2022-07-23 22:41:35.255] [info] Loading config
[2022-07-23 22:41:35.383] [info] Using OpenGL 3.0
[2022-07-23 22:41:35.593] [info] Loading icons
[2022-07-23 22:41:35.608] [info] Loading band plans
[2022-07-23 22:41:35.624] [info] Loading band plans color table
[2022-07-23 22:41:35.658] [info] Loading modules
[2022-07-23 22:41:35.658] [info] Loading /usr/lib/sdrpp/plugins/rigctl_server.so
[2022-07-23 22:41:35.661] [info] Loading /usr/lib/sdrpp/plugins/soapy_source.so
[2022-07-23 22:41:35.677] [info] Loading /usr/lib/sdrpp/plugins/spyserver_source.so
[2022-07-23 22:41:35.692] [info] Loading /usr/lib/sdrpp/plugins/radio.so
[2022-07-23 22:41:35.711] [info] Loading /usr/lib/sdrpp/plugins/network_sink.so
[2022-07-23 22:41:35.725] [info] Loading /usr/lib/sdrpp/plugins/limesdr_source.so
[2022-07-23 22:41:35.744] [info] Loading /usr/lib/sdrpp/plugins/discord_integration.so
[2022-07-23 22:41:35.759] [info] Loading /usr/lib/sdrpp/plugins/recorder.so
[2022-07-23 22:41:35.775] [info] Loading /usr/lib/sdrpp/plugins/bladerf_source.so
[2022-07-23 22:41:35.793] [info] Loading /usr/lib/sdrpp/plugins/rtl_sdr_source.so
[2022-07-23 22:41:35.808] [info] Loading /usr/lib/sdrpp/plugins/m17_decoder.so
[2022-07-23 22:41:35.828] [info] Loading /usr/lib/sdrpp/plugins/meteor_demodulator.so
[2022-07-23 22:41:35.843] [info] Loading /usr/lib/sdrpp/plugins/airspy_source.so
[2022-07-23 22:41:35.858] [info] Loading /usr/lib/sdrpp/plugins/new_portaudio_sink.so
[2022-07-23 22:41:35.878] [info] Loading /usr/lib/sdrpp/plugins/hackrf_source.so
[2022-07-23 22:41:35.893] [info] Loading /usr/lib/sdrpp/plugins/airspyhf_source.so
[2022-07-23 22:41:35.910] [info] Loading /usr/lib/sdrpp/plugins/audio_sink.so
[2022-07-23 22:41:35.933] [info] Loading /usr/lib/sdrpp/plugins/frequency_manager.so
[2022-07-23 22:41:35.943] [warning] ConfigManager locked, waiting...
[2022-07-23 22:41:35.943] [info] Loading /usr/lib/sdrpp/plugins/sdrplay_source.so
[2022-07-23 22:41:35.958] [error] Couldn't load /usr/lib/sdrpp/plugins/sdrplay_source.so.
[2022-07-23 22:41:35.959] [info] Loading /usr/lib/sdrpp/plugins/rtl_tcp_source.so
[2022-07-23 22:41:35.976] [info] Loading /usr/lib/sdrpp/plugins/plutosdr_source.so
[2022-07-23 22:41:35.996] [info] Loading /usr/lib/sdrpp/plugins/file_source.so
[2022-07-23 22:41:36.008] [info] Loading /usr/lib/sdrpp/plugins/weather_sat_decoder.so
[2022-07-23 22:41:36.027] [info] Initializing Airspy Source (airspy_source)
[2022-07-23 22:41:36.050] [info] Initializing AirspyHF+ Source (airspyhf_source)
[2022-07-23 22:41:36.069] [info] Initializing Audio Sink (audio_sink)
[2022-07-23 22:41:36.074] [info] Initializing BladeRF Source (bladerf_source)
[2022-07-23 22:41:36.110] [error] Could not list devices -7
[2022-07-23 22:41:36.110] [info] Initializing File Source (file_source)
[2022-07-23 22:41:36.110] [info] Initializing Frequency Manager (frequency_manager)
[2022-07-23 22:41:36.125] [info] Initializing HackRF Source (hackrf_source)
[2022-07-23 22:41:36.154] [info] Initializing LimeSDR Source (limesdr_source)
[2022-07-23 22:41:36.163] [info] Initializing Network Sink (network_sink)
[2022-07-23 22:41:36.174] [info] Initializing RTL-SDR Source (rtl_sdr_source)
[2022-07-23 22:41:36.201] [info] Initializing RTL-TCP Source (rtl_tcp_source)
[2022-07-23 22:41:36.208] [info] Initializing Recorder (recorder)
[2022-07-23 22:41:36.225] [info] Initializing Rigctl Server (rigctl_server)
[2022-07-23 22:41:36.241] [info] Initializing SoapySDR Source (soapy_source)
[INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; UHD_3.15.0.0-2build5
[2022-07-23 22:41:36.909] [info] Setting sample rate to 44100.0
[2022-07-23 22:41:36.909] [info] New DSP samplerate: 44100.0 (source samplerate is 44100.0)
[2022-07-23 22:41:36.910] [info] Updating FFT DSP settings: Keep: 2205, Skip: 0
[2022-07-23 22:41:36.910] [info] Initializing SpyServer Source (spyserver_source)
[2022-07-23 22:41:36.911] [info] Initializing radio (radio)
[2022-07-23 22:41:37.232] [info] RtAudio stream open
[2022-07-23 22:41:37.233] [info] Loading color maps
[2022-07-23 22:41:37.241] [info] Loading /usr/share/sdrpp/colormaps/inferno.json
[2022-07-23 22:41:37.257] [info] Loading /usr/share/sdrpp/colormaps/gqrx.json
[2022-07-23 22:41:37.274] [info] Loading /usr/share/sdrpp/colormaps/viridis.json
[2022-07-23 22:41:37.291] [info] Loading /usr/share/sdrpp/colormaps/turbo.json
[2022-07-23 22:41:37.307] [info] Loading /usr/share/sdrpp/colormaps/classic.json
[2022-07-23 22:41:37.324] [info] Loading /usr/share/sdrpp/colormaps/websdr.json
[2022-07-23 22:41:37.341] [info] Loading /usr/share/sdrpp/colormaps/magma.json
[2022-07-23 22:41:37.357] [info] Loading /usr/share/sdrpp/colormaps/greyscale.json
[2022-07-23 22:41:37.374] [info] Loading /usr/share/sdrpp/colormaps/electric.json
[2022-07-23 22:41:37.391] [info] Loading /usr/share/sdrpp/colormaps/classic_green.json
[2022-07-23 22:41:37.407] [info] Loading /usr/share/sdrpp/colormaps/plasma.json
[2022-07-23 22:41:37.455] [info] New DSP samplerate: 250000.0 (source samplerate is 250000.0)
[2022-07-23 22:41:37.456] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-23 22:41:37.456] [info] RTLSDRSourceModule 'RTL-SDR Source': Menu Select!
[2022-07-23 22:41:37.457] [info] New DSP samplerate: 250000.0 (source samplerate is 250000.0)
[2022-07-23 22:41:37.457] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-23 22:41:37.699] [info] RtAudio stream open
[2022-07-23 22:41:37.740] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-23 22:41:37.741] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-23 22:41:37.742] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-23 22:41:37.742] [info] RTLSDRSourceModule 'RTL-SDR Source': Tune: 240004232.3291626!
[2022-07-23 22:41:37.742] [info] Running post-init for Airspy Source
[2022-07-23 22:41:37.742] [info] Running post-init for AirspyHF+ Source
[2022-07-23 22:41:37.742] [info] Running post-init for Audio Sink
[2022-07-23 22:41:37.742] [info] Running post-init for BladeRF Source
[2022-07-23 22:41:37.742] [info] Running post-init for File Source
[2022-07-23 22:41:37.742] [info] Running post-init for Frequency Manager
[2022-07-23 22:41:37.742] [info] Running post-init for HackRF Source
[2022-07-23 22:41:37.742] [info] Running post-init for LimeSDR Source
[2022-07-23 22:41:37.742] [info] Running post-init for Network Sink
[2022-07-23 22:41:37.742] [info] Running post-init for RTL-SDR Source
[2022-07-23 22:41:37.742] [info] Running post-init for RTL-TCP Source
[2022-07-23 22:41:37.742] [info] Running post-init for Recorder
[2022-07-23 22:41:37.743] [info] Running post-init for Rigctl Server
[2022-07-23 22:41:37.743] [info] Running post-init for SoapySDR Source
[2022-07-23 22:41:37.743] [info] Running post-init for SpyServer Source
[2022-07-23 22:41:37.743] [info] Running post-init for radio
[2022-07-23 22:41:37.743] [info] Ready.
cropinghigh commented 2 years ago

That's strange. Are you sure you have ran "make -jX"(x is the number of cores in your CPU, to make compilation as fast as possible, 1 is also valid) and "sudo make install" in the tetra-demodulator build folder and there were no errors?

RF-TEC commented 2 years ago

Thanks for -jX, I did not know.

Yes, i entered the command "sudo make install" correctly in build tetra-demodulator folder and there was no error, the compilation went very well

cropinghigh commented 2 years ago

Maybe there are some directory problems. Can you check the /usr/local/lib/sdrpp/plugins folder for the module?

RF-TEC commented 2 years ago

/sdrpp folder does not appear in /usr/local/lib/ folder

cropinghigh commented 2 years ago

Then can you please give me output of the "sudo make install" command?

RF-TEC commented 2 years ago

Please, in which directory to perform this command ?

cropinghigh commented 2 years ago

In the tetra-demodulator module build folder

RF-TEC commented 2 years ago

Return of console in /build folder :

/bin/sh: 1: cd: can't cd to /home/user/sdrpp-tetra-demodulator/build
make[2]: *** [CMakeFiles/tetra_demodulator.dir/build.make:96 : CMakeFiles/tetra_demodulator.dir/depend] Erreur 2
make[1]: *** [CMakeFiles/Makefile2:75 : CMakeFiles/tetra_demodulator.dir/all] Erreur 2
make: *** [Makefile:130 : all] Erreur 2
cropinghigh commented 2 years ago

I don't sure what's going on there. Try to remove build directory and rebuild everything again and give me outputs of every command from "git clone ...tetra-demodulator" to "sudo make install"

RF-TEC commented 2 years ago
user@user-System-Product-Name:~$ cd /tmp

user@user-System-Product-Name:/tmp$ git clone https://github.com/cropinghigh/sdrpp-tetra-demodulator.git
Clonage dans 'sdrpp-tetra-demodulator'...
remote: Enumerating objects: 20, done.
remote: Counting objects: 100% (20/20), done.
remote: Compressing objects: 100% (14/14), done.
remote: Total 20 (delta 6), reused 18 (delta 6), pack-reused 0
Dépaquetage des objets: 100% (20/20), 8.28 Kio | 770.00 Kio/s, fait.

user@user-System-Product-Name:/tmp$ cd sdrpp-tetra-demodulator

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator$ mkdir build

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator$ cd build

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator/build$ cmake ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/sdrpp-tetra-demodulator/build

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator/build$ sudo make -j4
Scanning dependencies of target tetra_demodulator
[ 50%] Building CXX object CMakeFiles/tetra_demodulator.dir/src/main.cpp.o
In file included from /usr/include/sdrpp_core/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/gui/gui.h:7,
                 from /tmp/sdrpp-tetra-demodulator/src/main.cpp:5:
/usr/include/sdrpp_core/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[100%] Linking CXX shared library tetra_demodulator.so
[100%] Built target tetra_demodulator

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator/build$ make install
[100%] Built target tetra_demodulator
Install the project...
-- Install configuration: ""
-- Installing: /usr/lib/x86_64-linux-gnu/sdrpp/plugins/tetra_demodulator.so
cropinghigh commented 2 years ago

Why are you doing "sudo make -j4" and "make install"? You don't need root rights to build the code(moreover, this makes build files unaccessible to regular users), and you need them to install files to /usr/... locations. Also, install directory seems invalid. I need to fix that in the Cmakefile. 1a2b1f4 Try again now: remove /tmp/sdrpp-tetra-demodulator and run all commands again with the correct sudo position.

RF-TEC commented 2 years ago

Thank you for your patience

Everything is in order

However, the module still does not appear in the list

user@user-System-Product-Name:~$ cd /tmp

user@user-System-Product-Name:/tmp$ sudo git clone https://github.com/cropinghigh/sdrpp-tetra-demodulator.git
[sudo] Mot de passe de user :          

Clonage dans 'sdrpp-tetra-demodulator'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 23 (delta 7), reused 17 (delta 6), pack-reused 0
Dépaquetage des objets: 100% (23/23), 9.10 Kio | 1.30 Mio/s, fait.

user@user-System-Product-Name:/tmp$ cd sdrpp-tetra-demodulator

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator$ sudo mkdir build

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator$ cd build

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator/build$ sudo cmake ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/sdrpp-tetra-demodulator/build

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator/build$ sudo make
Scanning dependencies of target tetra_demodulator
[ 50%] Building CXX object CMakeFiles/tetra_demodulator.dir/src/main.cpp.o
In file included from /usr/include/sdrpp_core/signal_path/../dsp/channel/rx_vfo.h:3,
                 from /usr/include/sdrpp_core/signal_path/vfo_manager.h:2,
                 from /usr/include/sdrpp_core/gui/main_window.h:6,
                 from /usr/include/sdrpp_core/gui/gui.h:7,
                 from /tmp/sdrpp-tetra-demodulator/src/main.cpp:5:
/usr/include/sdrpp_core/signal_path/../dsp/channel/../multirate/rational_resampler.h: In instantiation of ‘void dsp::multirate::RationalResampler<T>::reconfigure() [with T = dsp::complex_t]’:
/usr/include/sdrpp_core/signal_path/../dsp/channel/../multirate/rational_resampler.h:40:13:   required from ‘void dsp::multirate::RationalResampler<T>::init(dsp::stream<I>*, double, double) [with T = dsp::complex_t]’
/usr/include/sdrpp_core/signal_path/../dsp/channel/rx_vfo.h:28:60:   required from here
/usr/include/sdrpp_core/signal_path/../dsp/channel/../multirate/rational_resampler.h:134:73: warning: unknown conversion type character ‘:’ in format [-Wformat=]
  134 |       fprintf(stderr, "Warning: resampling error is over 0.01%: %lf\n", error);
      |                                                               ^

[100%] Linking CXX shared library tetra_demodulator.so
[100%] Built target tetra_demodulator

user@user-System-Product-Name:/tmp/sdrpp-tetra-demodulator/build$ sudo make install
[100%] Built target tetra_demodulator
Install the project...
-- Install configuration: ""
-- Installing: /usr/lib/sdrpp/plugins/tetra_demodulator.so
cropinghigh commented 2 years ago

Now check the /usr/lib/sdrpp/plugins/ folder. Module should be there according to the make output

RF-TEC commented 2 years ago

Perfect,

The plug-in is present in the folder /user/lib/sdrpp/plugins

But, does not appear in the list of module manager

Should we add config.json file of plug-in?

cropinghigh commented 2 years ago

Have you restarted sdrpp after that? If yes, provide console output of the sdrpp

RF-TEC commented 2 years ago

Yes, restarted

[2022-07-24 00:10:49.550] [error] Couldn't load /usr/lib/sdrpp/plugins/tetra_demodulator.so.

[2022-07-24 00:10:49.099] [info] SDR++ v1.0.4
[2022-07-24 00:10:49.099] [info] Loading config
[2022-07-24 00:10:49.239] [info] Using OpenGL 3.0
[2022-07-24 00:10:49.452] [info] Loading icons
[2022-07-24 00:10:49.465] [info] Loading band plans
[2022-07-24 00:10:49.482] [info] Loading band plans color table
[2022-07-24 00:10:49.514] [info] Loading modules
[2022-07-24 00:10:49.514] [info] Loading /usr/lib/sdrpp/plugins/rigctl_server.so
[2022-07-24 00:10:49.516] [info] Loading /usr/lib/sdrpp/plugins/soapy_source.so
[2022-07-24 00:10:49.534] [info] Loading /usr/lib/sdrpp/plugins/tetra_demodulator.so
[2022-07-24 00:10:49.550] [error] Couldn't load /usr/lib/sdrpp/plugins/tetra_demodulator.so.
[2022-07-24 00:10:49.550] [info] Loading /usr/lib/sdrpp/plugins/spyserver_source.so
[2022-07-24 00:10:49.567] [info] Loading /usr/lib/sdrpp/plugins/radio.so
[2022-07-24 00:10:49.585] [info] Loading /usr/lib/sdrpp/plugins/network_sink.so
[2022-07-24 00:10:49.601] [info] Loading /usr/lib/sdrpp/plugins/limesdr_source.so
[2022-07-24 00:10:49.617] [info] Loading /usr/lib/sdrpp/plugins/discord_integration.so
[2022-07-24 00:10:49.633] [info] Loading /usr/lib/sdrpp/plugins/recorder.so
[2022-07-24 00:10:49.650] [info] Loading /usr/lib/sdrpp/plugins/bladerf_source.so
[2022-07-24 00:10:49.667] [info] Loading /usr/lib/sdrpp/plugins/rtl_sdr_source.so
[2022-07-24 00:10:49.684] [info] Loading /usr/lib/sdrpp/plugins/m17_decoder.so
[2022-07-24 00:10:49.702] [info] Loading /usr/lib/sdrpp/plugins/meteor_demodulator.so
[2022-07-24 00:10:49.716] [info] Loading /usr/lib/sdrpp/plugins/airspy_source.so
[2022-07-24 00:10:49.734] [info] Loading /usr/lib/sdrpp/plugins/new_portaudio_sink.so
[2022-07-24 00:10:49.752] [info] Loading /usr/lib/sdrpp/plugins/hackrf_source.so
[2022-07-24 00:10:49.767] [info] Loading /usr/lib/sdrpp/plugins/airspyhf_source.so
[2022-07-24 00:10:49.783] [info] Loading /usr/lib/sdrpp/plugins/audio_sink.so
[2022-07-24 00:10:49.809] [info] Loading /usr/lib/sdrpp/plugins/frequency_manager.so
[2022-07-24 00:10:49.816] [info] Loading /usr/lib/sdrpp/plugins/sdrplay_source.so
[2022-07-24 00:10:49.832] [error] Couldn't load /usr/lib/sdrpp/plugins/sdrplay_source.so.
[2022-07-24 00:10:49.832] [info] Loading /usr/lib/sdrpp/plugins/rtl_tcp_source.so
[2022-07-24 00:10:49.850] [info] Loading /usr/lib/sdrpp/plugins/plutosdr_source.so
[2022-07-24 00:10:49.867] [info] Loading /usr/lib/sdrpp/plugins/file_source.so
[2022-07-24 00:10:49.884] [info] Loading /usr/lib/sdrpp/plugins/weather_sat_decoder.so
[2022-07-24 00:10:49.901] [info] Initializing Airspy Source (airspy_source)
[2022-07-24 00:10:49.924] [info] Initializing AirspyHF+ Source (airspyhf_source)
[2022-07-24 00:10:49.937] [info] Initializing Audio Sink (audio_sink)
[2022-07-24 00:10:49.964] [info] Initializing BladeRF Source (bladerf_source)
[2022-07-24 00:10:49.969] [error] Could not list devices -7
[2022-07-24 00:10:49.969] [info] Initializing File Source (file_source)
[2022-07-24 00:10:49.982] [info] Initializing Frequency Manager (frequency_manager)
[2022-07-24 00:10:49.999] [info] Initializing HackRF Source (hackrf_source)
[2022-07-24 00:10:50.025] [info] Initializing LimeSDR Source (limesdr_source)
[2022-07-24 00:10:50.040] [info] Initializing Network Sink (network_sink)
[2022-07-24 00:10:50.049] [info] Initializing RTL-SDR Source (rtl_sdr_source)
[2022-07-24 00:10:50.074] [info] Initializing RTL-TCP Source (rtl_tcp_source)
[2022-07-24 00:10:50.082] [info] Initializing Recorder (recorder)
[2022-07-24 00:10:50.099] [info] Initializing Rigctl Server (rigctl_server)
[2022-07-24 00:10:50.115] [info] Initializing SoapySDR Source (soapy_source)
[INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; UHD_3.15.0.0-2build5
[2022-07-24 00:10:50.777] [info] Setting sample rate to 44100.0
[2022-07-24 00:10:50.777] [info] New DSP samplerate: 44100.0 (source samplerate is 44100.0)
[2022-07-24 00:10:50.778] [info] Updating FFT DSP settings: Keep: 2205, Skip: 0
[2022-07-24 00:10:50.778] [info] Initializing SpyServer Source (spyserver_source)
[2022-07-24 00:10:50.779] [info] Initializing radio (radio)
[2022-07-24 00:10:51.092] [info] RtAudio stream open
[2022-07-24 00:10:51.092] [info] Loading color maps
[2022-07-24 00:10:51.098] [info] Loading /usr/share/sdrpp/colormaps/inferno.json
[2022-07-24 00:10:51.115] [info] Loading /usr/share/sdrpp/colormaps/gqrx.json
[2022-07-24 00:10:51.132] [info] Loading /usr/share/sdrpp/colormaps/viridis.json
[2022-07-24 00:10:51.148] [info] Loading /usr/share/sdrpp/colormaps/turbo.json
[2022-07-24 00:10:51.165] [info] Loading /usr/share/sdrpp/colormaps/classic.json
[2022-07-24 00:10:51.182] [info] Loading /usr/share/sdrpp/colormaps/websdr.json
[2022-07-24 00:10:51.198] [info] Loading /usr/share/sdrpp/colormaps/magma.json
[2022-07-24 00:10:51.215] [info] Loading /usr/share/sdrpp/colormaps/greyscale.json
[2022-07-24 00:10:51.232] [info] Loading /usr/share/sdrpp/colormaps/electric.json
[2022-07-24 00:10:51.248] [info] Loading /usr/share/sdrpp/colormaps/classic_green.json
[2022-07-24 00:10:51.265] [info] Loading /usr/share/sdrpp/colormaps/plasma.json
[2022-07-24 00:10:51.312] [info] New DSP samplerate: 250000.0 (source samplerate is 250000.0)
[2022-07-24 00:10:51.312] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-24 00:10:51.313] [info] RTLSDRSourceModule 'RTL-SDR Source': Menu Select!
[2022-07-24 00:10:51.313] [info] New DSP samplerate: 250000.0 (source samplerate is 250000.0)
[2022-07-24 00:10:51.313] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-24 00:10:51.554] [info] RtAudio stream open
[2022-07-24 00:10:51.596] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-24 00:10:51.597] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-24 00:10:51.598] [info] Updating FFT DSP settings: Keep: 12500, Skip: 0
[2022-07-24 00:10:51.598] [info] RTLSDRSourceModule 'RTL-SDR Source': Tune: 240004232.3291626!
[2022-07-24 00:10:51.598] [info] Running post-init for Airspy Source
[2022-07-24 00:10:51.598] [info] Running post-init for AirspyHF+ Source
[2022-07-24 00:10:51.598] [info] Running post-init for Audio Sink
[2022-07-24 00:10:51.598] [info] Running post-init for BladeRF Source
[2022-07-24 00:10:51.598] [info] Running post-init for File Source
[2022-07-24 00:10:51.598] [info] Running post-init for Frequency Manager
[2022-07-24 00:10:51.598] [info] Running post-init for HackRF Source
[2022-07-24 00:10:51.598] [info] Running post-init for LimeSDR Source
[2022-07-24 00:10:51.598] [info] Running post-init for Network Sink
[2022-07-24 00:10:51.598] [info] Running post-init for RTL-SDR Source
[2022-07-24 00:10:51.598] [info] Running post-init for RTL-TCP Source
[2022-07-24 00:10:51.598] [info] Running post-init for Recorder
[2022-07-24 00:10:51.599] [info] Running post-init for Rigctl Server
[2022-07-24 00:10:51.599] [info] Running post-init for SoapySDR Source
[2022-07-24 00:10:51.599] [info] Running post-init for SpyServer Source
[2022-07-24 00:10:51.599] [info] Running post-init for radio
[2022-07-24 00:10:51.599] [info] Ready.
cropinghigh commented 2 years ago

Thanks author of sdrpp for the very informative error message... You can check, maybe it can't link with some libraries, with ldd /usr/lib/sdrpp/plugins/tetra_demodulator.so

RF-TEC commented 2 years ago

You sure

For libraries, good question

linux-vdso.so.1 (0x00007ffebf6f3000)
    libsdrpp_core.so => /usr/lib/libsdrpp_core.so (0x00007fb8562d6000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fb8560f5000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fb855fa6000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fb855f8b000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fb855d99000)
    /lib64/ld-linux-x86-64.so.2 (0x00007fb8569fa000)
    libOpenGL.so.0 => /usr/lib/x86_64-linux-gnu/libOpenGL.so.0 (0x00007fb855d6d000)
    libGLEW.so.2.1 => /usr/lib/x86_64-linux-gnu/libGLEW.so.2.1 (0x00007fb855cc1000)
    libfftw3f.so.3 => /usr/lib/x86_64-linux-gnu/libfftw3f.so.3 (0x00007fb855ab1000)
    libglfw.so.3 => /usr/lib/x86_64-linux-gnu/libglfw.so.3 (0x00007fb855a48000)
    libvolk.so.2.2 => /usr/lib/x86_64-linux-gnu/libvolk.so.2.2 (0x00007fb855759000)
    libGLdispatch.so.0 => /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0 (0x00007fb8556a1000)
    libGL.so.1 => /usr/lib/x86_64-linux-gnu/libGL.so.1 (0x00007fb855617000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fb855611000)
    libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fb8554d4000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fb8554b1000)
    liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007fb85542e000)
    libGLX.so.0 => /usr/lib/x86_64-linux-gnu/libGLX.so.0 (0x00007fb8553fa000)
    libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fb8553ce000)
    libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fb8553c8000)
    libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fb8553c0000)
    libbsd.so.0 => /usr/lib/x86_64-linux-gnu/libbsd.so.0 (0x00007fb8553a6000)
cropinghigh commented 2 years ago

Are you sure you're running latest sdrpp version? 1.0.4 is quite outdated, it hasn't many functions which my module is using. Try building latest sdrpp version from git

RF-TEC commented 2 years ago

I may have both versions installed, all rigth.

It's late, i will check later, it should be fine, thank you again for your support !

Pleasure to have exchanged with you.

Good evening.

sdr++

cropinghigh commented 2 years ago

Is the problem resolved now?

RF-TEC commented 2 years ago

Hello

Absolutely, everything is in order. it's a treat to have such a plugin under gqrx.

Thank for your responsiveness and technical support.

I follow closely the evolution of the project, with great pleasure !

Best wishes

RFTEC