Coder Social home page Coder Social logo

matillamartin / of Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ofnode/of

0.0 2.0 0.0 30.07 MB

CMake openFrameworks for Linux, OS X and Windows.

CMake 0.81% C++ 37.43% Java 0.13% C 53.18% Makefile 0.17% Shell 0.13% JavaScript 0.14% Objective-C 2.08% Objective-C++ 0.37% Gnuplot 0.01% Assembly 0.01% Roff 0.40% HTML 0.35% Perl 0.01% Batchfile 0.04% Pascal 0.34% PHP 0.01% C# 3.59% Awk 0.01% Visual Basic 0.81%

of's Introduction

CMake openFrameworks 0.9.8

Build Status

Features

  • 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 ofxaddon command.

  • Easily cross-compile for Raspberry Pi from Ubuntu 16.04, see wiki for a detailed desccription and a step by step instruction.

Difference

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.

Step 1: Clone

Run git clone https://github.com/ofnode/of --depth 1 --no-single-branch to clone repo.

Step 2: Prepare

Install required developer packages for your OS with:

Linux:

dev/install/linux distro script

OS X:

dev/install/osx/homebrew.sh

Windows:

TODO - Help needed, please send PR

Step 3: Compile

For Linux, OS X and Windows:

mkdir build
cd build
cmake .. -G Ninja
ninja

You easily cross-compile for Raspberry Pi following this guide.

Also, you can generate project files for IDEs, Xcode example:

cmake .. -G Xcode -DCMAKE_BUILD_TYPE=Release
xcodebuild -configuration Release

NOTE: Visual Studio is not supported anymore.

Known issues

OpenFrameworks' Poco lib is not compatible with OpenSSL 1.1, this should be fixed with next release of openFrameworks 0.10. In the meanwhile, you have to install openssl-1.0 and tweak the cmake generation step. On Archlinux it looks like :

sudo pacman -S openssl-1.0
cmake -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 .

Templates

Examples

Run git submodule update --init --recursive from the repo folder to clone the examples.

Licenses

See 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.

Special thanks

In alphabetical order:

@aspeteRakete for creating OS X version and continuous support of the project!

@avilleret for creating Raspberry Pi 2 version!

@GuidoSchmidt for pull requests!

@procedural for original version.

of's People

Contributors

avilleret avatar like-a-bause avatar lopho avatar

Watchers

James Cloos avatar Martin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.