While in the singleheader directory under a linux or macOS system with an install toolchain, try:
c++ -o amalgamation_demo amalgamation_demo.cpp -std=c++17 && ./amalgamation_demo