-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ubuntu 22.04 w/ 7.8.0 deb package missing M17 #1480
Comments
Same issue applies to 7.7.0 Deb (SDRAngel-1696-master). |
Have you got codec2 installed? Is it found? Might want to post cmake output / CMakeCache.txt |
This was using the Deb package on the releases page, not built from source. Next step would be to remove deb package and build from source. I only mentioned the Linux page since that's where I pulled the apt packages from prior to installing the deb. Sorry if that wasn't clear on that part. |
You were correct on codec2 not being installed (via the package manager). However, that did not help with the deb package and no rx/tx M17 plugins being listed. |
I checked in a 20.04 built from source and the plugins folder contains libmodm17.so, so it appears the 22.04 deb package provided on the releases page is missing some things. |
Sat down, built SDRAngel from source on 22.04 and neither issue I mentioned above is there. There's an issue with the deb releases best I can tell. In the source build the lib file is in the plugins folder for M17 and both rx/tx are present in the GUI. This is not the case for the deb package. There's also no complaint about libmbe.so.1 in the source built SDRAngel. |
Thanks for investigating this. |
It seems there are a few plugins missing from the .deb libdemodm17.so Two of which depend on codec2, so I guess that's not being detected in the appveyor build. The DAB demod is probably not finding libDAB. |
yes M17 and FreeDV require Codec2. It should be built as an external library but it is not. It is also present in the dependencies so maybe there is a conflict but I am not convinced For DAB I think it misses Zip and FAAD to build libDAB. |
For DAB this line appears in the CMake output:
For codec2 I have no idea. It should try to compile it but does not. |
In fact the issue may be here: Because we force the use of packaged libraries that may or may not be installed and may or may not be reported properly. I guess in the case of codec2 that |
Apparently it needs The latest commit builds M17 and FreeDV plugins. Still not DAB: https://ci.appveyor.com/project/f4exb/sdrangel/build/job/i8n22vgrsk8mc27x |
In the log of CMake I see:
And it seems it builds libdab |
I noticed in appveyor build finished about 2 hours ago that M17 is there, but looking at output in terminal I think maybe a bunch of other things are missing somehow now. Just pasting what I see, maybe still a work in progress. Strange, wish I could be of better help but I'm not familiar with the external libraries settings and such.
|
I think we should revert to |
I think you got it, just downloaded 1805 and took a quick peek. M17 is there and I see no complaints of cannot load in the terminal output. |
I have been working to build 7.8.0 on Ubuntu 22.04 also.
My computer is Dell 3060 I5 with 16G of memory
***@***.***:~/sdrangel/build$ lsb_release -a
LSB Version: core-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
I see in the docs for strangle we need C++14
I see in CMakeList.txt:
set(CMAKE_CXX_STANDARD 14)
On my system I see
c++ —version:
c++ (Ubuntu 10.3.0-15ubuntu1) 10.3.0
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I started with c++ version 11 until I started trying to get it up to c++14.
For reference I get this:
***@***.***:~$ sudo update-alternatives --config g++
[sudo] password for bob:
There are 2 choices for the alternative g++ (providing /usr/bin/g++).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/g++-10 10 auto mode
1 /usr/bin/g++-10 10 manual mode
2 /usr/bin/g++-9 9 manual mode
Press <enter> to keep the current choice[*], or type selection number: 0
***@***.***:~$ sudo update-alternatives --config gcc
There are 2 choices for the alternative gcc (providing /usr/bin/gcc).
Selection Path Priority Status
------------------------------------------------------------
* 0 /usr/bin/gcc-10 10 auto mode
1 /usr/bin/gcc-10 10 manual mode
2 /usr/bin/gcc-9 9 manual mode
Press <enter> to keep the current choice[*], or type selection number: 0
According to what I have read C++14 is supported in gcc-9 and up.
Do others feel the proper c++ is being used when building sdrangle.
Can someone that gets a clean build post what they have for: sudo update-alternatives --config gcc ? Hopefully on an x86 system.
Bob N5BRG
On Oct 19, 2022, at 2:51 AM, Edouard Griffiths ***@***.******@***.***>> wrote:
I think we should revert to EXTERNAL_LIBRARIES=ON and make it a "no" here: https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L204<https://url.emailprotection.link/?bpkFGFGeUHHNTXG8LzEKDratEnCuV5tH1pSDEORVXT5Nm2Qy0MQUYSxF2ESc0lXe6uX-kmJVJtDFynR9h8wBUCfKdvb7U12R76XYuqeAZq9x6ytI2iG2YYV2F219NnPj4>
—
Reply to this email directly, view it on GitHub<https://url.emailprotection.link/?buEq4eyNl9NRYRhKUfm4VcLZguVGjqmEIbG64xeogqXsUPFdegMSEufJOJD5ga00js7swidvu_f8nERTaSB8pHiCzmEe6TixKIhwg4XFavamIIQ6xwd2D65quOvQy9KNr>, or unsubscribe<https://url.emailprotection.link/?bqSfzBK4nMErPOVYd4QxvxsFTmhUembQbL1y4BFTT7cWP7K4UE_bnwre6UJs8T2QltU47DztmVPl0ryKxMQXxjfT-im3TttbfReK96oMlxVNRBBZ5mLq4Ff3UGgb3jEuT-t2QoxKlM85wtGAyJnvcaBds4h88vKhJJxsmUWu6v7g~>.
You are receiving this because you are subscribed to this thread.M essage ID: ***@***.***>
|
Actually I have reverted to original https://github.com/f4exb/sdrangel/blob/master/external/CMakeLists.txt#L204 but changed appveyor.yaml so that it does not try to use the shell scripts to build some dependencies. I also use |
@N5BRG this is off topic please post to https://groups.io/g/sdrangel |
Implemented in v7.8.1 |
Finally getting around to testing SDRAngel more in 22.04. I used the Linux Install from Source page as a guide just to make sure all the apt-get related packages were installed. I then grabbed the latest Deb package release, installed, but after loading there's no M17 RX/TX options.
Is this expected? With 20.04 and the last release before the change in QT, both options were available.
I've been looking at the output in terminal, but so far only noticed this, which I think is a separate issue.
Cannot load library /usr/lib/sdrangel/plugins/libdemoddsd.so: (libmbe.so.1: cannot open shared object file: No such file or directory)
I've looked at the output a couple times and see not even a mention of the m17 library attempting to be loaded.
The text was updated successfully, but these errors were encountered: