Updated Working on Windows (markdown)

master
Jeffery Myers 1 year ago
parent
commit
d9a35a7b58
1 changed files with 12 additions and 5 deletions
  1. +12
    -5
      Working-on-Windows.md

+ 12
- 5
Working-on-Windows.md

@ -4,7 +4,7 @@
The fastest way to get a game setup on windows with MinGW or Visual Studio is to use premake. The fastest way to get a game setup on windows with MinGW or Visual Studio is to use premake.
See [raylib-extras/game-premake](https://github.com/raylib-extras/game-premake) for instructions See [raylib-extras/game-premake](https://github.com/raylib-extras/game-premake) for instructions
#### Installing raylib via msys2
### Installing raylib via msys2
You can download and install raylib using the [msys2](https://www.msys2.org/) package manager (pacman): You can download and install raylib using the [msys2](https://www.msys2.org/) package manager (pacman):
@ -12,7 +12,7 @@ You can download and install raylib using the [msys2](https://www.msys2.org/) pa
--- ---
#### Installing and building raylib via vcpkg
### Installing and building raylib via vcpkg
You can download and install raylib using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager: You can download and install raylib using the [vcpkg](https://github.com/Microsoft/vcpkg) dependency manager:
@ -30,7 +30,7 @@ The default triplet in vcpkg is set to "x86-windows". If you want to install x64
--- ---
#### Installing and building raylib via conan
### Installing and building raylib via conan
You can download and install raylib using the [conan](https://conan.io) dependency manager: You can download and install raylib using the [conan](https://conan.io) dependency manager:
@ -87,8 +87,15 @@ Open `w64devkit.exe` in `C:\raylib\w64devkit` then cd to `c:/raylib/raylib/examp
This will output `a.exe` to the current directory, where you can run it with `./a.exe`. 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
### 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/) A tool has been created to ease this specific approach to building raylib: [`VCrayApp`](https://orcmid.github.io/nfoTools/dev/D211101/)
`VCrayApp` is a project-folder organization that is useful for creating Microsoft Windows programs using the [raysan5/raylib](https://www.raylib.com/) library for graphical applications.
`VCrayApp` is a project-folder organization that is useful for creating Microsoft Windows programs using the [raysan5/raylib](https://www.raylib.com/) library for graphical applications.
## A note on dependencies
Raylib includes all of it's own external dependencies on windows. There are 3 system libraries that need to be linked to raylib for a game to work.
* OpenGL32 This is the windows interface to the OpenGL API that raylib uses for drawing
* GDI32 this is the interface to the window setup and drawing functions that raylib and GLFW need to work on windows
* WinMM this is contains the high resolution timer code used by GLFW for precise timing in the game loop.

Loading…
Cancel
Save