The C library for image processing (CPicLib) implements the algorithms used in C99 with the standard library. There are no dependencies to other libraries.
CMake and a C99 compiler are required to compile the library. (GCC, Clang or MinGW, no Visual Studio)
Create and enter a build directory in the CPicLib
(under src/Raspberry Pi
) directory:
mkdir build
cd build
Use CMake in the build directory to generate Makefiles for the desired platform:
cmake ... -G <generator-name>
A complete list of available generators can be found at cmake -h. Recommendation
Windows: cmake ... -G "MinGW Makefiles"
*nix: cmake... -G "Unix Makefiles"
Build library in the build directory:
cmake --build .
After that, there should be a shared library file called cpiclib.dll
or cpiclib.so
(depending on the platform) in the build directory.
Optional
The library can be tested with the following script:
python __init__.py