apgmera compilation failed

Has something gone haywire? Let us know about it!
Post Reply
Ohhhhhhhhh
Posts: 146
Joined: August 19th, 2021, 5:56 am

apgmera compilation failed

Post by Ohhhhhhhhh »

This is also coming here so that more people can have a look.
"./recompile.sh" just keeps failing and here are the details:
Device: a PC Lenovo Legion Y9000P IAX10H
OS: Windows 11 25H2 26200.8875
There is no primarily known issue I encountered with CPU, GPU or memory. No crashdown or anything stuck.
I cloned apgmera in its newest version which seems to be broken (pipeline failed?), both on a Windows folder and on a Cygwin folder. After download completes, I ran compilation as according to the instructions: "./recompile.sh" and "bash recompile.sh" both tried, but there is the following error:

Code: Select all

: invalid optionne 2: set: -
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
recompile.sh: line 3: $'\r': command not found
chmod: cannot access '*.sh'$'\r': No such file or directory
recompile.sh: line 5: $'\r': command not found
recompile.sh: line 7: $'true\r': command not found
recompile.sh: line 8: $'true\r': command not found
'.  Stop. No rule to make target 'clean
recompile.sh: line 10: $'\r': command not found
recompile.sh: line 12: $'true\r': command not found
recompile.sh: line 13: $'\r': command not found
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
recompile.sh: line 20: $'\r': command not found
recompile.sh: line 24: syntax error near unexpected token `elif'
'ecompile.sh: line 24: `elif [ "${symmarg:0:1}" = "H" ]; then
Above using bash and

Code: Select all

: invalid optionne 2: set: -
set: usage: set [-abefhkmnptuvxBCEHPT] [-o option-name] [--] [-] [arg ...]
recompile.sh: line 3: $'\r': command not found
chmod: cannot access '*.sh'$'\r': No such file or directory
recompile.sh: line 5: $'\r': command not found
recompile.sh: line 7: $'true\r': command not found
recompile.sh: line 8: $'true\r': command not found
'.  Stop. No rule to make target 'clean
recompile.sh: line 10: $'\r': command not found
recompile.sh: line 12: $'true\r': command not found
recompile.sh: line 13: $'\r': command not found
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
grep: warning: stray \ before -
recompile.sh: line 20: $'\r': command not found
recompile.sh: line 24: syntax error near unexpected token `elif'
'ecompile.sh: line 24: `elif [ "${symmarg:0:1}" = "H" ]; then
Using "./", which are basically the same.
I am new to Linux and generally systems like that. I had a Windows 10 PC and used to use Cygwin for downloading and running certain code in Linux environment, but however I add certain components in Cygwin setup (already have list of plugins to install: git, make, gcc-g++, python, python 3 and a few others negligible), the errors are completely the same in text. I only read the docs from https://gitlab.com/apgoucher/apgmera and asked Gemini about a few trivial things, it said the "pipeline failed" text tells that the code collapsed or didn't match certain standards.
Question:
1. What should I do? In particular, can I still use this version downloaded in my laptop? If not, how can I use apgmera (or other applicable resources?) to contribute to the Hatsya Catalogue?
2. I searched for similar problems & solutions on the Forums and one result popped out here: https://conwaylife.com/forums/viewtopic ... 36#p173636
Would the advice to use WSL2 be useful? What else should I provide to you, or can I do or search to solve this issue?
Thank you very much for reading until here. I will close all related topics (including the one in Scripts) if this turned out to be trivial and is clearly solved.
This is a block of text that can be added to posts you make. There is a 255 character limit.

something useless:

Code: Select all

#CXRLE Pos=-8,-6
x = 11, y = 10, rule = B3/S23
5bo$6bo$4b3o$9b2o$9b2o3$3o$2bo$bo!
User avatar
NNlk05
Posts: 593
Joined: January 14th, 2026, 8:42 pm
Location: Exploring in the Jungle of the INT Rulespace
Contact:

Re: apgmera compilation failed

Post by NNlk05 »

Try

Code: Select all

$ bash recompile.sh
Feci quod potui, faciant meliora potentes.

Code: Select all

x = 10, y = 3, rule = B34twz/S23
b2o4b2o$obo4bobo$2bo4bo!
[[ AUTOSTART AUTOHIDEGUI TRACK 0 -47/270 ZOOM 4 GPS 45 STEP 3 THEME BOOK ]]
https://nnlk05.github.io

=3
User avatar
Vort
Posts: 247
Joined: May 14th, 2024, 6:35 am

Re: apgmera compilation failed

Post by Vort »

NNlk05 wrote: August 2nd, 2026, 7:30 am Try

Code: Select all

$ bash recompile.sh
Try reading first message.
Ohhhhhhhhh wrote: August 2nd, 2026, 6:21 am

Code: Select all

recompile.sh: line 3: $'\r': command not found
It means CR symbols got into recompile.sh file.
It should be 2182 bytes in size.
Try to download it via different methods.
Post Reply