hi can someone here help me with installing webcamstudio_0.73-r604 in a fedora22 64bit box?
1) I know ws has been discontinued but I'd like to get it working if I can, it looks like just the thing I need right now.
2) I'm not an ubuntu fan and I'd rather not get into a new linux flavour after learning about fedora/centos for several years now.
I'm following the readme and so far I've made it down to step 5. It says "compile webcamstudio-module-111 (Shipped in this archive "vloopback") with "make" & "sudo make install"., but my package has webcamstudio-module-109.tar.bz2. I extracted it and it made the vloopback folder. It then says to run make but when I ran make I got this:
make
Building webcamstudio kernel module...
make -C /lib/modules/4.4.14-200.fc22.x86_64/build M=/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback modules
make[1]: Entering directory '/usr/src/kernels/4.4.14-200.fc22.x86_64'
CC [M] /home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.o
/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.c: In function ‘attr_store_maxopeners’:
/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.c:496:6: error: implicit declaration of function ‘strict_strtoul’ [-Werror=implicit-function-declaration]
if (strict_strtoul(buf, 0, &curr))
^
/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.c: In function ‘init_vdev’:
/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.c:2012:7: error: ‘struct video_device’ has no member named ‘debug’
vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
^
/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.c:2012:17: error: ‘V4L2_DEBUG_IOCTL’ undeclared (first use in this function)
vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
^
/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.c:2012:17: note: each undeclared identifier is reported only once for each function it appears in
/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.c:2012:36: error: ‘V4L2_DEBUG_IOCTL_ARG’ undeclared (first use in this function)
vdev->debug = V4L2_DEBUG_IOCTL | V4L2_DEBUG_IOCTL_ARG;
^
cc1: some warnings being treated as errors
scripts/Makefile.build:264: recipe for target '/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.o' failed
make[2]: [/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback/webcamstudio.o] Error 1
Makefile:1389: recipe for target 'module/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback' failed
make[1]: [module/home/packages/webcamstudio-0.73/ArchFedoraOpenSuse/vloopback] Error 2
make[1]: Leaving directory '/usr/src/kernels/4.4.14-200.fc22.x86_64'
Makefile:13: recipe for target 'webcamstudio.ko' failed
make: *** [webcamstudio.ko] Error 2
any help much appreciated.
update: it's ok, I downloaded and extracted v4l2loopback-master and ran make and make install -ti went ok. However the readme says: "Copy libwebcamstudio.so in /usr/lib64 (or your user libs folder ...) but I don't get any libwebcamstudio.so, I've only got libwebcamstudio.c in the original vloopback folder. How do I get the libwebcamstudio.so file?
Last edit: Tony G 2017-05-31
Hi,
You do not need that library (libwebcamstudio.so) it was just a compatibility library when webcamstudio was using its own slightly modified v4l2loopback driver....
Later in the development we made it possible the application to work with the original v4l2loopback driver....
So my advice is:
1. Use original v4l2loopback driver (as you already did it) from master of https://github.com/umlaeute/v4l2loopback
2. You'd better use the latest source of webcamstudio that can be found here: http://bazaar.launchpad.net/~webcamstudio/webcamstudio/trunk/files
3. See for more info on https://launchpad.net/webcamstudio though more Ubuntu oriented, but it may be used for other platforms too...
4. Maybe this file: http://bazaar.launchpad.net/~webcamstudio/webcamstudio/trunk/view/head:/README though a bit outdated may help you too :)
phobos thankyou for your feedback, I'm making my way through the readme(s), I'm now at <Step 11=""> where it says
but I have no WebcamStudio.jar anywhere on my system. Where should this file be? I searched on google to download it but no joy.
Last edit: Tony G 2017-06-01
The launchpad bazaar link above points to the latest sources... In order to use them you need to compile the Jar file, not to download it from somewhere... The sources can be used with the NetBeans IDE, so you open them as a project there and build and run and you will get the jar file + nededed libraries and a folder structure to run the application multiple times ... But that is your option if you want to compile yourself and you know at least some basic rules and procedures of compiling a Java application :)
Another option would be to download the Ubuntu latest deb file https://launchpad.net/~webcamstudio/+archive/ubuntu/webcamstudio-dailybuilds/+files/webcamstudio_0.73-466~201701081046~ubuntu16.04.1_amd64.deb
(general link: https://launchpad.net/~webcamstudio/+archive/ubuntu/webcamstudio-dailybuilds/+packages?field.name_filter=&field.status_filter=published&field.series_filter=xenial)
Then decompress it using "File roller" for example, and then decompress the resultant data.tar.xz file.... You will get all the files needed in a folder structure that is like /,/usr etc etc... Then you may put the files in their respective folders....
But let me warn you.. This second option is actually a very bad idea/hack/way to make webcamstudio work on Fedora 22... And I would advice against it... And it may or may not work out of the box... It may require some changes to the paths in the wrappers etc... the 64bit libs may be incompetible with the glibc of Fedora 22 etc etc problems.... And finally this would not use the Fedora package manager, which is always the preferred way to install applications...
Sadly I do not have enough time to prepare an rpm package for Fedora 22... I may have some time in a couple of months to build a snap package maybe... but as far as I know snap packages are supported from Fedora 24 onwards...
thankyou again phobos, I'm going to try youer first suggestion and get the latest sources from http://bazaar.launchpad.net. I don't know anything about netbeans or a way to download the whole folder tree in one go but I'll search on google and work it out. I really would like to get WS working on my machine if possible. Tony
OK.
If you do not succeed I will try to find some time at the end of the week to compile platform independent binary archive for the latest SVN :)
I've got the ws source files now and I managed to install netbeans 8.2 from oracle. Are there any dociments at your site that explain how to use netbeans to complie the source files?
if your suggestion of a 'platform independent binary archive' helps a newbie install ws that would be much appreciated, I'm still hitting brick walls with this.