在 Ubuntu 中执行 DroidCam 时出错

在 Ubuntu 中执行 DroidCam 时出错

当我尝试运行 DroidCam 时,它显示如下:
错误

我怎样才能摆脱它?

答案1

由于此安装未签名,因此应禁用 BIOS 中的安全启动才能使其正常运行。转到您解压 DroidCam 的文件夹并运行,sudo ./install 然后您应该能够droidcam从终端输入并正常运行它。

例子:

terrance@terrance-ubuntu:~$ cd Downloads/droidcam/droidcam-64bit/
terrance@terrance-ubuntu:~/Downloads/droidcam/droidcam-64bit$ ls
droidcam  droidcam-cli  install  README  uninstall  v4l2loopback
terrance@terrance-ubuntu:~/Downloads/droidcam/droidcam-64bit$ sudo ./install
[sudo] password for terrance: 
Webcam parameters: '640' and '480'
Building v4l2loopback-dc.ko
make: Entering directory '/home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback'
make -C /lib/modules/`uname -r`/build M=`pwd`
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
Makefile:975: "Cannot use CONFIG_STACK_VALIDATION=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel"
  CC [M]  /home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback/v4l2loopback-dc.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback/v4l2loopback-dc.mod.o
  LD [M]  /home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback/v4l2loopback-dc.ko
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
make: Leaving directory '/home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback'
Moving driver and executable to system folders
Registering webcam device
Running depmod
make: Entering directory '/home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback'
make -C /lib/modules/`uname -r`/build M=`pwd` clean
make[1]: Entering directory '/usr/src/linux-headers-4.15.0-43-generic'
  CLEAN   /home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback/.tmp_versions
  CLEAN   /home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback/Module.symvers
make[1]: Leaving directory '/usr/src/linux-headers-4.15.0-43-generic'
make: Leaving directory '/home/terrance/Downloads/droidcam/droidcam-64bit/v4l2loopback'
Adding uninstall script
Adding driver to /etc/modules
Done
terrance@terrance-ubuntu:~/Downloads/droidcam/droidcam-64bit$ droidcam

在此处输入图片描述

相关内容