From 1ef33a52f79844856ec97533a05c2acab091677c Mon Sep 17 00:00:00 2001 From: kvnvallis <3499307+kvnvallis@users.noreply.github.com> Date: Tue, 7 Feb 2023 12:47:21 -0800 Subject: [PATCH] Provide a simple build command (not using make) like the one on the GNU Linux page --- Working-on-Windows.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Working-on-Windows.md b/Working-on-Windows.md index bce1e1a..7e1cc9f 100644 --- a/Working-on-Windows.md +++ b/Working-on-Windows.md @@ -75,6 +75,14 @@ Using MinGW make tool, just navigate from command line to `raylib/examples/` fol mingw32-make PLATFORM=PLATFORM_DESKTOP +### Build ONE example using gcc/g++ + +Open `w64devkit.exe` in `C:\raylib\w64devkit` then cd to `c:/raylib/raylib/examples/core` and type: + + gcc core_basic_window.c -lraylib -lopengl32 -lgdi32 -lwinmm + +This will output `a.exe` to the current directory, where you can run it with `./a.exe`. + ## Building raylib project with VC (`CL.exe`) in Command-Line-Environment A tool has been created to ease this specific approach to building raylib: [`VCrayApp`](https://orcmid.github.io/nfoTools/dev/D211101/)