C++ Native Wrapper
C++ Native Wrapper
A prebuilt release is available on the Release page. The release is built with glibc 2.17 and will work out of the box on systems with glibc ≥ 2.17 (e.g., Ubuntu >= 13.04, Centos>=7, eg.). If you need to build from source, follow the instructions below.
Compilation Steps
- Follow the Preliminary Steps to setup build enviroment with cmake, cmake, gcc and libgopmp1
- Set up Boost Libraries. You can also install it from package manager and you are not forced to compile the Boost package.
- Clone the repository:
- If you compiled the Boost library, edit
AlgoMarker_python_API/ServerHandler/CMakeLists.txtto include the following line:This should point to your Boost compiled home directory (WORK_BUILD_FOLDERfrom step 2) from the compilation step. Ensure the compiled libraries are in/libsand the headers are in/include. Alternatively you can just set your environment variableBOOST_ROOTto reference the Boost build directory. - Compile the wrapper:
-
Execute the server:
AM_CONFIG: Path to the AlgoMarker configuration file.AM_LIB: Path to the AlgoMarker shared library. Refer to AlgoMarker Library) for compilation steps.
A full docker image for compilation steps can be found under this link:
- 01.basic_boost A base docker image with Boost
- 05.algomarker_wrapper A build with algomarker wrapper