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
Probably the problem is caused by other compiler option: /arch (enable enhanced instructions set). Try to set it to /arch:IA32 (no enhanced instructions).
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
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