mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00:00
Fixed Windows GLFW library names.
This commit is contained in:
parent
984539cbd4
commit
8ad7c456fd
@ -144,7 +144,7 @@ sense if you are using OpenGL.
|
|||||||
|
|
||||||
#### Windows static library
|
#### Windows static library
|
||||||
|
|
||||||
The static version of the GLFW library is named `glfw`. When using this
|
The static version of the GLFW library is named `glfw3`. When using this
|
||||||
version, it is also necessary to link with some libraries that GLFW uses.
|
version, it is also necessary to link with some libraries that GLFW uses.
|
||||||
|
|
||||||
When linking a program under Windows that uses the static version of GLFW, you
|
When linking a program under Windows that uses the static version of GLFW, you
|
||||||
@ -154,7 +154,7 @@ must link with `opengl32`. If you are using GLU, you must also link with
|
|||||||
|
|
||||||
#### Windows DLL
|
#### Windows DLL
|
||||||
|
|
||||||
The link library for the GLFW DLL is named `glfwdll`. When compiling a program
|
The link library for the GLFW DLL is named `glfw3dll`. When compiling a program
|
||||||
that uses the DLL version of GLFW, you need to define the `GLFW_DLL` macro
|
that uses the DLL version of GLFW, you need to define the `GLFW_DLL` macro
|
||||||
*before* any inclusion of the GLFW header. This can be done either with
|
*before* any inclusion of the GLFW header. This can be done either with
|
||||||
a compiler switch or by defining it in your source code.
|
a compiler switch or by defining it in your source code.
|
||||||
|
Loading…
Reference in New Issue
Block a user