##################################################
###                 DEPENDANCES                ###
##################################################

Boost
OpenCV
GLib 2.0
GStreamer 1.0 and plugins (app) - Note that gst/gstconfig.h is in the "lib/gstreamer-1.0/include" folder.
JAULA - Library used to parse JSON file or data streams
RestClient-cpp - This is for the Tobii REST API communication (https://github.com/mrtazz/restclient-cpp.git)

##################################################
###                 ENVIRONMENT                ###
##################################################

You need to specify the path to the GStreamer plugins version 1.0
using the environment variable "GST_PLUGIN_SYSTEM_PATH_1_0".
To do so, run on of the followin command, or add it to your ".bash_profile":
(depending on where your plugins are)

export GST_PLUGIN_SYSTEM_PATH_1_0 = /usr/lib/x86_64-linux-gnu/gstreamer-1.0
export GST_PLUGIN_SYSTEM_PATH_1_0 = /usr/lib/gstreamer-1.0
export GST_PLUGIN_SYSTEM_PATH_1_0 = /usr/local/lib/gstreamer-1.0

if you do not do this, you will get an error:
<< Unable to parse the pipeline: no element "udpsrc" >>
following with critical GLib erros.

##################################################
###                   INSTALL                  ###
##################################################

RUN:
	cmake .
	make
