Skip to content

dpt/DPTLib

Repository files navigation

DPTLib

version 0.4.0

Build status

© David Thomas, 2013-2024

Overview

DPTLib is my platform independent C library. It contains a wide variety of functions, formed of various portable C code that I've written for PrivateEye, MotionMasks and other projects. Please consider it a permanent work in progress.

Modules

Base

Databases

Data Structures

Frame Buffer

Geometry

I/O

Test

Utilities

Building

Use CMake, e.g.:

mkdir build
cd build
cmake ..
make -j4

Testing

Enable BUILD_TESTS, e.g. using ccmake and build. Then invoke DPTLibTest like:

./DPTLibTest -resources <path to DPTLib>

It'll spew a load of test output. If successful you'll see:

++ Tests completed in 0.9909s: 18 of 18 tests passed.