不支持为ARM平台编译桌面应用程序

我在Visual Studio 2013testingboost 1.5.7。当我键入boostrap来构build二进制文件时,我在boostrap.log中发现了以下错误

要做到这一点,我使用VS2013 ARM交叉工具命令提示符。 我inputcd C:/ boost_1_57_0,然后inputbootstrap,然后点击eneter来build立boostrap。

### ### Using 'vc12' toolset. ### C:\boost_1_57_0\boost_1_57_0\tools\build\src\engine>if exist bootstrap rd /S /Q bootstrap C:\boost_1_57_0\boost_1_57_0\tools\build\src\engine>md bootstrap C:\boost_1_57_0\boost_1_57_0\tools\build\src\engine>cl /nologo /RTC1 /Zi /MTd /Fobootstrap/ /Fdbootstrap/ -DNT -DYYDEBUG -wd4996 kernel32.lib advapi32.lib user32.lib /Febootstrap\jam0 command.c compile.c constants.c debug.c execcmd.c execnt.c filent.c frames.c function.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c jamgram.c lists.c make.c make1.c object.c option.c output.c parse.c pathnt.c pathsys.c regexp.c rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c md5.c class.c cwd.c w32_getreg.c native.c modules/set.c modules/path.c modules/regex.c modules/property-set.c modules/sequence.c modules/order.c command.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. compile.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. constants.c debug.ca C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. execcmd.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. execnt.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. filent.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. frames.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. function.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. glob.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. hash.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. hdrmacro.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. headers.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. jam.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. jambase.c jamgram.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. lists.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. make.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. make1.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. object.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. Generating Code... Compiling... option.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. output.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. parse.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. pathnt.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. pathsys.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. regexp.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. rules.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. scan.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. search.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. subst.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. timestamp.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. variable.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. modules.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. strings.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. filesys.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. builtins.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. md5.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. class.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. cwd.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. w32_getreg.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. Generating Code... Compiling... native.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. set.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. path.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. regex.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. property-set.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. sequence.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. order.c C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\INCLUDE\crtdefs.h(404) : fatal error C1189: #error : Compiling Desktop applications for the ARM platform is not supported. Generating Code... 

行号在头文件中

 /* Verify ARM Desktop SDK available */ #if defined (_M_ARM) #if _CRT_BUILD_DESKTOP_APP && !_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE #error Compiling Desktop applications for the ARM platform is not supported. #endif /* _CRT_BUILD_DESKTOP_APP && !_ARM_WINAPI_PARTITION_DESKTOP_SDK_AVAILABLE */ #endif /* defined (_M_ARM) */ 

为了克服这个错误

 1. i have installed VS again with windows phone SDK and tools for maintaining store apps for windows 8. 2. i have run vsvars32.bat which is located in C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools - in visual studio Developer Command Prompt for VS2013 i type cd C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools vsvar32.bat and hit enter 3. i tesed another machine which gave me the same error 4. 

但没有任何作品在我身上。 任何帮助表示赞赏。

https://connect.microsoft.com/VisualStudio/feedback/details/745580/arm-configuration-doesnt-work

你可以试试这个…

使用“开发者命令提示符VS2013”​​工具