Skip to content

Installation

Philip Kunz edited this page Aug 23, 2022 · 8 revisions

Supported Operating Systems

IDF should work on Mac OS X and most flavors of Linux. It does not support Windows.

Prerequisites

IDF requires a couple of libraries that you'll need to install via your package manager if they're not already present.

Linux (RedHat 8+ Variants)
sudo yum install systemd-udev systemd-devel

Linux (older RedHat variants)
sudo yum install libudev libudev-devel

Linux (Debian variants)
sudo apt-get install udev libudev-dev

Mac OS X
The IOKit and CoreFoundation frameworks are required and should already be present. You'll have to find a Mac guru (not me) if they're not.

Java

You'll also need at least Java SE 8 if you want to use the Virtual Hand Controller.

Compiling

Trick
If you're using IDF with Trick, you don't need to build the IDF library. Stop reading this page and skip to Trick Integration!

Standalone
IDF uses CMake as its build environment.

mkdir build
cd build
cmake ..
make

CMake will, by default, choose a generator for the most appropriate native build system (make, in this example), which varies by operating system. However, you can force a particular generator via the -G option. See the GENERATORS section of man cmake for a list of generators available on your platform.

Installing

CMake generally produces an install target for the chosen build system. For instance, with make:

make install