草庐IT

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

coder 2024-06-15 原文

我正在 visual studio 2013 上测试 boost 1.5.7。当我键入 boostrap 来构建二进制文件时,我发现 boostrap.log 中出现以下错误

为此,我使用 VS2013 ARM 交叉工具命令提示符。我输入 cd C:/boost_1_57_0 只需键入 bootstrap 并点击 eneter 即可构建 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...

头文件中的第411行

/* 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 开发人员命令提示符”工具

关于windows - 不支持为 ARM 平台编译桌面应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27389909/

有关windows - 不支持为 ARM 平台编译桌面应用程序的更多相关文章

  1. ruby - 在 Ruby 程序执行时阻止 Windows 7 PC 进入休眠状态 - 2

    我需要在客户计算机上运行Ruby应用程序。通常需要几天才能完成(复制大备份文件)。问题是如果启用sleep,它会中断应用程序。否则,计算机将持续运行数周,直到我下次访问为止。有什么方法可以防止执行期间休眠并让Windows在执行后休眠吗?欢迎任何疯狂的想法;-) 最佳答案 Here建议使用SetThreadExecutionStateWinAPI函数,使应用程序能够通知系统它正在使用中,从而防止系统在应用程序运行时进入休眠状态或关闭显示。像这样的东西:require'Win32API'ES_AWAYMODE_REQUIRED=0x0

  2. ruby - 将差异补丁应用于字符串/文件 - 2

    对于具有离线功能的智能手机应用程序,我正在为Xml文件创建单向文本同步。我希望我的服务器将增量/差异(例如GNU差异补丁)发送到目标设备。这是计划:Time=0Server:hasversion_1ofXmlfile(~800kiB)Client:hasversion_1ofXmlfile(~800kiB)Time=1Server:hasversion_1andversion_2ofXmlfile(each~800kiB)computesdeltaoftheseversions(=patch)(~10kiB)sendspatchtoClient(~10kiBtransferred)Cl

  3. ruby-on-rails - Rails 应用程序之间的通信 - 2

    我构建了两个需要相互通信和发送文件的Rails应用程序。例如,一个Rails应用程序会发送请求以查看其他应用程序数据库中的表。然后另一个应用程序将呈现该表的json并将其发回。我还希望一个应用程序将存储在其公共(public)目录中的文本文件发送到另一个应用程序的公共(public)目录。我从来没有做过这样的事情,所以我什至不知道从哪里开始。任何帮助,将不胜感激。谢谢! 最佳答案 无论Rails是什么,几乎所有Web应用程序都有您的要求,大多数现代Web应用程序都需要相互通信。但是有一个小小的理解需要你坚持下去,网站不应直接访问彼此

  4. ruby - 无法运行 Rails 2.x 应用程序 - 2

    我尝试运行2.x应用程序。我使用rvm并为此应用程序设置其他版本的ruby​​:$rvmuseree-1.8.7-head我尝试运行服务器,然后出现很多错误:$script/serverNOTE:Gem.source_indexisdeprecated,useSpecification.Itwillberemovedonorafter2011-11-01.Gem.source_indexcalledfrom/Users/serg/rails_projects_terminal/work_proj/spohelp/config/../vendor/rails/railties/lib/r

  5. ruby-on-rails - Rails 应用程序中的 Rails : How are you using application_controller. rb 是新手吗? - 2

    刚入门rails,开始慢慢理解。有人可以解释或给我一些关于在application_controller中编码的好处或时间和原因的想法吗?有哪些用例。您如何为Rails应用程序使用应用程序Controller?我不想在那里放太多代码,因为据我了解,每个请求都会调用此Controller。这是真的? 最佳答案 ApplicationController实际上是您应用程序中的每个其他Controller都将从中继承的类(尽管这不是强制性的)。我同意不要用太多代码弄乱它并保持干净整洁的态度,尽管在某些情况下ApplicationContr

  6. ruby-on-rails - 如何在我的 Rails 应用程序 View 中打印 ruby​​ 变量的内容? - 2

    我是一个Rails初学者,但我想从我的RailsView(html.haml文件)中查看Ruby变量的内容。我试图在ruby​​中打印出变量(认为它会在终端中出现),但没有得到任何结果。有什么建议吗?我知道Rails调试器,但更喜欢使用inspect来打印我的变量。 最佳答案 您可以在View中使用puts方法将信息输出到服务器控制台。您应该能够在View中的任何位置使用Haml执行以下操作:-puts@my_variable.inspect 关于ruby-on-rails-如何在我的R

  7. ruby - 在 Windows 机器上使用 Ruby 进行开发是否会适得其反? - 2

    这似乎非常适得其反,因为太多的gem会在window上破裂。我一直在处理很多mysql和ruby​​-mysqlgem问题(gem本身发生段错误,一个名为UnixSocket的类显然在Windows机器上不能正常工作,等等)。我只是在浪费时间吗?我应该转向不同的脚本语言吗? 最佳答案 我在Windows上使用Ruby的经验很少,但是当我开始使用Ruby时,我是在Windows上,我的总体印象是它不是Windows原生系统。因此,在主要使用Windows多年之后,开始使用Ruby促使我切换回原来的系统Unix,这次是Linux。Rub

  8. ruby - Sinatra set cache_control to static files in public folder编译错误 - 2

    我不知道为什么,但是当我设置这个设置时它无法编译设置:static_cache_control,[:public,:max_age=>300]这是我得到的syntaxerror,unexpectedtASSOC,expecting']'(SyntaxError)set:static_cache_control,[:public,:max_age=>300]^我只想将“过期”header设置为css、javaascript和图像文件。谢谢。 最佳答案 我猜您使用的是Ruby1.8.7。Sinatra文档中显示的语法似乎是在Ruby1.

  9. ruby-on-rails - 如何在 Gem 中获取 Rails 应用程序的根目录 - 2

    是否可以在应用程序中包含的gem代码中知道应用程序的Rails文件系统根目录?这是gem来源的示例:moduleMyGemdefself.included(base)putsRails.root#returnnilendendActionController::Base.send:include,MyGem谢谢,抱歉我的英语不好 最佳答案 我发现解决类似问题的解决方案是使用railtie初始化程序包含我的模块。所以,在你的/lib/mygem/railtie.rbmoduleMyGemclassRailtie使用此代码,您的模块将在

  10. 世界前沿3D开发引擎HOOPS全面讲解——集3D数据读取、3D图形渲染、3D数据发布于一体的全新3D应用开发工具 - 2

    无论您是想搭建桌面端、WEB端或者移动端APP应用,HOOPSPlatform组件都可以为您提供弹性的3D集成架构,同时,由工业领域3D技术专家组成的HOOPS技术团队也能为您提供技术支持服务。如果您的客户期望有一种在多个平台(桌面/WEB/APP,而且某些客户端是“瘦”客户端)快速、方便地将数据接入到3D应用系统的解决方案,并且当访问数据时,在各个平台上的性能和用户体验保持一致,HOOPSPlatform将帮助您完成。利用HOOPSPlatform,您可以开发在任何环境下的3D基础应用架构。HOOPSPlatform可以帮您打造3D创新型产品,HOOPSSDK包含的技术有:快速且准确的CAD

随机推荐