Trackbar not working (window not showing)

asked 2016-06-24 02:49:34 -0600

malkuh gravatar image

updated 2016-06-24 03:07:46 -0600

Hi, I have the problem that the windows in which I create a trackbar are simply not showing and keystrokes are not registered by waitKey. An example code would be the one from the tutorial (, although I have tried many codes that should work but won't when I compile and execute them. If I remove the trackbar from the window it shows again and everything works. I am using Xubuntu and C++.

Thank you!

Edit: I am using XFCE and version 2.4.13.

edit retag flag offensive close merge delete


what kind of gui do you use ? how did you install opencv ? which opencv version ?

berak gravatar imageberak ( 2016-06-24 03:00:31 -0600 )edit

I am using XFCE. I installed opencv version 2.4.13 using these instructions:

malkuh gravatar imagemalkuh ( 2016-06-24 03:06:21 -0600 )edit

ah, ok. the gui question would have been more like gtk vs. Qt, and i was suspecting, you got some prebuild libs from some ppm, which somehow don't fit.

no idea now, unfortunately !

berak gravatar imageberak ( 2016-06-24 03:10:54 -0600 )edit