-
-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GTK-3 support ? #14
Comments
Hi! Thanks! |
yes I did, that's why I made this request |
Added support for gtk+-3 in commit 6cd6ea9 |
I confirm it builds successfully with the patch. |
Hello, I get the following error when launching the patched version (of course I did replace gtk2 libs with gtk3 libs and I used a gtk3 build of wxwidgets)
|
Hello, I tried the following on a clean chrooted ubuntu artful installation:
libopencv installs libgtk-3.0 because some modules have dependencies on it. I only had to manually install libgtk-3-dev To install wxWidgets I used the latest stable tarball for linux. I configured it to use gtk-3 and compiled manually:
Finally, I managed to build (from commit a598ace) and run eviacam without issues. These are the steps I followed:
However, when installing wxWidgets from ubuntu repository, i.e.:
Checking the wxWidgets version shipped with artful:
it is clear that has been built against gtk-2. In fact, there is an open bug in ubuntu launchpad about this: Furthermore, when running the eviacam version shipped with artful I also get:
In summary, @kyrios123 make sure that both libopencv and wxWidgets are build against gtk-3 and that no other libraries add dependencies to gtk-2. It seems also that recent versions of debian (strech) and ubuntu (artful) provide wxWidgets built against gtk-2 and libopencv against gtk-3 and thus, software that need both libraries will probably crash with the same error. |
Thanks for this very useful feedback! Indeed, I see our |
We are currently testing the gtk3 vs gtk2 builds and the following issue has been reported: Takes forever getting the webcam via v4l |
When launching from the Terminal, it starts my webcam, turns it back off, and then provides an index error. It cycles through 9 indexes until it gets to my webcam (the only video device I have), then starts the OpenCL runtime.
|
Try applying the following patch. It basically disables multiple camera detection: |
@cmauri Applied patch, did a local build, same behavior as my previous comment. Here's an strace if it's any help. Webcam is a Logitech HD Pro Webcam C920. eviacam_strace.txt (~2.6MB) |
output.txt ./eviacam --debug Could you please run also in debug mode and attach the output? Remember that you should clone the devel branch and apply the patch on top of it. |
I there, I have this same issue using eviacam on a Ubuntu 18.04 desktop (was working on 16.04):
Is this fixed within the devel branch? Are there .deb available with any fix on that? |
@Clement-TS yes look at the detailed explanation here. TL;DR make sure that wxWidgets and openCV are built against the same version of GTK+ than eviacam |
Revisiting this issue in May 2019, it seems that since Debian 10 and Ubuntu 18.10 this issue should have been fixed. Package libwxgtk3.0-gtk3-0v5 was added to the distro and the eviacam dependencies were fixed. However, for previous Debian and Ubuntu releases, and other distributions based on such older versions (for instance, Linux Mint 19) ship with a broken eviacam package. In this case, you might find useful the installation script written by @Cat5TV and the Episode 607 of his Category5 Technology TV. |
Good afternoon. Well, in my case, I solve the issue with the next steps. Install viacam from synaptic. First download wxwidgets 3.1.2 from wxwidgetx.org and unzip and install with sudo ./configure in a console (konsole or tilix) make and make install. After this download the viacam from the source from https://eviacam.crea-si.com/index_es.php (codigo fuente/source code 2.1.1 or new). Install in synaptics the next files gtk2-dev libopencv-dev because the dependencies requeriments from evince. After this |
Good evening, after installing I get the following error: eviacam: /usr/local/lib/libwx_gtk3u_core-3.0.so.0: version `WXU_3.0.5 'not found (required by eviacam) how could i solve it, thanks |
Hello,
Is there any plan for supporting gtk-3 ?
We are considering retiring wxWidgets gtk-2 build and eviacam is one of the only blocker.
Thank you !
The text was updated successfully, but these errors were encountered: