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
-1
日增长
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
#2400Interface (e.g eth0) setting using setsockopt on secure socket prior to connect is failing18 comments · 2018-07-24#2730Poco::format() doesn't support (space) as a flag like printf() does12 comments · 2019-06-21#2009JSON::Parser has problems parsing large numbers9 comments · 2017-11-21#1308Support YAML-style configuration files in Util9 comments · 2016-07-03#5424Poco::Data::MySql::ResultMetadata::adjustColumnSizeToFit(std::size_t pos)8 comments · 2026-07-31#5406epoll_wait is not interruptable8 comments · 2026-07-20#4988Can not resolve "localhost" if not Network adapter exists7 comments · 2025-08-08#4354Use clang-tidy in project6 comments · 2023-12-17
Discussions
#5493Release 1.15.40 comments · 2026-09-22#5431Can't cross-build Poco for aarch64: openssl/opensslv.h: No such file or directory despite existing header file4 comments · 2026-07-30#5360Release 1.15.30 comments · 2026-05-20#5320Poco 1.15.2 is released0 comments · 2026-04-16#5319OpenSSL 42 comments · 2026-04-16#5277poco has a page on Shypd (AI Tool Directory)0 comments · 2026-03-30#5273Schedule for Poco 1.15.2 release?2 comments · 2026-03-27#5252HTTPS Server With Reactor possible?1 comments · 2026-03-18
Latest release
Release 1.15.4 poco-1.15.4-release 2026-09-22Summary 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