SFML community forums

Help => General => Topic started by: Fuzzy_Wuzzy.bmp on January 25, 2010, 02:21:00 pm

Title: SFML program only works on my PC
Post by: Fuzzy_Wuzzy.bmp 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.
Title: SFML program only works on my PC
Post by: Laurent on January 25, 2010, 03:00:53 pm
Do you use the audio module?
Title: SFML program only works on my PC
Post by: Fuzzy_Wuzzy.bmp on January 25, 2010, 04:38:35 pm
Nope.
Title: SFML program only works on my PC
Post by: Laurent on January 25, 2010, 04:43:42 pm
Have you tried the SFML samples that use the graphics module (pong, opengl)?
Title: SFML program only works on my PC
Post by: Fuzzy_Wuzzy.bmp on January 25, 2010, 05:09:04 pm
Nope, where do I find them? Can't find anything by those names in the wiki.
Title: SFML program only works on my PC
Post by: Laurent on January 25, 2010, 05:10:13 pm
In the SDK, under /samples.
Title: SFML program only works on my PC
Post by: Fuzzy_Wuzzy.bmp 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.