Update WSLbuild

rich
2024-12-19 11:46:20 -05:00
parent 3d89cdff17
commit 15ff172719

@@ -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: 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 build-essential
sudo apt install libmpfr-dev libgmp3-dev libmpc-dev -y 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 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 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/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 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. At this point Re3D would build, but failed to open a window when run.
I installed mesa3d: I installed mesa3d:
'''bash ```bash
sudo apt install libgl1-mesa-glx libglx-mesa0 mesa-utils sudo apt install libgl1-mesa-glx libglx-mesa0 mesa-utils
''' ```
Then ran glxgears - this worked. 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. I recreated the Re3D build directory, and then cmake and make and still it would not open the render window.