
Due to Debian package failed to build must Edit these to worked.

1. Edit Mario.pro File

Disable TOTAL_MEMORY=33554432 from:
# Flags for successful webassembly build
QMAKE_LFLAGS+= "-s TOTAL_MEMORY=33554432"

By add # to disable to prevent error to build Debian package:
# Flags for successful webassembly build
#QMAKE_LFLAGS+= "-s TOTAL_MEMORY=33554432"

Added to bottom line code inside Mario.pro file to be compilable on Debian

# WebAssembly-specific flags
# Add these only if building for WebAssembly
CONFIG(webassembly): QMAKE_LFLAGS += "-s TOTAL_MEMORY=33554432"

& save the file.

2. Now you can compile without failed. :)

Optional Edit No need to do if don't:
Edit goomba.h File

Old:
inline const std::string & name() const { return "Goomba"; }

Replace with:
inline const std::string name() const { return "Goomba"; }




