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

unable to build with external (system installed) srsran #67

Open
blshkv opened this issue Apr 15, 2024 · 2 comments
Open

unable to build with external (system installed) srsran #67

blshkv opened this issue Apr 15, 2024 · 2 comments

Comments

@blshkv
Copy link

blshkv commented Apr 15, 2024

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 blshkv changed the title unable to build with system srsran unable to build with external (system installed) srsran Apr 16, 2024
@hdtuanss
Copy link
Collaborator

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!

@blshkv
Copy link
Author

blshkv commented Apr 28, 2024

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)

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