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

Author Topic: Problem Running Windowed Programs  (Read 2057 times)

0 Members and 1 Guest are viewing this topic.

needeep

  • Newbie
  • *
  • Posts: 3
    • View Profile
Problem Running Windowed Programs
« 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.

Aval

  • Newbie
  • *
  • Posts: 34
    • View Profile
    • Email
Problem Running Windowed Programs
« Reply #1 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.