I am trying to create a virtual webcam from OBS(26.1.1) so I can feed it to Zoom. I am Linux Mint 20.1 Cinnamon, version 4.8.6, Kernel 5.4.0-64-generic.
I did:
sudo apt-get install v4l2loopback-dkmssudo apt-get install v4l2loopback-utils
but v4l2loopback is not showing up as an option in zoom
I went to the v4l2loopback github page, where it suggested I should build it from scratch and install it into my kernel. I tried to build from scratch and immediately ran into problems with the make command.
make -C /lib/modules/`uname -r`/build M=/home/berggren/Downloads/v4l2loopback-main modulesmake[1]: Entering directory '/usr/src/linux-headers-5.4.0-64-generic' Building modules, stage 2. MODPOST 1 modulesmake[1]: Leaving directory '/usr/src/linux-headers-5.4.0-64-generic'make -C utilsmake[1]: Entering directory '/home/berggren/Downloads/v4l2loopback-main/utils'cc -I.. v4l2loopback-ctl.c -o v4l2loopback-ctlv4l2loopback-ctl.c:1:10: fatal error: sys/types.h: No such file or directory 1 | #include <sys/types.h> | ^~~~~~~~~~~~~compilation terminated.make[1]: *** [<builtin>: v4l2loopback-ctl] Error 1make[1]: Leaving directory '/home/berggren/Downloads/v4l2loopback-main/utils'make: *** [Makefile:85: utils/v4l2loopback-ctl] Error 2
I didn't go further because I wasn't sure I was going in the right direction with that.
Could someone explain the correct procedure for installing v4l2loopback?