Hi. I am trying to build droidcam-cli because i saw that it could work on FreeBSD on these github topics below:
But when i try to build droidcam-cli with gmake, I get the error below. I have alsa-lib installed.
Add initial FreeBSD support by davidschlachter · Pull Request #189 · dev47apps/droidcam
v4l2loopback has recently been ported to FreeBSD, allowing Droidcam and similar virtual camera programs to be used. This patch allows the droidcam-cli target to be successfully built and to run on ...
github.com
initial changes to incorporate v4l2loopback by swills · Pull Request #9 · hselasky/webcamd
Definitely needs more work, but I got it working so I thought I'd send it over for comment. Fixes #7
github.com
But when i try to build droidcam-cli with gmake, I get the error below. I have alsa-lib installed.
Code:
% gmake droidcam-cli
cc droidcam-cli.c -o droidcam-cli
In file included from droidcam-cli.c:15:
./decoder.h:13:10: fatal error: 'alsa/asoundlib.h' file not found
13 | #include <alsa/asoundlib.h>
| ^~~~~~~~~~~~~~~~~~
1 error generated.
gmake: *** [<builtin>: droidcam-cli] Error 1
Code:
% pkg info -l alsa-lib | grep asound
/usr/local/etc/asound.conf.sample
/usr/local/include/alsa/asoundef.h
/usr/local/include/alsa/asoundlib.h
/usr/local/include/alsa/sound/asound_fm.h
/usr/local/include/alsa/sound/uapi/asound_fm.h
/usr/local/include/asoundlib.h
/usr/local/include/sys/asoundlib.h
/usr/local/lib/libasound.la
/usr/local/lib/libasound.so
/usr/local/lib/libasound.so.2
/usr/local/lib/libasound.so.2.0.0