Since OpenKit Native is only available as source code, and not as pre-built binary, the steps for initial installation and updating are the same.
- Microsoft Windows
- GNU/Linux
Other operating systems, including MacOS, iOS and Android, might work as well, as the required build tool chains are available there as also.
For Microsoft Windows, if OpenKit Native is linked against shared C/C++ runtime libraries, Visual C++ Redestributable needs to be distributed. For details check the official Microsoft documentation page Deploying Native Desktop Applications (Visual C++).
On Linux/UNIX based operating systems OpenKit does not support statically linked
system libraries. Therefore the necessary C/C++ runtime libraries, as well as OpenSSL must be
available.
The program ldd
can be used to determine which libraries are needed.
The OpenKit C/C++ source code can be downloaded as zip
or tar.gz
file from the GitHub Releases page.
Download the latest supported version to you computer and build OpenKit as described in Building OpenKit C/C++.
An alternative approach is to clone the repository and checkout the tag you want to build. Be aware that you might need to update your cloned repository if you want to update to a newer tag.
When building an application which is using OpenKit, it's necessary to set the following preprocessor definitions if OpenKit was previously built as static library.
- CURL_STATICLIB
- OPENKIT_STATIC_DEFINE
If OpenKit is used as shared library (DLL/SO), those defines must not be set, otherwise the required import directives will not be used.
GitHub offers the possibility to receive notifications for new releases. Detailed instructions are available on the Watching and unwatching releases for a repository page.