Update WSLbuild
10
WSLbuild.md
10
WSLbuild.md
@@ -5,7 +5,7 @@ This is due to the need for a more up to date version of gcc/g++ (default on WSL
|
||||
|
||||
Here are the instructions to build, install and set gcc 14 as the default gcc version on WSL:
|
||||
|
||||
'''bash
|
||||
```bash
|
||||
sudo apt install build-essential
|
||||
sudo apt install libmpfr-dev libgmp3-dev libmpc-dev -y
|
||||
wget http://ftp.gnu.org/gnu/gcc/gcc-14.1.0/gcc-14.1.0.tar.gz
|
||||
@@ -18,14 +18,16 @@ make
|
||||
sudo make install
|
||||
sudo update-alternatives --install /usr/bin/g++ g++ /usr/local/gcc-14.1.0/bin/g++-14.1.0 14
|
||||
sudo update-alternatives --install /usr/bin/gcc gcc /usr/local/gcc-14.1.0/bin/gcc-14.1.0 14
|
||||
'''
|
||||
```
|
||||
|
||||
At this point Re3D would build, but failed to open a window when run.
|
||||
|
||||
I installed mesa3d:
|
||||
|
||||
'''bash
|
||||
```bash
|
||||
sudo apt install libgl1-mesa-glx libglx-mesa0 mesa-utils
|
||||
'''
|
||||
```
|
||||
|
||||
Then ran glxgears - this worked.
|
||||
|
||||
I recreated the Re3D build directory, and then cmake and make and still it would not open the render window.
|
||||
|
Reference in New Issue
Block a user