Browse free open source C++ Libraries and projects below. Use the toggles on the left to filter open source C++ Libraries by OS, license, language, programming language, and project status.

  • Our Free Plans just got better! | Auth0 Icon
    Our Free Plans just got better! | Auth0

    With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

    You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
    Try free now
  • Gen AI apps are built with MongoDB Atlas Icon
    Gen AI apps are built with MongoDB Atlas

    Build gen AI apps with an all-in-one modern database: MongoDB Atlas

    MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
    Start Free
  • 1
    globjects

    globjects

    C++ library strictly wrapping OpenGL objects.

    globjects is a cross-platform C++ wrapper for OpenGL API objects. globjects provides object-oriented interfaces to the OpenGL API (3.0 and higher). It reduces the amount of OpenGL code required for rendering and facilitates coherent OpenGL use by means of an additional abstraction layer to glbinding and GLM. Common rendering tasks and processes are automated and missing features of specific OpenGL drivers are partially simulated or even emulated at run-time.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 2
    mp-units

    mp-units

    The quantities and units library for C++

    mp-units is a compile-time enabled feature-rich Modern C++ modular/header-only library that provides compile-time dimensional analysis and unit/quantity manipulation. Its key strengths include safety, performance, and developer experience.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 3
    slop

    slop

    Queries for a selection from the user and prints the region to stdout

    slop (Select Operation) is a small utility for visually selecting a region of the screen using the mouse and returning its coordinates. It's commonly used as a helper tool in screen capture or automation scripts and integrates well with utilities like maim, grim, or custom scripts for capturing and processing screen regions. Written in C++ and using X11, it’s lightweight and flexible, with options to control border styling, transparency, and display output. It’s a must-have for power users and developers working in Linux environments.
    Downloads: 2 This Week
    Last Update:
    See Project
  • 4
    state-threads

    state-threads

    Lightweight thread library for C/C++ coroutine (similar to goroutine)

    The State Threads Library is a small application library that provides a foundation for writing fast and highly scalable Internet applications (such as web servers, proxy servers, mail transfer agents, and so on) on UNIX-like platforms.
    Downloads: 2 This Week
    Last Update:
    See Project
  • Simple, Secure Domain Registration Icon
    Simple, Secure Domain Registration

    Get your domain at wholesale price. Cloudflare offers simple, secure registration with no markups, plus free DNS, CDN, and SSL integration.

    Register or renew your domain and pay only what we pay. No markups, hidden fees, or surprise add-ons. Choose from over 400 TLDs (.com, .ai, .dev). Every domain is integrated with Cloudflare's industry-leading DNS, CDN, and free SSL to make your site faster and more secure. Simple, secure, at-cost domain registration.
    Sign up for free
  • 5
    This project consists of a linux kernel driver and some user-mode libraries. They allow a process to create a virtual usb host controller. Real or virtual usb devices can be "plugged" into this controller.
    Leader badge
    Downloads: 50 This Week
    Last Update:
    See Project
  • 6
    RE/flex lexical analyzer generator

    RE/flex lexical analyzer generator

    The regex-centric, fast lexical analyzer generator for C++

    A C++ high-performance regex library and Flex-compatible lexical analyzer generator with full Unicode support, new indentation anchors, lazy quantifiers, and many other modern features. Accepts Flex lexer specification syntax and is compatible with Bison/Yacc parsers. Generates reusable source code that is easy to understand. Supports fast scanning of UTF-8/16/32 files, strings, and streams. The reflex scanner generator generates clean C++ lexer class code that is thread-safe. Generates Graphviz files to visualize state machine DFAs. RE/flex works seamlessly with Bison. Language: C++ License: BSD-3 Documentation: https://www.genivia.com/doc/reflex/html/index.html Repository: https://github.com/Genivia/RE-flex Changelog: see SF-README.md
    Downloads: 15 This Week
    Last Update:
    See Project
  • 7
    Pluma
    A minimal C++ framework for plug-in management. Small, cross-platform and simple to use.
    Leader badge
    Downloads: 10 This Week
    Last Update:
    See Project
  • 8
    QtContribs - Harbour Qt Projects

    QtContribs - Harbour Qt Projects

    New home to HbQt, HbIDE & HbDBU once Harbour SVN hosted contribs.

    This is the repository to host all those Harbour's contrib libraries and applications which could not comply with strict Harbour project goals but had the potentiality to march into the future. The goal is to keep this repository parallel with Harbours contrib and use the same build system which Harbour uses. This way it will be possible easily to shift any library/application from here to Harbour or vice-verse. As I am totally ignorant of Harbour's build system, it will be appreciated if someone knowledgeable take over this responsibility, which might be one-time task. Welcome to new chapter in Harbour history! Pritpal Bedi a student of software analysis & concepts
    Downloads: 10 This Week
    Last Update:
    See Project
  • 9

    libdxfrw

    library to read dwg & read/write dxf files

    c++ library to read/write DXF files in binary and ascii form and to read DWG from r14 to v2015 Continued at: https://github.com/LibreCAD/libdxfrw
    Leader badge
    Downloads: 22 This Week
    Last Update:
    See Project
  • Connect every part of your business to one bank account Icon
    Connect every part of your business to one bank account

    North One is a business banking app that integrates cash flow, payments, and budgeting to turn your North One Account into one Connected Bank Account

    North One is proudly built for small businesses, startups and freelancers across America. Make payments easily, keep tabs on your money and put your finances on autopilot through smart integrations with the tools you’re already using. North One was built to make managing money easy so you can focus on running your business. No more branches. No more lines. No more paperwork. Get complete access to your North One Account from your phone or computer, wherever your business takes you. Create Envelopes for taxes, payroll, rent, and anything else automatically.
    Get started for free.
  • 10
    Orx: Portable Game Engine

    Orx: Portable Game Engine

    Orx: Portable Game Engine

    Orx is a portable, lightweight, plugin-based, data-driven and extremely easy to use 2D-oriented game engine. As orx is data driven, it allows users to create games with a small number of lines of code and reduces drastically the development time.
    Downloads: 8 This Week
    Last Update:
    See Project
  • 11
    POCO C++ Libraries

    POCO C++ Libraries

    Cross-platform C++ libraries with a network/internet focus.

    NOTE: Current source code as well as bugs/patches are on GitHub: https://github.com/pocoproject/poco/ C++ class libraries for network-centric, portable applications, integrated perfectly with the C++ Standard Library. Includes network protocols (Sockets, HTTP, FTP, SMTP, POP3, etc.), SQL database access and XML parsing. Licensed under Boost license.
    Downloads: 7 This Week
    Last Update:
    See Project
  • 12

    ViennaCL

    Linear algebra and solver library using CUDA, OpenCL, and OpenMP

    ViennaCL provides high level C++ interfaces for linear algebra routines on CPUs and GPUs using CUDA, OpenCL, and OpenMP. The focus is on generic implementations of iterative solvers often used for large linear systems and simple integration into existing projects.
    Leader badge
    Downloads: 20 This Week
    Last Update:
    See Project
  • 13
    TX Library

    TX Library

    TX Library is a tiny graphics library for Win32 written in C++.

    TX Library is a tiny graphics library for Win32 written in C++. It is a small sandbox for the very beginners to help them to learn basic programming principles. The documentation is currently in Russian. More info here: http://storage.ded32.net.ru/Lib/TX/TXUpdate/Doc/HTML.ru, http://ded32.net.ru/news/2011-04-03-58, http://ded32.net.ru.
    Leader badge
    Downloads: 10 This Week
    Last Update:
    See Project
  • 14

    XLSX I/O

    C library for reading/writing values from/to Excel .xlsx files.

    Cross-platform C library for reading values from and writing values to .xlsx files. XLSX I/O aims to provide a C library for reading and writing .xlsx files. The .xlsx file format is the native format used by Microsoft(R) Excel(TM) since version 2007. The library was written with the following goals in mind: - primary focus on data values organized in tables, on not layout or graphics - written in standard C, but allows being used by C++ - simple interface - small footprint - portable across different platforms (Windows, *nix) - minimal dependancies: only depends on expat (only for reading) and libzip (which in turn depends on zlib) - separate library for reading and writing .xlsx files Also includes command line tools to convert between .xslx and CSV files.
    Downloads: 12 This Week
    Last Update:
    See Project
  • 15

    WinPcap v4.1.3 (libpcap v1.7.4)

    Parse pcapng and nanoseconds pcaps

    This is libpcap v1.7.4 library ported to Windows and deployed as WinPcap v4.1.3. It supports pcapng files and pcap files with nanoseconds timestamps. Instruction: 1. Install standard WinPcap 4.1.3 package from http://www.winpcap.org/ 2. On Windows 64-bit * Copy bin\x64\wpcap.dll from archive to \Windows\System32 * Copy bin\wpcap.dll from archive to \Windows\SysWOW64 3. On Windows 32-bit * Copy bin\wpcap.dll from archive to \Windows\System32
    Leader badge
    Downloads: 33 This Week
    Last Update:
    See Project
  • 16
    GDAL wheels for linux

    GDAL wheels for linux

    GDAL wheels for python and C/C++ projects (Linux only)

    To use precompiled wheels: 1) go to releases (Files) and download tarball needed; 2) install it with command: python3 -m pip install /path/to/wheel.whl Or simply use URL in pip: python3 -m pip install https://sourceforge.net/projects/gdal-wheels-for-linux/files/GDAL-3.1.4-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.whl/download URL may be found under "View details" button (i) To use GDAL in C/C++ project you need to link gdal lib AND all libs located at dir GDAL.libs (usually this folder resides inside python site-packages) To compile your own wheels see information given at forefather project: https://github.com/youngpm/gdalmanylinux Usually this is done via command `make wheels` GDAL wheels for Windows are provided by Christoph Gohlke at https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal Built with PROJ (proj.db is included), GEOS, EXPAT. See Dockerfile.wheels for additional components.
    Leader badge
    Downloads: 32 This Week
    Last Update:
    See Project
  • 17
    wxPHP

    wxPHP

    PHP bindings for the cross-platform GUI library wxWidgets.

    wxPHP is a php binding/wrapper for the cross-platform library wxWidgets, which gives you the ability to develop desktop applications using the php programming language. This applications can be executed on windows, linux and macosx using the same code base with a native look and feel. One of the ideas is that you can use your php web applications code base and logic to create native desktop applications that communicate to them transparently. This way you can give your users a seamless and native experience from the desktop while staying in sync with your web apps. There are many more use cases, but we invite you to download and try this project by your self. We hope everyone can enjoy it as much as we have enjoyed developing it.
    Downloads: 9 This Week
    Last Update:
    See Project
  • 18
    Lib CONIO (conio_am.h) GCC C++

    Lib CONIO (conio_am.h) GCC C++

    Library CONIO GCC C++ for Windows e Linux (POSIX)

    New version 7.1.22.12 - prealpha. This project presents clone of the Borland Turbo C/C++ or Embarcadero C++ library "conio" for the GCC compiler, more precisely for the C++ language in Windows, Linux and Mac OS operating systems. Because all functions are defined within the header file itself, the installation is simple. Just place the header file "conio_am.h" (CONsole Input Output Advanced Method) inside the GCC includes directory. Or keep the file "conio_am.h" in the same location where the source programs will be compiled. For more libraries, go to: https://sourceforge.net/u/augustomanzano/profile. To know my curriculum vitae, go to: http://lattes.cnpq.br/8184615061457853. Augusto Manzano http://www.manzano.pro.br https://www.youtube.com/@am-42
    Downloads: 11 This Week
    Last Update:
    See Project
  • 19
    LinAsm

    LinAsm

    Collection of fast and optimized assembly libraries for x86-64 Linux

    LinAsm is collection of very fast and SIMD optimized assembly written libraries for x86-64 Linux. It implements many common and widely used algorithms for array manipulations: searching, sorting, arithmetic and vector operations, unit conversions; fast mathematical and statistic functions; numbers and time converting algorithms; finite impulse response (FIR) digital filters; spectrum analysis algorithms, Fast Hartley transformation; CPU cache friendly functions and extremely fast abstract data types (ADT) such as hash tables b-trees, and much more. LinAsm libraries are written on FASM assembly language. They are stable and have appropriate benchmarks for many units. All libraries are well documented and grouped by their functionality. To get more information about this library, please visit the official web site: http://linasm.sourceforge.net
    Downloads: 17 This Week
    Last Update:
    See Project
  • 20
    This is a C++ logging library implementation which is accepted to Boost. It aims for extensibility and flexibility while moderately affecting user's application performance. Since being accepted, the library is developed and distributed as a part of Boost. Please, visit www.boost.org for more info.
    Downloads: 8 This Week
    Last Update:
    See Project
  • 21
    Settimino

    Settimino

    Arduino Ethernet library for communicating with S7 Siemens PLC

    Small but efficient communication library that allows your sketches the interfacing with Siemens PLC. Works starting from Arduino UNO with the W5100 ethernet shield.
    Leader badge
    Downloads: 29 This Week
    Last Update:
    See Project
  • 22

    libthreadar

    C++ library to manage threads and any type of exception between them

    Libthreadar is a C++ library providing an abstracted set of C++ *classes* to manipulate threads in a very simple and efficient way from your C++ code. It also handles exceptions thrown from a thread and propagated to another one, when the later is calling the thread::join() method. This let one manage exceptions as simply as it is in C++ single threaded context. Additionally, all the related objects around multi-threading (mutex, semaphore, ...) are provided, under easy to use and independent C++ classes. Other more advanced classes ease the information exchange between threads like scattering and gathering a collection of objects between many threads, or asynchonous buffered information exchanges between two threads. All these C++ classes are easy to use and fully documented
    Downloads: 28 This Week
    Last Update:
    See Project
  • 23
    Arduino FOC

    Arduino FOC

    Arduino FOC for BLDC and Stepper motors

    We live in very exciting times 😃! BLDC motors are entering the hobby community more and more and many great projects have already emerged leveraging their far superior dynamics and power capabilities. BLDC motors have numerous advantages over regular DC motors but they have one big disadvantage, the complexity of control. Even though it has become relatively easy to design and manufacture PCBs and create our own hardware solutions for driving BLDC motors the proper low-cost solutions are yet to come. One of the reasons for this is the apparent complexity of writing the BLDC driving algorithms, Field oriented control (FOC) being an example of one of the most efficient ones. The solutions that can be found online are almost exclusively very specific for certain hardware configurations and the microcontroller architecture used. Additionally, most of the efforts at this moment are still channeled towards the high-power applications of the BLDC motors and proper low-cost FOC.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 24
    Bloaty

    Bloaty

    Bloaty: a size profiler for binaries

    Bloaty is a deep, accurate size profiler for native binaries that tells you where every byte comes from so you can shrink executables and libraries intelligently. It parses binary formats like ELF, Mach-O, and DWARF symbol/debug data without relying solely on toolchain heuristics, letting you attribute size to files, sections, symbols, templates, and even compilation units. Reports can be produced at multiple granularities and diffed across builds to identify regressions introduced by compiler flags, dependencies, or new code paths. The tool is designed to be fast enough for iterative use in developer workflows and CI, making size budgets enforceable rather than aspirational. It also supports data sources such as symbol tables and map files, combining them into coherent, readable breakdowns. Teams use Bloaty to drive systematic size-reduction efforts in embedded, desktop, and mobile software where startup time, memory footprint, or download size matter.
    Downloads: 1 This Week
    Last Update:
    See Project
  • 25
    Brynet

    Brynet

    A Header-Only cross-platform C++ TCP network library

    Header Only Cross-platform high-performance TCP network library using C++ 11. The server uses two network threads and one logic thread, the client uses one network (also process logic) thread. Every packet size is 46 bytes. Every packet contains the client's id. Server broadcast packets to all clients when recv one packet from any client. The client sends one packet when recv packet from the server and the packet's id is equal self.
    Downloads: 1 This Week
    Last Update:
    See Project