diff --git a/Compile-your-game-for-Windows.md b/Compile-your-game-for-Windows.md index c4a9502..2249cbd 100644 --- a/Compile-your-game-for-Windows.md +++ b/Compile-your-game-for-Windows.md @@ -1,4 +1,17 @@ -**Building raylib sources on desktop platforms:** +To build your raylib game for Windows, raylib installer comes with all the required tool; it includes a ready to use code editor: Notepad++ with some useful scripts ready and it also includes a compiler with basic C libraries: MinGW. + +If you want to use another code editor like Visual Studio or another compiler package you can also use them but this instructions below are focused on raylib standard development tools: Notepad++ and MinGW. + +###Installing raylib + +Just download raylib installer and run it. It installs Notepad++ and MinGW, custom versions for better integration with raylib. + +NOTE: Make sure the following libs (and their headers) are accesible to the compiler (placed on right folders): + + libglfw3.a - GLFW3 (static version) + libopenal32.a - OpenAL Soft, audio device management + +###Compiling raylib source code _Step 1:_ Using MinGW make tool, just navigate from command line to `raylib/src/` folder and type: @@ -8,14 +21,8 @@ NOTE: By default raylib is compiled for OpenGL 3.3 Core backend; to compile for mingw32-make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_11 -**Building raylib examples on Windows platforms:** +###Compiling your raylib game _Step 1:_ Using MinGW make tool, just navigate from command line to `raylib/examples/` folder and type: - mingw32-make PLATFORM=PLATFORM_DESKTOP - -NOTE: Make sure the following libs (and their headers) are accesible to the compiler (placed on right folders): - - libglfw3.a - GLFW3 (static version) - libglew32.a - GLEW, OpenGL extension loading, only required if using OpenGL 3.3 - libopenal32.a - OpenAL Soft, audio device management \ No newline at end of file + mingw32-make PLATFORM=PLATFORM_DESKTOP \ No newline at end of file