sdrpp-tetra-demodulator icon indicating copy to clipboard operation
sdrpp-tetra-demodulator copied to clipboard

New cmake system issue

Open alphafox02 opened this issue 1 year ago • 3 comments

Most likely something I'm doing wrong, but using the latest commit that says "new cmake system" I'm unable to build the plugin using the directions provided on 22.04. I make sure the latest sdrpp git core/src/* is copied to /usr/include/sdrpp_core but the sdrpp_module.cmake is not found as the cmake system is looking for it in some hard coded place.

If I then pass the argument to where the sdrpp/build directory is at, cmake will complete, but the make will fail as it can't find the dsp/processor.h file.

I drop back one previous commit on your project and if I copy the sdrpp core to the /usr/include/sdrpp I can run cmake .. && make just fine. Again, probably something I'm not understanding on my part.

alphafox02 avatar May 06 '24 00:05 alphafox02

Check now, according to the new instruction, or try using new binary CI

cropinghigh avatar May 08 '24 16:05 cropinghigh

Followed the guide, to include the link to the "hacky OOT", but ended up with this when running make. I'll have to try the CI build too.

/home/dragon/Downloads/sdrpp-tetra-demodulator/libosmocore/include/osmocom/core/mnl.h:7:10: fatal error: libmnl/libmnl.h: No such file or directory
    7 | #include <libmnl/libmnl.h>

alphafox02 avatar May 11 '24 03:05 alphafox02

sudo apt-get install libmnl-dev liburing-dev

Both were needed to build it. After those were installed, the module built.

alphafox02 avatar May 11 '24 03:05 alphafox02