Updated Working on Windows (markdown)

master
Dariyoush Shiri 1年前
父节点
当前提交
3735fc4a51
共有 1 个文件被更改,包括 6 次插入0 次删除
  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.
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
If you do not want to use the quiuckstart, you have several options

正在加载...
取消
保存