Also one more thing, OpenCV cannot be built with OpenGL + QT and also checking OpenCV World. It won’t build, You have to compile without OpenCV world. I will try with GTK 2.0 on.
Note I’ve not been trying any OpenGL callback… Was just a basic thing that may succeed a cast in one case and not with the other one. You may share your openGL findings.
I am getting GUI:
QT: YES (ver 5.9.7)
QT OpenGL support: YES (Qt5::OpenGL 5.9.7)
Win32 UI: YES
OpenGL support: YES (opengl32 glu32)
VTK support: NO
for CMAKE GUI
when I try to run the project I am getting
OpenCV(4.5.2) Error: No OpenGL support (Library was built without OpenGL support) in cvNamedWindow, file C:\build\master_winpack-build-win64-vc15\opencv\modules\highgui\src\window_w32.cpp, line 970
do you want to build opencv on Jetson Xavier AGX or Host PC x86_64 with Ubuntu?
at both? Neither of the two?
As per your error it seems you are trying to build in Windows OS
It’s now October 2021. I’m trying to build OpenCV 4.5.4 (released last week!) on top of CUDA 10.2 and CuDNN 8.2.1 on a Xavier AGX running JetPack 4.6.
Is this OpenGL patch still needed? I would assume “yes”, since my attempts to build OpenCV without it have resulted in OpenGL being excluded from the configuration.
But it would be great to hear from someone at NVidia for confirmation.
Tim
I am also interested in what’s the current state. It’s Xavier NX in my case though.