Updated Working on Windows (markdown)

master
Dariyoush Shiri 10 months ago
parent
commit
3735fc4a51
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      Working-on-Windows.md

+ 6
- 0
Working-on-Windows.md

@ -26,7 +26,13 @@ https://github.com/raylib-extras/raylib-quickstart
It works with many compilers on windows, linux and Mac OS. Works with makefiles, visual studio, and VSCode. It works with many compilers on windows, linux and Mac OS. Works with makefiles, visual studio, and VSCode.
Simply follow the instructions in that link and you will be done, you do not need to use the rest of this document. Simply follow the instructions in that link and you will be done, you do not need to use the rest of this document.
## Compile using Zig tools (cross platform)
This guide should work across all platforms, but the example is demonstrated on Windows.
1. Download and unzip Raylib to a directory, e.g., `C:\raylib`.
2. Place your C file in any desired location.
3. Compile the C (i.e., test.c) file using the following command:
`zig cc -o test.exe test.c -I"C:\raylib\include" "C:\raylib\lib\libraylib.a" -lopengl32 -lgdi32 -lwinmm`
## Other methods ## Other methods
If you do not want to use the quiuckstart, you have several options If you do not want to use the quiuckstart, you have several options

Loading…
Cancel
Save