Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: my program does not work on other computers  (Read 859 times)

0 Members and 1 Guest are viewing this topic.

vaquitamarina

  • Newbie
  • *
  • Posts: 1
    • View Profile
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

« Last Edit: January 19, 2024, 09:13:12 am by eXpl0it3r »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 11034
    • View Profile
    • development blog
    • Email
Re: my program does not work on other computers
« Reply #1 on: January 19, 2024, 09:15:12 am »
Have you downloaded the exact matching compiler for the SFML version?

See the green links in the red box on the download page:



https://www.sfml-dev.org/download/sfml/2.6.1/
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

 

anything