cmauri / eviacam

webcam based mouse emulator
GNU General Public License v3.0
145 stars 38 forks source link

Broken on Ubuntu 20.04.1 LTS #33

Open buck-apron opened 3 years ago

buck-apron commented 3 years ago

Versions (all installed from distro package source):

Symptom when running "eviacamloader" (both as regular user and as root):

[ WARN:0] global ../modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.

A warning, but nevertheless fatal - no program GUI ever appears.

I am trying to compile from source, but having no luck so far (can't get past "AM_GNU_GETTEXT not found" issues) - will keep trying for a bit more...

P.S. gnome-mousetrap is also broken, with almost the same error message, so I guess this relates to breaking changes in recent versions of opencv

douglasselph commented 3 years ago

Any hope of ever resolving this issue?

J3RN commented 3 years ago

Sorry to necro this thread.

I am trying to compile from source, but having no luck so far (can't get past "AM_GNU_GETTEXT not found" issues)

This is a consequence of an unmentioned dependency: GNU gettext development files. On Fedora, the package is gettext-devel. On Ubuntu it may be libgettextpo-dev; the description sounds about right.


I also agree with your analysis that it appears that opencv had some kind of breaking change lately. Unfortunately I scarcely know any C++ and so can't really help out.

chelseas commented 2 years ago

I am trying to use this as well. I am on ubuntu 20 LTS so I added libgettextpo-dev but no change, get the same error. same error as you:

(base) chelsea@chelsea-Lenovo-Legion-5-15ARH05H:~$ eviacam
[ WARN:0] global ../modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.

and

(base) chelsea@chelsea-Lenovo-Legion-5-15ARH05H:~$ eviacamloader
Use: 1001, Group: 1001. Eff. usr: 1001, Eff. group: 1001
eviacamloader: this program needs root privileges. not renicing.
[ WARN:0] global ../modules/videoio/src/videoio_c.cpp (15) cvCreateCameraCapture cvCreateCameraCapture doesn't support legacy API anymore.
Use: 1001, Group: 1001. Eff. usr: 1001, Eff. group: 1001