From 9b151126cd499cf62d15306ca3191be6bb8bcc3b Mon Sep 17 00:00:00 2001 From: weijh Date: Wed, 21 Feb 2024 22:48:08 +0800 Subject: [PATCH] centos7 build edit --- Working-on-GNU-Linux.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Working-on-GNU-Linux.md b/Working-on-GNU-Linux.md index d9bc302..553bbd1 100644 --- a/Working-on-GNU-Linux.md +++ b/Working-on-GNU-Linux.md @@ -172,14 +172,14 @@ The official Arch Repository contains the `raylib` package. Install via: pacman -S raylib ``` -### CentOS 7 +### CentOS 7 building from source ``` yum -y install devtoolset-9\* scl enable devtoolset-9 bash +cd raylib/src/ make PLATFORM=PLATFORM_DESKTOP GRAPHICS=GRAPHICS_API_OPENGL_11 -B ``` - ## The simplest possible build command After installing raylib from source or package manager, you can build a project with this command (modify as necessary): ```