Chilkat C/C++ Library Downloads
for MinGW-w64 and TDM-GCC

These are the builds used by Qt on Windows (MinGW kits) and by older Code::Blocks installers. Code::Blocks 25.03 and newer bundle a GCC 14 / UCRT toolchain from WinLibs; for that, or for MSYS2, see the MSYS2 downloads (the UCRT64 build). For CLion's bundled MinGW see the CLion downloads.

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

Which build do I need?

Match the GCC version of the toolchain your IDE installed (run g++ --version to check), plus the architecture (x86_64 or i686) and exception model (SEH for 64-bit, DWARF for 32-bit). Each download is labelled with the GCC version it was built with; the MinGW-w64 number in parentheses is the runtime version, which is not the same thing.

IDE / toolchainCompiler it shipsChilkat download
Qt 6.8 – 6.11GCC 13.1.0 x86_64 posix sehGCC 13.1 (MinGW-w64 11) x86_64
Qt 6.2.2 – 6.7GCC 11.2.0 x86_64 posix sehGCC 11.2 (MinGW-w64 9) x86_64
Qt 5.15, Qt 6.0 – 6.2.1,
Code::Blocks 20.03
GCC 8.1.0 x86_64 posix seh
GCC 8.1.0 i686 posix dwarf
GCC 8.1.0 x86_64
GCC 8.1.0 i686
Qt 5.12 – 5.14GCC 7.3.0 x86_64 posix seh
GCC 7.3.0 i686 posix dwarf
GCC 7.3.0 x86_64
GCC 7.3.0 i686
Generic MinGW-w64 / WinLibs installsGCC 12.2.0 / GCC 14.1.0 / GCC 15.1.0GCC 12.2 (MinGW-w64 10) / GCC 14.1 (MinGW-w64 12) / GCC 15.1 (MinGW-w64 13) x86_64
Code::Blocks 25.03 and newerWinLibs GCC 14.2.0, UCRTMSYS2 UCRT64 (MSYS2 downloads page)
CLion (bundled MinGW)GCC 11.2.0 x86_64 posix sehCLion downloads or GCC 11.2 (MinGW-w64 9) x86_64
Qt LLVM-MinGW kits (clang)LLVM-MinGW 17 / 18Not currently provided — use an MSVC kit, or contact Chilkat

Getting Started: Compiling and Linking

v11.7.0 • 11-Nov-2026 • sha256: 07942fc6a64730a66b7c0337bb3f80d1e92d8cb0bbab49c35b8259ccbc3b1b8e
GCC 15.1 (MinGW-w64 13) x86_64 posix-seh

v11.7.0 • 11-Nov-2026 • sha256: 8043842068390521e1c0acb1d1ee7a610024fda471f69335c220458202621e60
GCC 14.1 (MinGW-w64 12) x86_64 posix-seh

v11.7.0 • 11-Nov-2026 • sha256: 18aa428fcbf2f88a40cc911a8dec1cb0fa987b6551e6cd699736fa68f0b25b7f
GCC 13.1 (MinGW-w64 11) x86_64 posix-seh - Qt 6.8 and later

v11.7.0 • 11-Nov-2026 • sha256: 07cc2f221bfc5482bbc1111194b62ab2716d8d9ef41fbf8c18751be9675ed13d
GCC 12.2 (MinGW-w64 10) x86_64 posix-seh

v11.7.0 • 11-Nov-2026 • sha256: d2bfd5988ee7ffa4a46e893097ec55319eb8a8d6b56b0492cd4302e415f65a74
GCC 11.2 (MinGW-w64 9) x86_64 posix-seh - Qt 6.2.2 to 6.7, CLion

v11.7.0 • 11-Nov-2026 • sha256: 66d73015637e260205abe164b8f9f6241c1ec96f0c9badb0c0c45008617986a5
GCC 8.1.0 x86_64 posix-seh - Qt 5.15, Qt 6.0 to 6.2.1, Code::Blocks 20.03

v11.7.0 • 11-Nov-2026 • sha256: c9e869e5d43ede2441e50ad8dd36010c6849bb39708002377298051aa4ed3db3
GCC 8.1.0 i686 posix-dwarf - Qt 5.15, Code::Blocks 20.03

v11.7.0 • 11-Nov-2026 • sha256: 9c27bee1724605b5ee1b6483239ce634c1d764bdd0d955d67dc25f683ee5e051
GCC 7.3.0 x86_64 posix-seh - Qt 5.12 to 5.14

v11.7.0 • 11-Nov-2026 • sha256: a94a73d00a72352036ef455f136d1a57a97927e829a13efd7ca4ef9cf2483aff
GCC 7.3.0 i686 posix-dwarf - Qt 5.12 to 5.14

TDM-GCC Downloads

v11.7.0 • 11-Nov-2026 • sha256: 2bd8f18a2a78c26a68c17b8d905bb29b9d2e04ae02192bfde98c2661df519900
TDM-GCC 10.3.0 64-bit

v11.7.0 • 11-Nov-2026 • sha256: d95ad99798c04d3d1daca1fded3d18778e4c19cc36e1651edad4e622a852e242
TDM-GCC 10.3.0 32-bit

Getting Started: Compiling and Linking

1Unzip the download

Each download is a .zip; unzip it anywhere (the examples below assume C:\chilkat). There is nothing to install or register.

libchilkat.aThe Chilkat static library. Everything is in this one file; your .exe has no Chilkat DLL dependency.
include/One header per class: CkZip.h, CkHttp.h, ... for C++, and C_CkZip.h, C_CkHttp.h, ... for C. Include only the headers for the classes you use.
linkSample.cpp
linkSample.sh
A minimal C++ program and the g++ command that builds it (run the .sh from an MSYS2 or Git Bash shell, or copy the command into a Command Prompt).
c_Sample.c
c_sampleBuild.sh
The same for C: compile with gcc, link with g++.

2Write a small test program

Your application must call UnlockBundle once, at startup, each time it runs. Any string works for the 30-day trial; a purchased unlock code replaces it later without other changes.

// example.cpp
#include <iostream>
#include "include/CkGlobal.h"
#include "include/CkZip.h"

bool unlockChilkat()
{
    CkGlobal glob;
    if (!glob.UnlockBundle("Anything for 30-day trial")) {
        std::cout << glob.lastErrorText() << std::endl;
        return false;
    }
    return true;
}

int main()
{
    if (!unlockChilkat()) return 1;

    CkZip zip;
    std::cout << "Chilkat version: " << zip.version() << std::endl;
    return 0;
}

3Build from the command line

Link with libchilkat.a plus the three Windows system libraries Chilkat depends on: crypt32, ws2_32, and dnsapi. Always link with g++ (even for a C program) so the C++ runtime is pulled in.

# C++ program
g++ example.cpp -o example.exe -L. -lchilkat -lcrypt32 -lws2_32 -ldnsapi -Wl,--gc-sections

# C program: compile with gcc, link with g++
gcc -c c_example.c -o c_example.o
g++ c_example.o -o c_example.exe -L. -lchilkat -lcrypt32 -lws2_32 -ldnsapi -Wl,--gc-sections

Replace -L. with the directory containing libchilkat.a if it is not the current directory. -Wl,--gc-sections is optional but recommended: the Chilkat library is built with one section per function, so this lets the linker discard every Chilkat function your program does not use, which can make the .exe considerably smaller. Add -static if you don't want to ship the MinGW runtime DLLs (libstdc++-6.dll, libgcc_s_seh-1.dll, libwinpthread-1.dll) alongside your .exe.

4Or add Chilkat to your IDE project

Qt (qmake .pro file)

INCLUDEPATH += C:/chilkat
LIBS += -LC:/chilkat -lchilkat -lcrypt32 -lws2_32 -ldnsapi
QMAKE_LFLAGS += -Wl,--gc-sections

Qt 6 or Code::Blocks (CMakeLists.txt)

target_include_directories(myapp PRIVATE C:/chilkat)
target_link_directories(myapp PRIVATE C:/chilkat)
target_link_libraries(myapp PRIVATE chilkat crypt32 ws2_32 dnsapi)
target_link_options(myapp PRIVATE -Wl,--gc-sections)

Code::Blocks (classic .cbp project): open Project → Build options. Under Search directories → Compiler add the folder you unzipped to; under Linker settings → Link libraries add the full path to libchilkat.a, then crypt32, ws2_32, and dnsapi; optionally add -Wl,--gc-sections under Linker settings → Other linker options.

5If the link fails

Many "undefined reference" errors from inside libchilkat.a almost always mean the download does not match your compiler. Check the table above: the GCC version, the architecture (x86_64 vs i686), and the exception model (SEH vs DWARF) all have to agree — and go by the GCC version in the download name, not the MinGW-w64 runtime number in parentheses. In a Qt or Code::Blocks console, g++ --version and g++ -dumpmachine show what you actually have.

Errors mentioning crypt32, ws2_32, or dnsapi symbols mean those system libraries are missing from the link line, or are listed before -lchilkat; order matters with GNU ld, so keep them after it.

Unresolved C++ runtime symbols in a C program mean the final link was done with gcc instead of g++.