LTESniffer icon indicating copy to clipboard operation
LTESniffer copied to clipboard

unable to build with external (system installed) srsran

Open blshkv opened this issue 10 months ago • 2 comments

Hello, I'm trying to install it with FORCE_SUBPROJECT_SRSRAN=OFF and system-installed srsran (location: /usr/include/srsran/* and /usr/lib64/libsrs*) find_package(SRSRAN) is unable to find a cmake file (I renamed FindSRSLTE.cmake). Additionally, few variables are not getting set, so cmake is clearly broken.

Could you test the external srsran library option and fix it please?

blshkv avatar Apr 15 '24 18:04 blshkv

Hi, if you wanna use your own srsRAN library, the easiest way is after executing cmake command, replace the original srsRAN folder in /build/srsRAN-src/ with your own srs lib and build the project again. Thanks!

hdtuanss avatar Apr 25 '24 07:04 hdtuanss

Ideally, I want to build it as a share library, similar to c-mnalib. The FORCE_SUBPROJECT_CMNALIB option works fine, the FORCE_SUBPROJECT_SRSRAN is broken. Thus, this bug report.

btw, what's the reason of using an outdated fork of srsRAN (https://github.com/ShaoPaoLao/srsRAN2)? Is any any way to migrate to the official and better supported library? (https://github.com/srsran/srsRAN_4G)

blshkv avatar Apr 28 '24 04:04 blshkv