Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Installation

Nils Fürste edited this page Nov 23, 2021 · 5 revisions

This section of documentation will outline how to download and install CoreScope.

Dependencies

CoreScope requires both OAT++ and srsRAN, as well as their associated dependencies to run correctly. The process for downloading and installing these will be detailed here. OAT++ will need to be installed before CoreScope, as it is required for CoreScope to compile correctly.

OAT++

First, you will need to install OAT++ for the REST API that CoreScope uses. This can be done using the following commands:

git clone https://github.com/oatpp/oatpp
cd oatpp
mkdir build
cd build
git checkout 1.2.5
cmake ..
make -j $(nproc)
sudo make install 

Once this is complete you will need the OAT++ Swagger module. This can be downloaded and installed with the following commands:

git clone https://github.com/oatpp/oatpp-swagger
cd oatpp-swagger
mkdir build
cd build
git checkout 1.2.5
cmake ..
make -j $(nproc)
sudo make install 

CoreScope Installation

To install CoreScope you will need to install these dependencies first, and make sure they are up to date:

sudo apt-get install cmake libfftw3-dev libmbedtls-dev libboost-program-options-dev libconfig++-dev libsctp-dev

CoreScope includes srsRAN as a submodule, this means you are not required to have srsRAN pre-installed before building CoreScope. If you already have srsRAN installed then it is recommended that you either run CoreScope from the build folder (i.e. do not install it), or else create a local install for CoreScope. This stops any possible conflicts with other installations of srsRAN. For this example we will be running CoreScope from within the build folder.

To download and build CoreScope use the following commands:

git clone https://github.com/srsran/corescope.git --recurse-submodules
cd corescope
mkdir build
cd build
cmake ../
make -j $(nproc)
make test -j $(nproc)

If you want to create a local install of CoreScope you can add the following flag to the cmake command:

cmake .. -DCMAKE_INSTALL_PREFIX=~/<install location>
Clone this wiki locally