Trying to run a SFML Program always results in a Segmentation fault

Problem description

Compiling a SFML program, from a template, and attempting to run it will always result in a segmentation fault.

Expected behavior

It should display the output of the compiled code.

Actual behavior

It prints Segmentation fault (core dumped) and outputs a completely blank screen.

Steps to reproduce

Go to my project, or the template it uses
Mine: https://replit.com/@portuesetim09/SFML-Template-2
Template: https://replit.com/@PizzaRules668/SFML-Template?v=1
and run. It will attempt to run the provided .sh file.

Browser

Chrome

OS

ChromeOS

Device if mobile

NA

Plan

free tier

2 Likes

Anyone mind helping?