Skip to content
Sign upLog in
← Back to Community

SFML on repl.it POC

Profile icon
SPQR

I, SPQR, have successfully installed SFML on this repl, so that you all may use it for your enjoyment. Feel free to fork this and modify it for your own purposes.

If you use this please give a link to this post

If you use this to make something for the Game Jam and win, please give me 1% of a BTC ($38 or so)
(you don't actually have to do that. It'd be nice if you did, though.)

Voters
Profile icon
bjmckenz
Profile icon
0bobble3000
Profile icon
JohnathanMay
Profile icon
elenildovasconc
Profile icon
theunk51
Profile icon
JasonVan
Profile icon
XCode101
Profile icon
liu13554552117
Profile icon
programmeruser
Profile icon
PixlPerfect02
Comments
hotnewtop
Profile icon
XCode101

chmod: cannot access '/home/runner/main': No such file or directory
main.bash: line 7: /home/runner/main: No such file or directory
Makefile:4: recipe for target 'run' failed
make: *** [run] Error 127
exit status 2
wut?

Profile icon
zarooma

@XCode101

same i think it is having trouble getting the file i personley have zero clue other than that

Profile icon
DynamicSquid

Hi! This is really helpful! Thanks for making it!

Profile icon
DynamicSquid

I made Tetris. Aside from the screen size being a little off, this template works great!

Profile icon
SPQR

@DynamicSquid
Glad you could make use of it :)
You can probably fix the screen size by manually setting the VideoMode when the RenderWindow is initialized, but I'll leave that up to you to decide if it's worthwhile :)

Profile icon
LoveFromSkyy

How did you link all of the libraries and stuff? Did it automatically construct them?

Profile icon
xvoyou

I get an error saying /home/runner/main isnt a directory

Profile icon
SPQR

@lmaodev
Yeah, I think that either they (the repl.it team) restructured the file system or the file hierarchy was dependant on the plan one has (I had Hacker plan at the time)

Profile icon
Highwayman

@lmaodev
I got it working. Let me see if I can find it...

Profile icon
Highwayman

@lmaodev
yup found it. https://repl.it/@Highwayman/TryingOutSFML

Profile icon
xvoyou

@Highwayman
it sadly says the same thing for that as well.

Profile icon
Highwayman

@lmaodev
really? Huh. I put it in the wd tho ;-; oh well. Sorry bout that.

Profile icon
CSharpIsGud

@SPQR
Just use relative directories instead of an absolute one