Building the Genki ML C++ Runtime requires CMake to be installed.
Once you've cloned the genkiml repository, you can load the project in your editor or configure the project manually:
cmake -B build_dir -DGENKI_ML_BUILD_EXAMPLES=ON
To build the library and examples, run:
cmake --build build_dir
onnxruntimefrom source and link into your executable. The default is OFF, so prebuilt dynamic libraries will be used. The static library takes a while to compile at first, so usually you'll probably want the dynamic one.
GENKI_ML_BUILD_EXAMPLES=ONto enable building of examples from the examples directory.
- If CMake configuration fails, you might need to issue
git config --system core.longpaths truein your terminal to work around a limitation in old Windows APIs.