Skip to content

OpenGL linking error on Windows #110

@adazem009

Description

@adazem009

The library isn't linked against OpenGL which causes this error:

ld.exe: scratchcpp-render/src/libscratchcpp-render.a(renderedtarget.cpp.obj):renderedtarget:(.text+0x276c): undefined reference to `__imp_glReadPixels'

However, Qt is linked against OpenGL, so QOpenGLFunctions should be used instead of directly calling the functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Priority: CriticalbugSomething isn't working

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions