Ask Your Question

Vincent66's profile - activity

2013-04-26 07:57:11 -0600 commented question OpenCV - Gtkmm conflict?

I will continue it dig a bit with gtkmm but if I have no luck, I will follow your advice. Thank you.

2013-04-26 04:28:59 -0600 commented question OpenCV - Gtkmm conflict?

I have image manipulation programs, using opencvs, which could be useful for colleagues. But they are used to use programs with graphical interface. If I give them a console and three lines of code, file names and parameter, they might be sceptical. Thus the idea to try to develop those program into a graphical environment. gtkmm is “just” for the interface. The problem is that the mere fact of opening an image with opencv create the mentioned error message from the gtkmm end. I supposed that I am not the only one to have used those libraries together. But I have only seen one post on this conflict and the solution was to upgrade opencv, which I did, with no success.

2013-04-25 10:25:18 -0600 asked a question 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.