mirror of
https://github.com/raysan5/raylib.git
synced 2026-02-03 04:39:18 -05:00
Updated readme to be more readable and added compile on windows video
@ -1,13 +1,25 @@
|
|||||||
## Building Library
|
## Compiling raylib
|
||||||
|
|
||||||
To build your raylib game for Windows you need to download raylib git repository. raylib already comes with ready-to-use makefiles and CMake system to compile source code, examples and templates. You can alternatively download *raylib Windows Installer*.
|
To build your raylib game for Windows you **need to compile the raylib library first**. You can either compile the [current repository](https://github.com/raysan5/raylib) or download a [release](https://github.com/raysan5/raylib/releases).
|
||||||
|
|
||||||
|
It is always recommended that you download a [release](https://github.com/raysan5/raylib/releases) as the repository is under constant development.
|
||||||
|
|
||||||
|
raylib already comes with ready-to-use makefiles and CMake system to compile source code, examples and templates. You can alternatively download the raylib [Windows Installer](https://github.com/raysan5/raylib/releases).
|
||||||
|
|
||||||
**raylib Windows Installer** comes with all the required tools to develop with raylib, those tools are:
|
**raylib Windows Installer** comes with all the required tools to develop with raylib, those tools are:
|
||||||
* C Compiler (TCC or MinGW) - To compile the code, it includes all required system libraries.
|
* C Compiler (TCC or MinGW) - To compile the code, it includes all required system libraries.
|
||||||
* Notepad++ (preconfigured) - To edit code, it includes ready-to-use scripts to compile code and examples.
|
* Notepad++ (preconfigured) - To edit code, it includes ready-to-use scripts to compile code and examples.
|
||||||
* raylib library - Including, source, release, examples and templates.
|
* raylib library - Including, source, release, examples and templates.
|
||||||
|
|
||||||
If you want, you can use a different code editor (e.g. Visual Studio) or another compiler, but the following instructions are focused on raylib standard development tools: Notepad++ and TCC/MinGW.
|
If you want, you can use a different code editor (e.g. Visual Studio) or another compiler.
|
||||||
|
|
||||||
|
[@rfaile313](https://github.com/rfaile313) has made a complete guide for compiling raylib and setting up your first project that is IDE/Editor independent, meaning you can use any IDE or editor that you wish.
|
||||||
|
|
||||||
|
You can watch the video here:
|
||||||
|
|
||||||
|
[](https://youtu.be/HPDLTQ4J_zQ)
|
||||||
|
|
||||||
|
The following instructions are focused on raylib using Notepad++ as the editor and TCC or MinGW as the compiler:
|
||||||
|
|
||||||
### Build raylib using Notepad++ script
|
### Build raylib using Notepad++ script
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user