Chilkat CLion C/C++ Library Downloads

The download(s) on this page are the full-versions.
Chilkat libraries/components are fully functional for 30-day evaluations.

Getting Started: Compiling and Linking

v9.5.0.98 30-Mar-2024sha256: 915c6df72b49f79cb9c3d5637b5fc44ff6ea285ac368c163c7755b4e8a4ac301
Chilkat C/C++ Libs for CLion, Bundled MinGW w64 9.0

Compiling and Linking

To link with the Chilkat static lib, you'll need to add a few things to the CMakeLists.txt in your project. Add the directory in link_directories where the libchilkat-9.5.0.a is located. Also add target_link_libraries line that includes the name of your project, followed by "chilkat-9.5.0 ws2_32 crypt32".


Here is a the source code for a simple C++ program. Your application must call UnlockBundle once at the start each time it runs. Include the Chilkat header for each Chilkat class used.

// Simple C++ Example
#include "include/CkCrypt2.h"
#include "include/CkGlobal.h"

bool UnlockChilkat(void)
	CkGlobal glob;
	return glob.UnlockBundle("Anything for 30-day trial");

void DoSomethingWithChilkat(void)
    CkCrypt2 crypt;
    const char *ivHex = "000102030405060708090A0B0C0D0E0F";
    const char *keyHex = "000102030405060708090A0B0C0D0E0F101112131415161718191A1B1C1D1E1F";

    const char *encStr = crypt.encryptStringENC("The quick brown fox jumps over the lazy dog.");
    std::cout << encStr << std::endl;

    const char *decStr = crypt.decryptStringENC(encStr);
    std::cout << decStr << std::endl;

int main(int argc, const char* argv[])
	if (UnlockChilkat()) {
	return 0;

Release Notes

The release notes are located on the Chilkat blog.

Unicode Support

The Chilkat C++ libraries support Unicode in the form of utf-8 multibyte character strings. For more information see these pages:

Misdiagnosed Memory Leaks

C++ programmers often misdiagnose memory leaks with Chilkat. Please read the information here to understand the reason: Misdiagnosed C++ Memory Leaks