KeyView 23.3

# Build the C++ API

This section describes the build process for Windows and Linux.

To build the C++ API on Windows

NOTE: To build on Windows, you need at least Microsoft Visual Studio 2015.

1. Switch to the `cppapi/bin` directory.

2. At the Visual Studio command prompt, run `nmake -f Makefile`.

   This command creates a file called `filtersdk.lib`. You can statically link this into your own binaries in order to use the Filter SDK.

To build the C++ API on Linux

1. Switch to the `cppapi/bin` directory.

2. Run the appropriate command:

   GCC 5

   `export CXXFLAGS="-std=c++11"
   make`

   GCC 6

   `make`

   This command creates a file called `filtersdk.a`. You can link this into your own binaries in order to use the Filter SDK.

To build the C++ API on macOS

1. Switch to the `cppapi/bin` directory.

2. Run the following command:

       export CXXFLAGS="-stdlib=libc++ -std=c++11"

3. Run the following command:

       make -f GNUmakefile

Copyright 2016-2023 Open Text
Version 23.3 | Last updated June 2023

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to swpdl.idoldocsfeedback@microfocus.com.

We appreciate your feedback!

Product: IDOL KeyView 23.3

Topic Title: Build the C++ API