Skip to content
Sign upLog in
← Back to Community

SFML Setup

Profile icon
lovebob3

Hello!

I have been using replit for a while now, and have recently gotten into setting up and using SFML for some of my C++ projects. However, starting last Thursday, it seems there has been an update of some sort to replit that has caused a segmentation fault in the main.bash file of my setup. I know of others who also use SFML on replit, and the same issue started happening to them around the same time. I was wondering if anyone had encountered this issue and knew of a fix or alternative solution. Thank you!

Answered by MatthewWesolows [earned 5 cycles]
View Answer
Voters
Profile icon
PLLX76
Profile icon
MattRetro
Profile icon
MatthewWesolows
Profile icon
lovebob3
Comments
hotnewtop
Profile icon
MatthewWesolows

I also encountered that problem, currently there is no fix. I did send it as a bug report, and a someone from the replit team emailed me telling me that he sent it to a team that will work on a fix.

Unless your willing to work with Xlib (a horribly complicated outdated library), your best bet is to wait.

Profile icon
qcm

is your repl project still having issues? I have had a SFML demo , most of the work is in the script to check if the apropriate libraries exist as the paths within a repl container move around from time to time

check this out and let me know if it was of any help - https://replit.com/@qcm/repl-sfml

Profile icon
lovebob3

@qcm
Hello! I was able to eventually get it working. I think it was an issue on replit's end, since it started working a few weeks later with no change to the code or repl.