C++ libraries

https://cplusplus.com/reference/

格式化工具

{fmt}

{fmt} is an open-source formatting library providing a fast and safe alternative to C stdio and C++ iostreams.

Overview — fmt 9.0.0 documentation

文档:API Reference — fmt 9.0.0 documentation

源码:fmtlib/fmt: A modern formatting library (github.com)

日志

spdlog

Very fast, header-only/compiled, C++ logging library.

源码:gabime/spdlog: Fast C++ logging library.

  • Debian: sudo apt install libspdlog-dev
  • vcpkg: vcpkg install spdlog
  • conda: conda install -c conda-forge spdlog

算法

Boost C++ 库

Boost provides free peer-reviewed portable C++ source libraries.

Boost C++ Libraries

其他的 folly,abseil,tbb

文档:

计算

Eigen

Eigen is a C++ template library for linear algebra: matrices, vectors, numerical solvers, and related algorithms.

https://eigen.tuxfamily.org/

文档:Eigen: Main Page

源码:libeigen / eigen · GitLab

测试工具

GoogleTest

GoogleTest is Google’s C++ testing and mocking framework.

文档:GoogleTest User’s Guide | GoogleTest

源码:google/googletest: GoogleTest - Google Testing and Mocking Framework (github.com)

教程:

多媒体

OpenCV

Home - OpenCV

文档:OpenCV documentation index

源码:opencv/opencv: Open Source Computer Vision Library (github.com)

教程:

GUI

Qt

Qt | Cross-platform software development for embedded & desktop

文档:Qt Documentation | Home

下载:Index of /archive/qt

构建工具

Bazel

从初创公司到企业客户,选择 Bazel 开源项目即可构建和测试您的多语言、多平台项目。

Bazel

文档:Bazel start

源码:bazelbuild/bazel: a fast, scalable, multi-language and extensible build system (github.com)

CMake

CMake is an open-source, cross-platform family of tools designed to build, test and package software.

CMake

文档:Documentation | CMake

VSCode:vscode-cmake-tools/cmake-settings.md at main · microsoft/vscode-cmake-tools (github.com)

其他文章整理