mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Provide a simple build command (not using make) like the one on the GNU Linux page
@ -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/)
|
||||
|
||||
Reference in New Issue
Block a user