mirror of
https://github.com/raysan5/raylib.git
synced 2025-12-25 10:22:33 -05:00
Updated Working on Windows (markdown)
@ -43,15 +43,15 @@ If you do not want to use the quickstart, you have several options
|
||||
|
||||
> 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"
|
||||
|
||||
@ -72,7 +72,7 @@ int main() {
|
||||
```
|
||||
|
||||
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:
|
||||
> `./raylibhelloworld.exe`
|
||||
|
||||
Reference in New Issue
Block a user