Skip to content
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

LibSigMF compile fails only for SDRangel #2231

Closed
srs4511351 opened this issue Aug 14, 2024 · 4 comments
Closed

LibSigMF compile fails only for SDRangel #2231

srs4511351 opened this issue Aug 14, 2024 · 4 comments

Comments

@srs4511351
Copy link

Using a Raspberry Pi 5
The LibSigMF installation fails when I compile it with the SDRangel plugin procedure on Ubuntu 24.04 LTS
The same procedure works with Raspberry Pi OS. I suspect that the newer packages used in Ubuntu 24.04 are the problem.

cd ~/SDRangel
git clone https://github.com/f4exb/libsigmf.git
cd libsigmf
git checkout "new-namespaces"
mkdir build; cd build
cmake -Wno-dev -DCMAKE_INSTALL_PREFIX=/opt/install/libsigmf .. 
make -j $(nproc) install

The failure occurs during the compiling of flatbuffers.
I can successfully compile flatbuffers with a procedure similar to the one on https://github.com/google/flatbuffers. I don't know what is different in the SDRangel procedure.

cd /home/pi/SDRangel/libsigmf/external
git clone https://github.com/google/flatbuffers.git
cd flatbuffers
cmake -DCMAKE_INSTALL_PREFIX=/home/pi/SDRangel/libsigmf/build/flatbuffers-build .
make -j4
make install

I have attached the terminal output for the SDRangel LibSigMF compile.

I also installed the libsigmf/noble,now 1.0.2-2 arm64 package which installed the flatbuffers packages, but SDRangel did not find it even after I removed -DLIBSIGMF_DIR=/opt/install/libsigmf from the SDRangel cmake statement.

LibSigMF compile 8-14-2024.txt

@srcejon
Copy link
Collaborator

srcejon commented Aug 28, 2024

My guess is external/flatbuffers link in f4exb/libsigmf points to an old version of flatbuffers (Seems to be the tag d8210d5) that doesn't compile with the latest version of gcc. When you build it yourself, you get the latest version.

So the link to flatbuffers probably needs updating.

@srs4511351
Copy link
Author

tag d8210d5 is indeed quite old.

Will you update the link or tell me how to do it on my system?
libsigmf/external on my system does not have the links, just empty folders.

----Steve

Copy link

github-actions bot commented Oct 8, 2024

This issue is going to be closed due to inactivity

@srs4511351
Copy link
Author

I see that there is a fix for Fix for flatbuffers v2: f4exb/libsigmf@7d964fd on on the original branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants