Currently, our smfcpp framework is supported only on Linux-based systems. We have tested it on Ubuntu 20.04 and 22.04. The following shell commands will guide you through the installation process:
-
Clone our repository:
git clone https://github.com/littsk/smfcpp.git cd smfcpp
-
Install the required dependencies:
git submodule update --init sudo apt install cmake gcc g++ nmap libyaml-cpp-dev libopencv-dev ffmpeg
-
Ensure that CMake is installed on your system. Then, compile our project with your desired options. You can choose to compile the smfcpp framework with or without client and server applications by specifying the options during the CMake configuration step:
-
Compile only the smfcpp framework:
cmake -B build
-
Compile the smfcpp framework with the client application:
cmake -B build -DCOMPILE_CLIENT=ON
-
Compile the smfcpp framework with the server application:
cmake -B build -DCOMPILE_SERVER=ON
-
-
Finally, build the project:
cmake --build build
-
Optionally, if you wish to use this project with the Python extension, you can install the required Python runtime scripts (only applicable to the client):
python3 -m pip install -U wheel setuptools python3 -m pip install -r requirements.txt python3 -m pip install .
Then, you can run the provided scripts directly from the command line:
my_script
These instructions will guide you through the setup of the smfcpp framework on your Linux system, allowing you to choose specific options during the installation process.