Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
GTK-3 support ? #14
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)
referenced this issue
Feb 28, 2018
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.
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.
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?