From 15ff172719c6ef0019095b18d8f4102e5f7ed6ae Mon Sep 17 00:00:00 2001 From: rich Date: Thu, 19 Dec 2024 11:46:20 -0500 Subject: [PATCH] Update WSLbuild --- WSLbuild.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/WSLbuild.md b/WSLbuild.md index 46a8ce4..7845025 100644 --- a/WSLbuild.md +++ b/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.