pocoproject /poco

The POCO C++ Libraries are powerful cross-platform C++ libraries for building network- and internet-based applications that run on desktop, server, mobile, IoT, and embedded systems.

★ 9,498⑂ 2,329👁 399⑃ 2,126● 3,328▤ 38
C++NOASSERTIONCreated 2012-10-24pocoproject.org
Download: Release 1.15.4poco-1.15.4-release ↓poco-1.15.4-release2026-09-22
-1
Daily
9,498
stars
2,329
forks
399
watchers
2,126
prs
3,328
issues
38
releases

README

![alt text][logo]





 POCO (Portable Components) C++ Libraries are:

- A collection of C++ class libraries, conceptually similar to the Java Class Library or the .NET Framework.
- Focused on solutions to frequently-encountered practical problems.
- Focused on "internet-age" network-centric applications.
- Written in efficient, modern, 100% ANSI/ISO Standard C++.
- Based on and complementing the C++ Standard Library/STL.
- Highly portable and available on many different platforms, from embedded to server.
- Open Source, licensed under the Boost Software License.

![alt text][overview]

To start using POCO, see the Guided Tour
and Getting Started documents.


 Quick Start (with CMake)

 Prerequisites

- CMake 3.26 or newer
- A C++20 compiler (Visual C++ 2022, GCC 12, Clang 16, Apple Clang 16, or newer). CMake selects C++20 when the
  compiler supports it and falls back to C++17 otherwise; some features are only available with C++20.
- OpenSSL 1.1.1 or newer headers and libraries (optional, but recommended)
- MySQL, PostgreSQL, ODBC, and Apache/APR client libraries (optional)
- C++20, CMake 3.28 or later, and Ninja (for C++ modules)

Most Unix/Linux systems already have OpenSSL preinstalled. If your system
does not have OpenSSL, please get it from  or
another source. You do not have to build OpenSSL yourself - a binary
distribution is fine. For example, via Debian APT:


$ sudo apt-get install openssl libssl-dev


On macOS, the easiest way to install OpenSSL is via Homebrew:


$ brew install openssl


On Windows, the easiest way to install OpenSSL is via
WinGet:

$ winget install --id -e ShiningLight.OpenSSL.Dev

One may use a binary (prebuilt) release, for example the one from Shining Light
Productions that comes with a
Windows installer.
OpenSSL can also be installed via the vcpkg package manager.

On Windows, POCO can also use the native Windows TLS APIs (SChannel).

 Installing All Dependencies (Linux, macOS, Windows)

All dependencies can be installed with the following commands:

 Debian Linux (including Ubuntu and Raspbian)


$ sudo apt-get -y update && sudo apt-get -y install git g++ cmake libssl-dev libmysqlclient-dev libpq-dev


 RedHat Linux


$ sudo dnf install -y git gcc-c++ cmake openssl-devel mysql-devel postgresql-devel


 Arch Linux


$ sudo pacman -Syu --noconfirm git gcc make cmake openssl mariadb-libs postgresql-libs


 macOS (with Homebrew)


$ brew install cmake openssl mysql-client libpq


 Windows (with WinGet)


$ winget install --id -e Git.Git LLVM.LLVM Kitware.CMake ShiningLight.OpenSSL.Dev PostgreSQL.PostgreSQL Oracle.MySQL Microsoft.msodbcsql


 Building with CMake (Linux, macOS, Windows)

CMake (version 3.26 or newer) is the official build system for
building the POCO C++ Libraries.


$ git clone -b main https://github.com/pocoproject/poco.git
$ cd poco
$ mkdir cmake-build
$ cd cmake-build
$ cmake ..
$ cmake --build . --config Release


On macOS, it's necessary to tell CMake where to find the OpenSSL headers
and libra

Top issues

Discussions

Latest release

Release 1.15.4 poco-1.15.4-release 2026-09-22
Summary of Changes:

Security release. Ten security advisories are fixed: host name verification disabled by default in SSLManager configurations, OCSP responses accepted from a substituted issuer and plaintext fallback in FTPSClientSession (NetSSL), redirects into file: and other non-web schemes (Foundation, NetSSL), HTTP request framing differences and unbounded buffering of incomplete requests in HTTPReactorServer (Net), and parser defects in Zip, SevenZip and JSON.

Bundled expat is updated to 2.8.5, pcre2 to 10.48, SQLite to 3.53.4, 7-Zip (LZMA SDK) to 26.02 and pdjson to a current up

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON