Projects / ClanLib


ClanLib is a cross-platform game SDK currently supporting Windows and Linux. It provides easy-to-use interfaces for 2D graphics, input, sound, resources, networking, GUI, OpenGL, and more. The goal is to provide a game SDK that does all the dirty work that all modern games need to implement anyway, thus making the game developer concentrate on the gameplay instead of reinventing the wheel over and over again.

Operating Systems

Last announcement

New ClanLib Tutorial 06 Oct 2010 14:54

The first three parts of a brand new ClanLib tutorial is now available at From the excerpts: Welcome to the ClanLib Tutorial series, where the end goal is to build a persistent multiplayer architecture using C++. The first two parts will be about general ClanLib usage, while the later parts are more network, game and architecture oriented. You will learn a lot about ClanLib in all parts, since we’ll be using that as our framework throughout. We’ll try to move in small steps, with a focus on code, not on theory. Part 1: In this first part we’ll set up the ClanLib environment, and make sure it works with a small example. Part 2: In this part of the ClanLib Tutorial, we will learn about ClanDisplay, and how it handles visuals. We will cover drawing using primitives, fonts and animated sprites. The ClanLib resource system will also be covered in some detail. Part 3: In this part of the ClanLib Tutorial, we will learn about ClanNetwork. Some Internet protocol basics will be covered, but the main focus will be on a ClanLib API called NetGame, which is an event based networking engine. A simple server and client application will be explained, and we’ll go into details on sending/receiving and dispatching events.

Recent releases

  •  25 Sep 2013 14:57

    Release Notes: DirectX 11 was added as a render target. On Windows, there are now no dependencies, so you can simply download the SDK and know that all components are using a Zlib style software license. To enhance the speed of the SDK, the 2D management code was separated. It was placed on a higher level class Canvas. For 3D operations, the GraphicContext is used, without any overhead. ClanLib has been updated with the latest OpenGL 4.4 API. New packages were included for 2D collisions, 3D collisions, and 3D scene management.

    •  28 Mar 2012 08:27

      Release Notes: This release contains a lot of Linux build changes to make ClanLib suitable for distributions. ClanGL now works against the Mesa and Nouveau Linux drivers. Minor fixes have been made in ClanCore regarding zip, xpath, and xml support.

      •  23 Feb 2012 13:14

        Release Notes: This update contains new cryptography classes, a few new examples, and bugfixes.

        •  05 Dec 2011 21:15

          Release Notes: Transparent windows are now supported on Linux, and there are massive performance enhancements to transparent windows on Windows Vista/7. Various bugs were fixed.

          •  07 Sep 2011 08:35

            Release Notes: 3D examples now use the external AssImp library for better compability and speed. The release also includes bugfixes for Linux and GL. A new utility that lets you capture window output into a movie was added.

            Recent comments

            05 Jan 2006 02:22 jameshales

            The link on this page is to the development release 7.8, but some programs prefer the stable release, 6.5. Check which one your programs need. If the ./configure script for the program says that it cannot find ClanLib you have probably got the wrong version.

            Also, the download link for the Hermes dependancy on ClanLib's page is broken. The correct link is:


            29 Oct 1999 05:31 mexxcorp

            a kickass game SDK!!!
            It's the best.


            Project Spotlight


            A Fluent OpenStack client API for Java.


            Project Spotlight

            TurnKey TWiki Appliance

            A TWiki appliance that is easy to use and lightweight.