Skip to content

OpenGL linking error on Windows #110

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
adazem009 opened this issue Mar 2, 2024 · 0 comments · Fixed by #111
Closed

OpenGL linking error on Windows #110

adazem009 opened this issue Mar 2, 2024 · 0 comments · Fixed by #111
Labels
bug Something isn't working P0 Priority: Critical

Comments

@adazem009
Copy link
Contributor

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.

@adazem009 adazem009 added bug Something isn't working P0 Priority: Critical labels Mar 2, 2024
@adazem009 adazem009 moved this from Todo to In Progress in scratchcpp-render 0.4.3 Mar 2, 2024
adazem009 added a commit that referenced this issue Mar 2, 2024
@github-project-automation github-project-automation bot moved this from In Progress to Needs porting in scratchcpp-render 0.4.3 Mar 2, 2024
@adazem009 adazem009 moved this from Needs porting to Done in scratchcpp-render 0.4.3 Mar 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0 Priority: Critical
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant