diff --git a/Working-on-Windows.md b/Working-on-Windows.md index 5761e32..5f37242 100644 --- a/Working-on-Windows.md +++ b/Working-on-Windows.md @@ -64,7 +64,7 @@ int main() { ``` 5. Compile in w64devkit.exe console: -> `gcc -o raylibhelloworld.exe raylibhelloworld.c -lraylib -lopengl32 -lgdi32 -lwinmm` +> `gcc -o raylibhelloworld.exe raylibhelloworld.c -lraylib -lgdi32 -lwinmm` 6. Run: > `./raylibhelloworld.exe` @@ -98,9 +98,8 @@ The instructions below are focused on compiling raylib using Notepad++ as the ed Just open `raylib/src/raylib.h` source file on Notepad++ and execute (F6) the script `raylib_source_compile` ## A note on dependencies -Raylib includes all of it's own external dependencies on windows. There are 3 system libraries that need to be linked to raylib for a game to work. +Raylib includes all of it's own external dependencies on windows. There are only 2 system libraries that need to be linked to raylib for a game to work. -* OpenGL32: This is the Windows interface to the OpenGL API that raylib uses for drawing. * GDI32: This is the interface to the window setup and drawing functions that raylib and GLFW need to work on Windows. * WinMM: This is contains the high resolution timer code used by GLFW for precise timing in the game loop. @@ -126,4 +125,4 @@ This will output `a.exe` to the current directory, where you can run it with `./ ### Build ONE example using msvc/cl - cl gdi32.lib kernel32.lib msvcrt.lib opengl32.lib raylib.lib shell32.lib user32.lib winmm.lib filename.c -Ic:\path\to\raylib\include /link /libpath:c:\path\to\raylib\lib /NODEFAULTLIB:libcmt + cl gdi32.lib msvcrt.lib raylib.lib winmm.lib filename.c -Ic:\path\to\raylib\include /link /libpath:c:\path\to\raylib\lib /NODEFAULTLIB:libcmt