Ask Your Question
0

v4l2loopback install

asked 2018-07-22 15:56:15 -0600

takethat101 gravatar image

updated 2018-07-22 16:18:35 -0600

Hello. I am new to fedora and am trying to install v4l2loopback. I have found the github with everything... but I don't know which thing I need to get. Which item do I need to download? and how to I make /install it?

Edit: I got some help and realized that I needed to use make inside the directory that I get from github, now I'm getting this error. I when navigating via terminal, build isn't a directory but a file

bash-4.4$ make
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/home/wanacrypt0r/Programs/v4l2loopback-master modules
make[1]: *** /lib/modules/4.17.3-200.fc28.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:43: v4l2loopback.ko] Error 2
edit retag flag offensive close merge delete

Comments

Edit: I got some help and realized that I needed everything from the github and that I needed to execute make inside of the directory. now I'm getting an error:

bash-4.4$ make
Building v4l2-loopback driver...
make -C /lib/modules/`uname -r`/build M=/home/wanacrypt0r/Programs/v4l2loopback-master modules
make[1]: *** /lib/modules/4.17.3-200.fc28.x86_64/build: No such file or directory.  Stop.
make: *** [Makefile:43: v4l2loopback.ko] Error 2

How might I go around fixing this? build is a file, not a directory.

takethat101 gravatar imagetakethat101 ( 2018-07-22 16:21:52 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-07-22 16:47:04 -0600

fcomida gravatar image

Install gcc kernel-devel and git for cloning the repository. The instructions are in README.md.

  • sudo dnf install gcc kernel-devel git
  • git clone https://<v4l2loopback-repo>/v4l2loopback.git
  • cd v4l2loopback
  • make && sudo make install
  • sudo depmod -a
  • sudo modprobe v4l2loopback
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-07-22 15:56:15 -0600

Seen: 64 times

Last updated: Jul 22