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

Author Topic: Problem executing on different PC  (Read 2537 times)

0 Members and 1 Guest are viewing this topic.

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Problem executing on different PC
« on: December 02, 2010, 06:18:10 am »
Hi,

Im making a sample app with SFML 1.6 on my PC (Windows 7 - 32bits) and it works nice.

But when i copy the files (exe + dll) to my other PC (Windows XP SP3 - 32bits), i got an error when open .EXE.

The error say that the application need be reinstalled and dont open.

What can be the problem?

ratzlaff

  • Newbie
  • *
  • Posts: 33
    • View Profile
Problem executing on different PC
« Reply #1 on: December 02, 2010, 07:55:53 am »
Did you compile it in debug mode with /MDd? The target machine doesnt have the debug runtime because those libraries only come with visual studio.

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Problem executing on different PC
« Reply #2 on: December 02, 2010, 03:05:53 pm »
Hi,

Thanks.

Where i see this option on visual studio 2008?

Other question:
You have SFML2 compiled library for VS 2008?

ratzlaff

  • Newbie
  • *
  • Posts: 33
    • View Profile
Problem executing on different PC
« Reply #3 on: December 02, 2010, 03:34:42 pm »
its under c++ -> Code generation

It is easier to set the configuration type to 'Release' and use that on your second machine.

prchakal

  • Full Member
  • ***
  • Posts: 142
    • View Profile
Problem executing on different PC
« Reply #4 on: December 02, 2010, 03:37:45 pm »
Ok, thanks.

In release mode i dont test, only debug.

I only know where is this option for future problem.

Thanks man.

 

anything