Skip to content
This repository has been archived by the owner on Dec 11, 2022. It is now read-only.

OPencv3 with libgtk2 bindings #21

Open
Esiravegna opened this issue Dec 31, 2017 · 7 comments
Open

OPencv3 with libgtk2 bindings #21

Esiravegna opened this issue Dec 31, 2017 · 7 comments

Comments

@Esiravegna
Copy link

Do you tink it is possible to have this package with these bindings available?
I tried to compile opencv on my own to no avail.
Thanks for all your hard work!

@Esiravegna
Copy link
Author

More data:

OpenCV Error: Unspecified error (The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script) in cvWaitKey, file /home/jhelmus/conda/conda-bld/opencv_1512148862464/work/modules/highgui/src/window.cpp, line 676
2017-12-31 15:00:31,351 - wand.detector - ERROR - Error detecting a wand: /home/jhelmus/conda/conda-bld/opencv_1512148862464/work/modules/highgui/src/window.cpp:676: error: (-2) The function is not implemented. Rebuild the library with Windows, GTK+ 2.x or Carbon support. If you are on Ubuntu or Debian, install libgtk2.0-dev and pkg-config, then re-run cmake or configure script in function cvWaitKey

@lodagro
Copy link

lodagro commented Jan 3, 2018

👍

@jjhelmus
Copy link
Owner

I have not been able to determine how to build OpenCV with GTK support in a manner that is consistent with how conda packages should be distributed. Namely, GTK and its dependency should be distributed as conda package rather than relying on the system to provide these libraries. The OpenCV recipe in conda-forge has GUI support via Qt but this would be very challenging to replicate on the Raspberry Pi.

I will not be working on a OpenCV build with GTK but would be happy to review a recipe that support it.

@Esiravegna
Copy link
Author

Hey @jjhelmus , thanks for your reply!
Would this help?

@jjhelmus
Copy link
Owner

@Esiravegna Not really. This problem is not getting OpenCV to build with GTK, rather it is getting GTK and its dependencies compiled as a conda package.

@Esiravegna
Copy link
Author

Right, thanks again. As per the creators, this recipe builds against libgtk2, and it appears that it only requires to have it installed.

@jjhelmus
Copy link
Owner

That recipe uses QT for the GUI not GTK.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants