A list of open-source C++ libraries
From cppreference.com
The objective of this page is to build a comprehensive list of open-source C++ libraries, so that when one needs an implementation of particular functionality, one needn’t to waste time searching on web (DuckDuckGo, Google, Bing, etc.)
If you know a library that might be useful to others, please add a link to it here. There are no restrictions on what can be included except that the source of the library must be readily available to download.
The page is provided “as is” - with the hope of being useful, but without any warranties. Outdated, misleading or wrong links might appear here. If you’ve noticed one of these, it would be great if you fixed the error.
[edit] Package managers
Package manager | Description |
---|---|
build2 | An open-source (MIT), cross-platform build toolchain that aims to approximate Rust Cargo’s convenience for developing and packaging C/C++ projects while providing more depth and flexibility, especially in the build system. |
cget | Cmake package retrieval. This can be used to download and install cmake packages. |
cmodule | Non-intrusive cmake dependency management. |
conan | Decentralized, open-source (MIT), C/C++ package manager. |
CPM.cmake | A cmake script that adds dependency management capabilities to cmake. It’s built as a thin wrapper around cmake’s FetchContent module that adds version control, caching, a simple API and more. |
hunter | A cmake driven cross-platform package manager for C/C++ projects. |
spack | A package manager for supercomputers, Linux, and macOS. It makes installing scientific software easy. It isn’t tied to a particular language. |
teaport | A cocoapods inspired dependency manager. |
vcpkg | A C/C++ package manager for Windows, Linux, and macOS. |
xmake | A cross-platform Lua-based C/C++ build tool and package manager. |
[edit] Libraries
[edit] Audio
Library | Description | License | Configuration |
---|---|---|---|
Amplitude Audio SDK | A cross-platform audio engine designed with the needs of games in mind. (Src) | Apache-2.0 | cmake, vcpkg |
Aquila | An open-source and cross-platform DSP library for C++11. | MIT | cmake |
Aubio | A C/Python library for audio and music analysis. (Src) | GPL-3.0 | make |
audioFlux | A C library for audio and music analysis, feature extraction. | MIT | |
Essentia | An open-source library and tools for audio and music analysis, description and synthesis (MIR) (Src) | Affero GPLv3 | |
FFTW | A library for computing the DFT (SSE/SSE2/AVX/Altivec/ARM Neon). (Src) | GPL-2.0 | cmake |
FMOD | An easy to use cross-platform audio engine and audio content creation tool for games. | Free for non-commercial/Commercial | cmake |
KFR | A fast, modern, C++17, open-source, cross-platform DSP/DFT framework, supports Audio resampling, FIR/IIR filters, Biquad, (SSE, AVX, AVX-512, ARM NEON). (Src) | GPL-2.0 | cmake |
libsoundio | A C library for cross-platform real-time audio input and output. (Src) | MIT | cmake |
Maximilian | C++ Audio and Music DSP Library. | MIT | cmake |
Miniaudio | An audio playback and capture C library. (Src) |