OpenImageIO
OpenImageIO copied to clipboard
[BUG] glTexImage3D not in QOpenGLFunctions but in QOpenGLExtraFunctions
Hey
I tried building OIIO with OCIO on windows with QT6.6.2 and got the error the symbol glTexImage3D can't be resolved in iv ivgl_ocio.h.
OpenImageIO version and dependencies Current master branch. (03/10/2024
To Reproduce
Build OIIO on windows.
IF YOU ALREADY HAVE A CODE FIX: I tried fixing the issue by changing the class IvGL to: class IvGL : public QOpenGLWidget, protected QOpenGLExtraFunctions in ivgl.h
O! Catch the same issue.
Also, replace
#include <QOpenGLFunctions>
with
#include <QOpenGLExtraFunctions>
Yes fair I changed that too.