Updated Working on Windows (markdown)

master
Jeffery Myers 2 weeks ago
parent
commit
ce00cc6006
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      Working-on-Windows.md

+ 6
- 6
Working-on-Windows.md

@ -43,15 +43,15 @@ If you do not want to use the quickstart, you have several options
> Unzip to `c:\w64devkit` > Unzip to `c:\w64devkit`
2. Download `raylib-5.0_win64_mingw-w64.zip` from https://github.com/raysan5/raylib/releases
2. Create a folder you want to build your game in.
> Unzip `include` and `lib ` to `c:\w64devkit\x86_64-w64-mingw32`
3. Download `raylib-5.0_win64_mingw-w64.zip` from https://github.com/raysan5/raylib/releases
> https://github.com/skeeto/w64devkit?tab=readme-ov-file#library-installation
> Unzip `include` and `lib ` to the folder you just created
3. Goto `c:\w64devkit` run `w64devkit.exe`,which launches a console
4. Goto `c:\w64devkit` run `w64devkit.exe`,which launches a console
4. Create `raylibhelloworld.c`
5. Create `raylibhelloworld.c` in the folder you created
``` ```
#include "raylib.h" #include "raylib.h"
@ -72,7 +72,7 @@ int main() {
``` ```
5. Compile in w64devkit.exe console: 5. Compile in w64devkit.exe console:
> `gcc -o raylibhelloworld.exe raylibhelloworld.c -lraylib -lgdi32 -lwinmm`
> `gcc -o raylibhelloworld.exe raylibhelloworld.c -I include -L lib -lraylib -lgdi32 -lwinmm`
6. Run: 6. Run:
> `./raylibhelloworld.exe` > `./raylibhelloworld.exe`

Loading…
Cancel
Save