sdrangel icon indicating copy to clipboard operation
sdrangel copied to clipboard

Loading APRS feature cause the program to exit

Open as3ii opened this issue 2 years ago • 3 comments

The APRS plugin is found and loaded correctly by the plugin manager:

2022-07-11 14:56:08.628 (D) PluginManager::loadPluginsDir: fileName: libaprs.so
2022-07-11 14:56:08.635 (I) PluginManager::loadPluginsDir: loaded plugin libaprs.so

But when I try to start it inside sdrangel the program crash and this is printed in the terminal:

2022-07-11 14:56:21.234 (D) MainWindow::featureAddClicked: W1 feature at 3
2022-07-11 14:56:21.234 (D) MainWindow::featureAddClicked: m_apiAdapter: 0x5bf81a07cec0
2022-07-11 14:56:21.234 (D) APRS::APRS: webAPIAdapterInterface: 0x5bf81a07cec0
2022-07-11 14:56:21.234 (D) APRS::scanAvailableChannels: register 0:3 sdrangel.channel.packetdemod (0x5bf81a55f688)
2022-07-11 14:56:21.235 (D) MessageQueueStore::createElement: 0 added
2022-07-11 14:56:21.235 (D) ObjectPipesRegistrations::registerProducerToConsumer: new pipe 0x5bf81a55f688 0x5bf81b87f0d0 MessageQueue packets
2022-07-11 14:56:21.236 (D) FeatureGUI::FeatureGUI
sdrangel: symbol lookup error: /usr/lib/sdrangel/plugins/libaprs.so: undefined symbol: _ZN8QtCharts6QChart8setThemeENS0_10ChartThemeE, version Qt_5

this happens regardless of the SDR. Sdrangel installed through the sdrangel-bin AUR package in ArchLinux (which is based on the .deb available in the release section of this repository)

as3ii avatar Jul 11 '22 13:07 as3ii

You are missing Qt Charts in the dependencies although it is required: https://github.com/f4exb/sdrangel/blob/master/CMakeLists.txt#L408 https://github.com/f4exb/sdrangel/blob/master/.appveyor.yml#L87

I don't know how the software was built but this is wrong.

f4exb avatar Jul 12 '22 11:07 f4exb

qt5-charts (5.15.5) is installed. Maybe the problem is related to this comment? https://aur.archlinux.org/packages/sdrangel-bin#comment-856615 "This binary and its modules are originally built for Ubuntu 20.04, as such some modules require specific library version that might not match installed version. As a consequence, these modules will not be loaded"

as3ii avatar Jul 12 '22 14:07 as3ii

Ubuntu 20.04 uses Qt 5.12, so not entirely surprising if it doesn't work with Qt 5.15. Your package manager should really build a new version.

srcejon avatar Jul 13 '22 06:07 srcejon

This issue is going to be closed due to inactivity

github-actions[bot] avatar Sep 12 '22 05:09 github-actions[bot]