Fixed Linux Support
This commit is contained in:
16
README.md
16
README.md
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user