Ask Your Question

Revision history [back]

OpenCV - Gtkmm conflict?

Hello,

I would use the OpenCV libraries into a program using the Gtkmm interface but when I try to open an image with cv::imread, there is an error message during the execution : gtk-error ** Using gtk+ 2.x and gtk+ 3 in the same process is not supported.

I know that this is a gtk error, but it is caused by the imread instruction.

Does anyone have heard about this kind of conflict?

I am using gtkmm 3.0 and have upgraded opencv to 2.4.5 but this did not solve the problem. The operating system is Ubuntu 12.04.

Thnak you in advance.