AlexandreRouma / SDRPlusPlus

Cross-Platform SDR Software
GNU General Public License v3.0
3.75k stars 513 forks source link

No PlutoSDR source in MacOS 14 #1398

Open denisbondar opened 1 month ago

denisbondar commented 1 month ago

Hardware

Software

Bug Description PlutoSDR is missing from the list of signal sources.

Screenshots

image image image image

Additional info I deleted the ~/Library/Application Support/sdrpp/config.json. I also deleted the entire ~/Library/Application Support/sdrpp directory. This did not give any result.

The libiio library is installed. Other applications like GQRX work with both USB and network connection.

AlexandreRouma commented 1 month ago

Show startup logs.

denisbondar commented 1 month ago

Can you please tell me where I can find this log file?

AlexandreRouma commented 1 month ago

There is no log file. Open a terminal and run /path/to/the/SDR++.app/Contents/MacOS/sdrpp -c Then, post the entire logs from start to after the issue. DOT NOT truncate to where you think the error is...

denisbondar commented 1 month ago

Unknown argument

$ ./Applications/SDR++.app/Contents/MacOS/sdrpp -c
[06/05/2024 09:16:11.000] [INFO] SDR++ v1.2.0
Unknown argument
-a --addr       Server mode address
   --autostart      Automatically start the SDR after loading
-h --help       Show help
-p --port       Server mode port
-r --root       Root directory, where all config files are stored
-s --server     Run in server mode
denisbondar commented 1 month ago

Without -c:

$ ./Applications/SDR++.app/Contents/MacOS/sdrpp                                                                 255 ↵
[06/05/2024 09:18:01.000] [INFO] SDR++ v1.2.0
[06/05/2024 09:18:01.000] [INFO] Loading config
[06/05/2024 09:18:01.000] [WARN] ConfigManager locked, waiting...
[06/05/2024 09:18:01.000] [ERROR] Glfw Error 65548: Cocoa: Regular windows do not have icons on macOS
[06/05/2024 09:18:02.000] [INFO] Loading icons
[06/05/2024 09:18:02.000] [INFO] Loading band plans
[06/05/2024 09:18:02.000] [INFO] Loading band plans color table
[06/05/2024 09:18:02.000] [ERROR] Menu element is missing name key
[06/05/2024 09:18:02.000] [INFO] Loading modules
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/rtl_sdr_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/meteor_demodulator.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/airspy_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/network_sink.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/scanner.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/plutosdr_source.dylib
[06/05/2024 09:18:02.000] [ERROR] Couldn't load /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/plutosdr_source.dylib: dlopen(/Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/plutosdr_source.dylib, 0x0005): Library not loaded: @rpath/libxml2.2.dylib
  Referenced from: <E731C8AF-AE3B-3AF9-B773-FD7FBC946263> /Users/denisbondar/Applications/SDR++.app/Contents/Frameworks/iio
  Reason: tried: '/Users/denisbondar/Applications/SDR++.app/Contents/Frameworks/../Frameworks/libxml2.2.dylib' (no such file), '/Users/denisbondar/Applications/SDR++.app/Contents/Plugins/../Frameworks/libxml2.2.dylib' (no such file), '/Users/denisbondar/Applications/SDR++.app/Contents/Plugins/../Frameworks/libxml2.2.dylib' (no such file), '/Users/denisbondar/Applications/SDR++.app/Contents/Frameworks/../Frameworks/libxml2.2.dylib' (no such file), '/Users/denisbondar/Applications/SDR++.app/Contents/MacOS/../Frameworks/libxml2.2.dylib' (no such file)
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/sdrplay_source.dylib
[06/05/2024 09:18:02.000] [ERROR] Couldn't load /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/sdrplay_source.dylib: dlopen(/Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/sdrplay_source.dylib, 0x0005): Library not loaded: libsdrplay_api.so.3.14
  Referenced from: <93052A15-FD52-30E6-8B23-5961065EBE27> /Users/denisbondar/Applications/SDR++.app/Contents/Plugins/sdrplay_source.dylib
  Reason: tried: 'libsdrplay_api.so.3.14' (no such file), '/System/Volumes/Preboot/Cryptexes/OSlibsdrplay_api.so.3.14' (no such file), 'libsdrplay_api.so.3.14' (no such file), '/Users/denisbondar/Applications/SDR++.app/Contents/Resources/libsdrplay_api.so.3.14' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/Users/denisbondar/Applications/SDR++.app/Contents/Resources/libsdrplay_api.so.3.14' (no such file), '/Users/denisbondar/Applications/SDR++.app/Contents/Resources/libsdrplay_api.so.3.14' (no such file)
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/radio.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/rigctl_server.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/audio_sink.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/frequency_manager.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/recorder.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/file_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/bladerf_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/airspyhf_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/spyserver_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/rigctl_client.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/new_portaudio_sink.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/hermes_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/limesdr_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/discord_integration.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/rfspace_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/rtl_tcp_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/hackrf_source.dylib
[06/05/2024 09:18:02.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Plugins/sdrpp_server_source.dylib
[06/05/2024 09:18:02.000] [INFO] Initializing Airspy Source (airspy_source)
[06/05/2024 09:18:02.000] [INFO] Initializing AirspyHF+ Source (airspyhf_source)
[06/05/2024 09:18:02.000] [INFO] Initializing Audio Sink (audio_sink)
[06/05/2024 09:18:02.000] [INFO] Initializing Audio Source (audio_source)
[06/05/2024 09:18:02.000] [ERROR] Module 'audio_source' doesn't exist
[06/05/2024 09:18:02.000] [INFO] Initializing BladeRF Source (bladerf_source)
[06/05/2024 09:18:02.000] [ERROR] Could not list devices -7
[06/05/2024 09:18:02.000] [INFO] Initializing File Source (file_source)
[06/05/2024 09:18:02.000] [INFO] Initializing Frequency Manager (frequency_manager)
[06/05/2024 09:18:02.000] [INFO] Initializing HackRF Source (hackrf_source)
[06/05/2024 09:18:02.000] [INFO] Initializing Hermes Source (hermes_source)
[06/05/2024 09:18:02.000] [INFO] Initializing LimeSDR Source (limesdr_source)
[06/05/2024 09:18:02.000] [INFO] Initializing Network Sink (network_sink)
[06/05/2024 09:18:02.000] [INFO] Initializing PerseusSDR Source (perseus_source)
[06/05/2024 09:18:02.000] [ERROR] Module 'perseus_source' doesn't exist
[06/05/2024 09:18:02.000] [INFO] Initializing PlutoSDR Source (plutosdr_source)
[06/05/2024 09:18:02.000] [ERROR] Module 'plutosdr_source' doesn't exist
[06/05/2024 09:18:02.000] [INFO] Initializing RFspace Source (rfspace_source)
[06/05/2024 09:18:02.000] [INFO] Initializing RTL-SDR Source (rtl_sdr_source)
[06/05/2024 09:18:02.000] [INFO] Initializing RTL-TCP Source (rtl_tcp_source)
[06/05/2024 09:18:02.000] [INFO] Initializing Radio (radio)
[Resamp] predec: 32, interp: 4, decim: 5, inacc: 0.000000%, taps: 380
[Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500
[Resamp] predec: 32, interp: 5000, decim: 7813, inacc: 0.000000%, taps: 593750
[Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500
[Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500
[06/05/2024 09:18:03.000] [WARN] Demod switch took 16673 us
[06/05/2024 09:18:03.000] [INFO] Audio device open.
[06/05/2024 09:18:03.000] [INFO] Initializing Recorder (recorder)
[06/05/2024 09:18:03.000] [INFO] Initializing Rigctl Server (rigctl_server)
[06/05/2024 09:18:03.000] [INFO] Initializing SDR++ Server Source (sdrpp_server_source)
[06/05/2024 09:18:03.000] [INFO] Initializing SDRplay Source (sdrplay_source)
[06/05/2024 09:18:03.000] [ERROR] Module 'sdrplay_source' doesn't exist
[06/05/2024 09:18:03.000] [INFO] Initializing SpyServer Source (spyserver_source)
[06/05/2024 09:18:03.000] [INFO] Loading color maps
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/classic.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/inferno.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/turbo.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/vivid.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/gqrx.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/electric.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/plasma.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/greyscale.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/temper_colors.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/viridis.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/magma.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/smoke.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/websdr.json
[06/05/2024 09:18:03.000] [INFO] Loading /Users/denisbondar/Applications/SDR++.app/Contents/Resources/../Resources/colormaps/classic_green.json
[Resamp] predec: 32, interp: 4, decim: 5, inacc: 0.000000%, taps: 380
[06/05/2024 09:18:03.000] [INFO] New DSP samplerate: 10000000.000000 (source samplerate is 10000000.000000)
[06/05/2024 09:18:03.000] [INFO] AirspySourceModule 'Airspy Source': Menu Select!
[Resamp] predec: 32, interp: 4, decim: 5, inacc: 0.000000%, taps: 380
[Resamp] predec: 32, interp: 4, decim: 5, inacc: 0.000000%, taps: 380
[06/05/2024 09:18:03.000] [INFO] New DSP samplerate: 10000000.000000 (source samplerate is 10000000.000000)
[Resamp] predec: 4, interp: 96, decim: 125, inacc: 0.000000%, taps: 9500
[06/05/2024 09:18:03.000] [INFO] Audio device open.
[06/05/2024 09:18:03.000] [INFO] AirspySourceModule 'Airspy Source': Tune: 100000000.000000!
[06/05/2024 09:18:03.000] [INFO] Running post-init for Airspy Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for AirspyHF+ Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for Audio Sink
[06/05/2024 09:18:03.000] [INFO] Running post-init for BladeRF Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for File Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for Frequency Manager
[06/05/2024 09:18:03.000] [INFO] Running post-init for HackRF Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for Hermes Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for LimeSDR Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for Network Sink
[06/05/2024 09:18:03.000] [INFO] Running post-init for RFspace Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for RTL-SDR Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for RTL-TCP Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for Radio
[06/05/2024 09:18:03.000] [INFO] Running post-init for Recorder
[06/05/2024 09:18:03.000] [INFO] Running post-init for Rigctl Server
[06/05/2024 09:18:03.000] [INFO] Running post-init for SDR++ Server Source
[06/05/2024 09:18:03.000] [INFO] Running post-init for SpyServer Source
[06/05/2024 09:18:03.000] [INFO] Ready.
2024-05-06 09:18:11.180 sdrpp[16961:1179352] TSM AdjustCapsLockLEDForKeyTransitionHandling - _ISSetPhysicalKeyboardCapsLockLED Inhibit
[06/05/2024 09:18:12.000] [INFO] Exiting successfully
denisbondar commented 1 month ago

It should be noted that I have libxml2 installed using brew.

$ ls /opt/homebrew/Cellar/libxml2/2.12.6/lib/
cmake           libxml2.2.dylib libxml2.dylib   pkgconfig       python3.11      python3.12

However, judging by the log, the library file should be inside app.

AlexandreRouma commented 1 month ago

no libxml2 is supposed to come with every MacOS install.

denisbondar commented 1 month ago

How can I solve this problem on my side?