[ACCEPTED]-GLFW - Failed To Open A Window-glfw
Accepted answer
You need to link to opengl32.lib
.
For that, as pictured 8 below, go to Project Setting
and then Linker > input > Additional Dependencies
and add opengl32.lib
there (use 7 ;
to separate different libs).
Note that 6 you don't actually need to have opengl32.lib
file anywhere. Visual 5 Studio knows where to find it.
Edit: I should 4 note that you don't need to do anything 3 except adding opengl32.lib
. That other stuff is irrelevant. Additionally, if 2 both are present, try swapping the order, which 1 matters in some cases.
Source:
stackoverflow.com
More Related questions
Cookie Warning
We use cookies to improve the performance of the site. By staying on our site, you agree to the terms of use of cookies.