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

Open
srs4511351 opened this issue Aug 14, 2024 · 2 comments
Open

LibSigMF compile fails only for SDRangel #2231

srs4511351 opened this issue Aug 14, 2024 · 2 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

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

No branches or pull requests

2 participants