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

Author Topic: Program to make it play in another computer  (Read 1429 times)

0 Members and 1 Guest are viewing this topic.

Savvas

  • Newbie
  • *
  • Posts: 3
    • View Profile
Program to make it play in another computer
« on: January 22, 2012, 10:02:23 pm »
I have this project which need to be played in another computer, but without installing sfml.How can i add the files to the folder of the program and then set the compiler to check for them there. (Using codeblocks)

aBallofWin

  • Jr. Member
  • **
  • Posts: 99
    • View Profile
Program to make it play in another computer
« Reply #1 on: January 23, 2012, 12:52:38 am »
If I'm not mistaken, all you need to do is add the following files to the place where the .exe is:
sfml-audio.dll
sfml-system.dll
sfml.graphics.dll
sfml-window.dll

and in some cases, you might need to have extra .dlls, like I have:
OpenAL32.dll
libgcc_s_dw2-1.dll
libsndfile-1.dll

But you 'might' not need them extra 3.

You don't need to set the compiler to check for them on another machine, as long as you have the sfml .dlls plus any others next to your main executable, then it should work fine :)