64-bit, CMake, Ninja, Cotire, Clang and Sanitize ready.
Generate project file for your favorite IDE with CMake Generators.
Easily add openFrameworks addons with single
The only difference is that this project targets CMake build system and stores source code of some libraries on which openFrameworks depends locally with patches applied if needed.
See Architecture wiki page for details.
Step 1: Clone
git clone https://github.com/ofnode/of --depth 1 --no-single-branch in a terminal.
git submodule update --init --recursive to clone the examples.
Step 2: Prepare
Install required developer packages for your OS with:
dev/install/linux distro script
Step 3: Compile
mkdir build-linux cd build-linux CC=clang CXX=clang++ cmake .. -G Ninja ninja
mkdir build-osx cd build-osx cmake .. -G Xcode -DCMAKE_BUILD_TYPE=Release xcodebuild -configuration Release
mkdir build-windows cd build-windows cmake .. -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ ninja
licenses folder. OF can be used for commercial applications without disclosing their source code. OF statically links to libraries which allow that for commercial use. OF does not use GPL-licensed libraries. FreeImage, FreeType and Cairo are dual licensed, thus OF uses FIPL, FTL and MPL respectively. GTK+ 3, GLib, ALSA, OpenAL Soft, mpg123, libsndfile, Gstreamer, udev and libusb are licensed under LGPL v2.1 or higher which allow dynamic linking to closed source applications and OF dynamically links to them.