VNC server not installing / compiling / dispmanx_vncserver

Searching for a solution of a compile error.
I download and install everything.
unzip master,zip
cd dispmanx_vnc-master
then:

osmc@Media:~/dispmanx_vnc-master$ make
cc -c -o main.o main.c
main.c:21:22: fatal error: bcm_host.h: No such file or directory
#include “bcm_host.h”
^
compilation terminated.
: recipe for target ‘main.o’ failed
make: *** [main.o] Error 1
osmc@Media:~/dispmanx_vnc-master$ sudo nano BCMHost.hh
osmc@Media:~/dispmanx_vnc-master$ make
cc -c -o main.o main.c
main.c:21:22: fatal error: bcm_host.h: No such file or directory
#include “bcm_host.h”
^
compilation terminated.
: recipe for target ‘main.o’ failed
make: *** [main.o] Error 1
osmc@Media:~/dispmanx_vnc-master$ ls
BCMHost.h DMXVNCServer.hh dispmanx_vncserver
BCMHost.hh Exception.hh dispmanx_vncserver.conf.sample
DMXDisplay.cpp MIT main.c
DMXDisplay.hh Makefile main.cpp
DMXResource.cpp README.md makeit
DMXResource.hh UFile.cpp
DMXVNCServer.cpp UFile.hh
osmc@Media:~/dispmanx_vnc-master$

Hi,

The error your seeing is covered in this thread

I’ve linked to a specific post, but its probably worth reading the whole topic.

Thanks Tom.