Fixed Linux Support

This commit is contained in:
Colton Staiduhar
2026-03-25 16:39:11 -04:00
parent fce7c5f8f0
commit 6aba4de2f0
4 changed files with 9 additions and 15 deletions

View File

@@ -40,21 +40,19 @@ However, for this guide, install Visual Studio Code and [Brew](https://brew.sh).
6. Once CMake has finished configuring, press Shift+F5 (You may also need to press fn depending on how your mac is setup), and the application will run.
### For Linux (debian/ubuntu)
### For Linux (Debian/Ubuntu)
The following packages are needed in order for the included libraries to function: cmake, build-essential, libgl1-mesa-dev, libglu1-mesa-dev, freeglut3-dev, libx11-dev, libxcursor-dev, libxtst-dev, libxft-dev, libxmu-dev, libxi-dev
The following packages are needed in order for the included libraries to function
```
build-essential
libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev
libx11-dev libxcursor-dev libxtst-dev libxft-dev libxmu-dev libxi-dev
```
Heres an easy one-line install script
```
sudo apt install build-essential libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libx11-dev libxcursor-dev libxtst-dev libxft-dev libxmu-dev libxi-dev -y
sudo apt install cmake build-essential libgl1-mesa-dev libglu1-mesa-dev freeglut3-dev libx11-dev libxcursor-dev libxtst-dev libxft-dev libxmu-dev libxi-dev -y
```
After this point, follow the same instructions for MacOS, or use the CLI Interface Below
After this point, follow the same instructions for MacOS, or use the CLI Interface below.
*NOTE* - For some reason, unix needs to use #include `<GL/freeglut.h>`, it will thow a error if #include `<gl/freeglut.h>`. Notice the capitalization