Compiled a C++ program in Visual Studio Professional 2013, will not work with Windows XP SP3

前端 未结 3 655
闹比i
闹比i 2020-12-16 11:23

I usually hate asking questions but this one has me stumped.

I am creating a small game using C++ and Allegro5 in Visual Studio Professional 2013. I have used the Vi

相关标签:
3条回答
  • 2020-12-16 12:03

    Probably the problem is caused by other compiler option: /arch (enable enhanced instructions set). Try to set it to /arch:IA32 (no enhanced instructions).

    0 讨论(0)
  • 2020-12-16 12:05

    you have to set the Platform Toolset configuration from properties (preview)

    Set its value to v120_xp and it should work on windows xp.

    read the post http://supportxpdotcom.wordpress.com/2013/07/16/xp-targeting-support-in-the-visual-studio-2013-preview/

    see the comments http://blogs.msdn.com/b/vcblog/archive/2013/06/26/visual-studio-2013-preview-now-available.aspx

    0 讨论(0)
  • 2020-12-16 12:09

    I've just had the same problem now fixed. You might have forgotten to set SUBSYSTEM:

    Go to project properties -> linker -> system and set as appropriate.

    Details here: http://blogs.msdn.com/b/vcblog/archive/2012/10/08/10357555.aspx?PageIndex=2

    0 讨论(0)
提交回复
热议问题