AndrewFromMelbourne / dmxwebcam

A webcam (v4l2) viewer for the Raspberry Pi console.
MIT License
21 stars 7 forks source link

compilation issue #8

Closed kingearwig closed 5 years ago

kingearwig commented 5 years ago

when I try to compile I get an error... kind of a noob at this stuff here is the error

pi@basestationpi:/share/dmxwebcam $ sudo make ./dmxwebcam
cc     dmxwebcam.c   -o dmxwebcam
dmxwebcam.c:53:10: fatal error: bcm_host.h: No such file or directory
 #include "bcm_host.h"
          ^~~~~~~~~~~~
compilation terminated.
AndrewFromMelbourne commented 5 years ago

The file should be in /opt/vc/include/bcm_host.h if it isn't there try installing the libraspberrypi-dev package.

kingearwig commented 5 years ago

Compiled successfully after running cmake first per the readme duh sorry