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

Author Topic: SFML program only works on my PC  (Read 2819 times)

0 Members and 1 Guest are viewing this topic.

Fuzzy_Wuzzy.bmp

  • Newbie
  • *
  • Posts: 5
    • View Profile
SFML program only works on my PC
« on: January 25, 2010, 02:21:00 pm »
On other computers it just opens the command line. The OS's are WinXP, I'm using codeBlocks, dynamic bindings, and yes I did put the .exe and the .dll's in the same folder. If I remove one of the .dll's from the folder on my pc, it also won't run - gives an error about how it can't find the .dll. On other PC's it gives no error - just the command bar. Any idea what I'm doing wrong?

Edit: Tried the test program (the one on the tutorials, that just outputs the elapsed time in 0.5 second intervals in the command line) and it works on my and my friends computer. Same compiler settings and all, also, the program that doesn't work, it actually works, except for the graphics. Hope that helps.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML program only works on my PC
« Reply #1 on: January 25, 2010, 03:00:53 pm »
Do you use the audio module?
Laurent Gomila - SFML developer

Fuzzy_Wuzzy.bmp

  • Newbie
  • *
  • Posts: 5
    • View Profile
SFML program only works on my PC
« Reply #2 on: January 25, 2010, 04:38:35 pm »
Nope.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML program only works on my PC
« Reply #3 on: January 25, 2010, 04:43:42 pm »
Have you tried the SFML samples that use the graphics module (pong, opengl)?
Laurent Gomila - SFML developer

Fuzzy_Wuzzy.bmp

  • Newbie
  • *
  • Posts: 5
    • View Profile
SFML program only works on my PC
« Reply #4 on: January 25, 2010, 05:09:04 pm »
Nope, where do I find them? Can't find anything by those names in the wiki.

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32498
    • View Profile
    • SFML's website
    • Email
SFML program only works on my PC
« Reply #5 on: January 25, 2010, 05:10:13 pm »
In the SDK, under /samples.
Laurent Gomila - SFML developer

Fuzzy_Wuzzy.bmp

  • Newbie
  • *
  • Posts: 5
    • View Profile
SFML program only works on my PC
« Reply #6 on: January 25, 2010, 08:29:09 pm »
Woops, figured it out. My program was trying to open a window bigger than their screen resolution.