OpenImageIO icon indicating copy to clipboard operation
OpenImageIO copied to clipboard

[BUG] glTexImage3D not in QOpenGLFunctions but in QOpenGLExtraFunctions

Open jonassorgenfrei opened this issue 11 months ago • 2 comments

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

jonassorgenfrei avatar Mar 10 '24 04:03 jonassorgenfrei

O! Catch the same issue.

Also, replace

#include <QOpenGLFunctions> with #include <QOpenGLExtraFunctions>

ssh4net avatar Mar 11 '24 09:03 ssh4net

Yes fair I changed that too.

jonassorgenfrei avatar Mar 11 '24 13:03 jonassorgenfrei