UJO Data Object Notation  0.9.1
C API
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Install libUJO-c

The libUJO-c library is intendend to be used on multiple platforms. CMake is used to simplify building, installing or creating project files for a preferred development environment and platform. All instructions in this section require to install CMake. You can download CMake here: http://www.cmake.org/download/

All instructions require the sources of the libUJO-c library from GitHub. Download the ZIP archive and extract the files on your target or build system.

Currently the following target systems are testet:

Build libUJO-c on Windows

The CMake cache file CMakeCache.txt is storing parameters from a previous build. If you create the binaries for different platform you need to delete CMakeCache.txt and the CMakeFiles directory in order to create a clean new set of project files.

Build libUJO-c on x86 LINUX

The CMake cache file CMakeCache.txt is storing parameters from a previous build. If you create the binaries for different platform you need to delete CMakeCache.txt and the CMakeFiles directory in order to create a clean new set of project files.

Build libUJO-c on OS X

The CMake cache file CMakeCache.txt is storing parameters from a previous build. If you create the binaries for different platform you need to delete CMakeCache.txt and the CMakeFiles directory in order to create a clean new set of project files.

Build libUJO-c on ARM Linux

For many ARM based devices like Raspberry Pi, lightweight Linux distributions are available. On this devices libUJO-c can be build and installed.

libUJO-c cross build for Android

To build libUJO-c for Android with CMAKE, the settings for the toolchain have to be adjusted. CMake needs the information where to find the Android cross compiler. Edit the toolchain file android_arm32.cmake. The file is located in the sources root.

The Android NDK is required for cross compilation. Depending on the intended target platform you need to download and install the matching version. The Android NDK can be downloaded from https://developer.android.com/ndk/downloads.

A cross compile for Android on Windows requires MinGW with the MSYS packages.