SFML community forums

Help => Window => Topic started by: needeep on December 24, 2008, 05:53:30 pm

Title: Problem Running Windowed Programs
Post by: needeep on December 24, 2008, 05:53:30 pm
I am having trouble running programs that use the SFML Windows package.

I can run these programs perfectly fine on the Vista machine where I compiled them with Visual C++ 2008 Express.  However, when taking the programs over to an older Windows XP machine, I can't get them to run.  I get the "[Program] has encountered an error and needs to close.  We are sorry for the inconvenience" error.

I've included the appropriate SFML dll's, made sure the VC++ redistributable was installed on the XP machine, tried debug and release versions, and tried dynamic and static linking with the SFML libraries.

I can run programs that just use the SFML systems package perfectly fine on the XP machine, but not any programs that use the systems package.

I also compiled a basic Window program using just the Win32 API (no SFML) on the Vista machine, and this program ran perfectly fine on the XP machine.

Any help would be appreciated.
Title: Problem Running Windowed Programs
Post by: Aval on December 26, 2008, 05:54:07 pm
The XP system does not have Visual C++ Express installed, right? Try installing VC++ Express onto your XP machine, to see if the problem is with SFML or not.