From d1e72ae7cc70fbbffb702741527f8df6497bff0a Mon Sep 17 00:00:00 2001 From: Hib Engler Date: Wed, 14 Feb 2018 04:38:23 -0800 Subject: [PATCH] I heard that you needed help for installing on linux. I got it to work with some changes. I am doing GLES coding, so it is slightly specific. But in linux, the static libraries and the dynamic ones don't mix well together. --- Compile-for-GNU-Linux.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/Compile-for-GNU-Linux.md b/Compile-for-GNU-Linux.md index b0b42ec..5deaa1b 100644 --- a/Compile-for-GNU-Linux.md +++ b/Compile-for-GNU-Linux.md @@ -42,7 +42,7 @@ First of all, you need to download raylib repository from Github; after you can **Warning:** if you want to compile a different type of library (static, ...), you must type `make clean` before the compiling. -_NOTE:_ By default raylib is compiled for OpenGL 3.3 Core graphics API backend; to compile for OpenGL 1.1 graphics API just add `GRAPHICS=GRAPHICS_API_OPENGL_11` to the make command. +_NOTE:_ By default raylib is compiled for OpenGL 3.3 Core graphics API backend; to compile for OpenGL 1.1 graphics API just add `GRAPHICS=GRAPHICS_API_OPENGL_11` or `GRAPHICS=GRAPHICS_API_OPENGLES_20` to the make command. If you want, you can install the library in the standard directories, or remove it: @@ -53,10 +53,6 @@ If you want, you can install the library in the standard directories, or remove sudo make uninstall RAYLIB_LIBTYPE=SHARED -### I know there is a better way to do this with cmake, but the raylib dynamic libraries were not being found in /usr/local/lib/raysan5. - -cd /usr/local/lib/raysan5 -mv * /usr/lib ### Compile raylib examples