From 57b98914bf0dba5fb3992b0abaa992b8cf6c8d81 Mon Sep 17 00:00:00 2001 From: Ray Date: Tue, 1 Mar 2016 19:32:11 +0100 Subject: [PATCH] Created Compile your game for Windows (markdown) --- Compile-your-game-for-Windows.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Compile-your-game-for-Windows.md diff --git a/Compile-your-game-for-Windows.md b/Compile-your-game-for-Windows.md new file mode 100644 index 0000000..c4a9502 --- /dev/null +++ b/Compile-your-game-for-Windows.md @@ -0,0 +1,21 @@ +**Building raylib sources on desktop platforms:** + +_Step 1:_ Using MinGW make tool, just navigate from command line to `raylib/src/` folder and type: + + mingw32-make PLATFORM=PLATFORM_DESKTOP + +NOTE: By default raylib is compiled for OpenGL 3.3 Core backend; to compile for OpenGL 1.1 just type: + + mingw32-make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_11 + +**Building raylib examples on Windows platforms:** + +_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