Building fcfserver for Linux and MacOS
Required packages for installation
- GCC with 17 standard support
- CMake (Latest version)
Preparing the environment
Installing boost
-
Download from the official boost website https://www.boost.org/. The version must be at least 1.73
-
Unpack the archive with the sources to the [PROJECTS_DIRECTORY] projects folder and go to the boost_[VERSION] directory
-
Initialize the boost environment for the build
$ ./bootstrap.sh
-
Build boost (only for Linux)
./b2 --with-thread --with-filesystem toolset=gcc cxxflags=-std=c++17 install --prefix=[PROJECTS_DIRECTORY]/boost
Build boost (only for MacOS)
./b2 --with-thread --with-filesystem toolset=darwin cxxflags=-std=c++17 install --prefix=[PROJECTS_DIRECTORY]/boost
Build the project
Download fcfserver sources /download/fcfserver.
-
Unpack the archive with the sources to the projects folder [PROJECTS_DIRECTORY]
-
Create fcfserver build directory in [PROJECTS_DIRECTORY]/fcfserver projects folder and go to it
mkdir [PROJECTS_DIRECTORY]/fcfserver
cd [PROJECTS_DIRECTORY]/fcfserver
-
Prepare your cmake project
cmake ../fcfserver-src/
-
Build the project
make