1
General / my program does not work on other computers
« on: January 19, 2024, 07:04:35 am »
I have a project in a github repository. The program compiles normally on my computer but when trying it on another computer the following error appears.
to compile use the following commands:
g++ -c main.cpp -I".\Libraries\SFML-2.6.1\include"
g++ main.o -o main -L".\Libraries\SFML-2.6.1\lib" -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio
.\main.exe
to compile use the following commands:
g++ -c main.cpp -I".\Libraries\SFML-2.6.1\include"
g++ main.o -o main -L".\Libraries\SFML-2.6.1\lib" -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio
.\main.exe