I cant get gocv to open a window on Ubuntu 24.04 #1335
Answered
by
mikolbeckwith
mikolbeckwith
asked this question in
Q&A
|
Hello All, I am on Ubuntu 24.04 and I can get most of the examples to run. I wanted to try the capwindow example and it starts up my camera but the window never appears. I don't get any errors and it will just stay like that. when I hit Ctrl-C it closes normally. Has anyone else run into this problem? The camera is fine but I can't get gocv to open a window. I used python and it was able to open the window. go and python are both using Opencv 4.12.0. Any advice would be very appreciated. I am excited to use go with Opencv. |
Answered by
mikolbeckwith
Sep 13, 2025
Replies: 3 comments 2 replies
|
Here is the output: |
0 replies
|
Ok I figured it out. I installed GTK then rebuilt and it works now. Thank you for your response, It pointed me in the right direction. |
0 replies
Answer selected by
mikolbeckwith
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Ok I figured it out. I installed GTK then rebuilt and it works now. Thank you for your response, It pointed me in the right direction.