b-engine wrote: August 8th, 2025, 7:38 pm
I couldn't get recompile.sh to work, even if make and gcc is installed.
Code: Select all
t6970@User:~/apgmera$ ls
LICENCE.txt immediate.sh lifelib makefile recompile.sh update-lifelib.sh
README.md includes main.cpp mkparams.py test
t6970@User:~/apgmera$ sudo ./recompile.sh --rule B2cen3kq4-j568/S14j5-kq6aik78
sh -c 'rm -f apgluxe *.o */*.o *.op */*.op *.gdca */*.gcda *.profraw *.profdata || true'
echo Clean done
Clean done
Ensuring lifelib is up-to-date...
Symmetry unspecified; assuming C1.
Configuring rule B2cen3kq4-j568/S14j5-kq6aik78; symmetry C1
Using /usr/bin/python3 to configure lifelib...
Warning: B2cen3kq4-j568/S14j5-kq6aik78 interpreted as b2cen3kq4-j568s14j5-kq6aik78
Valid symmetry: C1
Success!
g++ -c -Wall -Wextra -pedantic -O3 -pthread -g -march=native -flto --std=c++11 main.cpp -o main.o
make: g++: No such file or directory
make: *** [makefile:83: main.o] Error 127
t6970@User:~/apgmera$ ls
LICENCE.txt immediate.sh lifelib makefile recompile.sh update-lifelib.sh
README.md includes main.cpp mkparams.py test
t6970@User:~/apgmera$
This is the WSL specification:
Code: Select all
t6970@User:~/apgmera$ uname -a
Linux User 6.6.87.2-microsoft-standard-WSL2 #1 SMP PREEMPT_DYNAMIC Thu Jun 5 18:30:46 UTC 2025 x86_64 x86_64 x86_64 GNU/Linux
Really glad that I'm using terminal, if apgsearch is in GUI, I would need to screenshot and post them.
You need more than just make and gcc — g++, for example. Rather than installing all the individual packages you think you need, install the meta-package build-essential which gives you a fairly comprehensive development environment
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install build-essential
If you had already done that, or already tried to install g++, then it seems something went wrong as g++ is not found. You could try
to show if there are any broken packages.
If not, then I can't imagine what might be going on.Try rebooting your computer and trying again, perhaps?
If you're not using Ubuntu or some other Debian based system then please say which distribution and version you are using. E.g. share output of:
the output of "uname -a" shows kernel information — which for WSL2 comes from Microsoft
The
5S project (Smallest Spaceships Supporting Specific Speeds) is now maintained by AforAmpere. The latest collection is hosted on
GitHub and contains well over 1,000,000 spaceships.
Semi-active here - recovering from a severe case of
LWTDS.