[srslte-users] macOS build

Balthasar Indermuehle balt at inside.net
Mon Dec 28 01:38:27 UTC 2020


Has anyone managed to build srsLTE on macOS? Not having much luck.

cmake can't seem to find the sctp libraries (despite them being installed
with macports). Simply states

-- Checking for module 'sctp'
--   No package 'sctp' found
-- SCTP LIBRARIES: SCTP_LIBRARIES-NOTFOUND
-- SCTP INCLUDE DIRS: SCTP_INCLUDE_DIRS-NOTFOUND
CMake Error at
/opt/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218
(message):
  Could NOT find SCTP (missing: SCTP_LIBRARIES SCTP_INCLUDE_DIRS)
Call Stack (most recent call first):

/opt/local/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:582
(_FPHSA_FAILURE_MESSAGE)
  cmake/modules/FindSCTP.cmake:38 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  lib/test/common/CMakeLists.txt:21 (find_package)

however:
ll /usr/local/lib/libsctp*
-rwxr-xr-x  1 balt  admin  273680 28 Dec 12:31
/usr/local/lib/libsctplib.1.dylib
-rw-r--r--  1 balt  admin  529008 28 Dec 12:31 /usr/local/lib/libsctplib.a
lrwxr-xr-x  1 balt  admin      18 28 Dec 12:31
/usr/local/lib/libsctplib.dylib -> libsctplib.1.dylib
-rwxr-xr-x  1 balt  admin     987 28 Dec 12:31 /usr/local/lib/libsctplib.la

and:
ll /usr/local/include/sctp.h
-rw-r--r--  1 balt  admin  30286 28 Dec 12:31 /usr/local/include/sctp.h

Any hints anyone?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20201228/29df4f67/attachment.htm>


More information about the srsran-users mailing list