Dependencies problem after installing ofxOMXPlayer on Rasp PI3B+

#1

After cloning ofxOMXPlayer to the addons folder and running install_depends.sh I now get this error message when trying to compile my project:

gst/gst.h: No such file or directory
#include <gst/gst.h>

I have gstreamer and gst.h is in the right folder. Also I get these:

No package ‘libavfilter’ found
Perhaps you should add the directory containing libavresample.pc' to the PKG_CONFIG_PATH environment variable No package 'libavresample' found Package libpostproc was not found in the pkg-config search path. Perhaps you should add the directory containinglibpostproc.pc’
to the PKG_CONFIG_PATH environment variable
No package ‘libpostproc’ found […]
etc.

It seems to me that the dependencies got messed up, is there a fix? I tried running

cd /home/pi/openFrameworks/scripts/linux/debian
sudo ./install_dependencies.sh

but it didn’t work.

EDIT: If I remove ofxOMXPlayer from the project it does compile and work but as soon as I add it to the addons file I get
fatal error: cairo.h: No such file or directory
#include “cairo.h”