Skip to content
Sign upLog in
← Back to Community

USE ANY LIBRARY / PACKAGE / ETC ON REPLIT (C++ / SFML used for demonstration)

Profile icon
SPQR

For those who didn't know, replit has the ability to directly interface with the linux system on which all this runs. Using this functionality, one can upload any library to the repl, and run said repl in the context of the library, as demonstrated here.
You can make a blank repl which uses a makefile here

this is a really bad demonstration ik
Just try to picture the implications of this (SFML is not an officially supported library on repl.it)

Voters
Profile icon
NealJamison
Profile icon
programmeruser
Profile icon
kaptcha
Profile icon
SPQR
Comments
hotnewtop
Profile icon
AnthonyVanover

What about ./configure ?

Profile icon
SPQR

@AnthonyVanover
Dumb question but what's that lol

Profile icon
AnthonyVanover

@SPQR
You need to run this when compiling a library from source. Usually the steps are ./configure; make; make install. Some libraries use alternative build systems, but this is typical.

Profile icon
SPQR

@AnthonyVanover
I did not know that, thanks for letting me know. I'll take a look at that in the future.

Profile icon
kaptcha

i'm having issues with my polygott repl. can u look at it? https://repl.it/@ProgrammerAI/test or https://repl.it/live/t-wCBmQ_yoBIzQ

Profile icon
SPQR

@ProgrammerAI
Sorry for the delay, I was at the beach. I responded to you on the feedback post so check that for help.

Profile icon
kaptcha

@SPQR
I keep getting an error can u look at it?