Getting Started on Linux

The MYNT EYE SDK is compatible with Ubuntu 14.04/16.04.

We provide different versions for GCC 4 and 5 because GCC 5 uses a new ABI by default (see here). It is recommended that you use the consistent version.


# Install build tools
$ sudo apt-get install build-essential cmake git
# Install OpenCV dependencies
$ sudo apt-get install pkg-config libgtk2.0-dev
# Install ssl for https, v4l for video
$ sudo apt-get install libssl-dev libv4l-dev v4l-utils

Install OpenCV 3.4

$ git clone
$ cd opencv/
$ git checkout tags/3.4.0
$ mkdir build
$ cd build/
$ cmake \
$ make -j4
$ sudo make install

Install CUDA (Optional)

If you have Nvidia's graphic card, you could enable GPU compute capability as follows:

  • Ensure your graphic card drivers are up to date.
  • Download and install correct version of CUDA Toolkit according to here.

Install SDK

Go to the SDK directory and edit sdk.cfg to set your OpenCV install directory etc., then install:

$ cd <sdk directory>
$ ./
$ source ~/.bashrc

Check Installation

After ./, you could check the environment variables:

<Should be the sdk path>

Build SDK Samples

$ cd samples/
$ mkdir build
$ cd build/
$ cmake -DCMAKE_BUILD_TYPE=Release ..
$ make

Then you could run the sample like this:

$ ./samples/bin/camera [name]

Please see "samples/" to learn more about the samples.

About SDK Tools

Please see "tools/".

Open SDK Documentation

$ xdg-open doc/api/html/index.html


If have issues when installing, you could make an attempt to find it in FAQ.