Quantcast
Channel: 英特尔开发人员专区文章
Viewing all articles
Browse latest Browse all 583

英特尔® C++ 编译器支持 Android 集成至 Microsoft Visual Studio 2015

$
0
0

问题

英特尔® System Studio 2016 支持使用英特尔® C++ 编译器和 Microsoft Visual Studio* 2015 (VS2015) IDE 进行原生 Android 开发。 如欲在 VS2015 IDE 中使用面向 Android 的英特尔® C++ 编译器,要求自定义 VS2015 安装。 需要采取的步骤请参阅本文的“解决方法”部分。 

安装英特尔® System Studio 2016 之前,如果未安装所需的特性,将会显示以下错误消息:

Microsoft Visual Studio* 2015 Cross Platform Mobile Development feature is not installed.

安装可以继续,但安装期间 Microsoft Visual Studio* 2015 中将不会启用 "Intel® C++ Compiler for Android*"支持。 您可以稍后启用。 请参阅在线文章,了解更多详情(文章链接)。  该编译器仍然可通过命令行在 Eclipse* 中使用。

Microsoft Visual Studio* 2015 does not have "Common Tools for Visual C++ 2015" components installed. 

安装可以继续,但英特尔® C++ 编译器将无法使用 Microsoft Visual Studio* 2015 进行构建。 请查看 (https://software.intel.com/zh-cn/articles/intel-c-fortran-compilers-for-windows-integration-into-microsoft-visual-studio-2015) 在线文章,了解如何配置 Microsoft Visual Studio* 2015 以供 Visual C++ 开发。

解决方法

为使 VS2015 支持集成面向 Android* 的英特尔 ® C++ 编译器,需要采取以下几个步骤:

  1.    如果系统未安装 VS2015:
    1. 在安装期间选择 “Custom” 类型
    2. Optional features to install下方:
    3. 展开 Programming Languages,然后展开 Visual C++,选择 Common Tools for Visual C++ 2015
    4. 展开 Cross Platform Mobile Development,选择 Visual C++ Mobile Development Common Tools and Software Development Kits

    5. 选择 Common Tools
        

  2. 如果系统已安装 Microsoft Visual Studio* 2015:
    1. 打开“控制面板”并选择“程序和功能”
    2. 选择“Microsoft Visual Studio* 2015”,打开环境菜单并选择 “Change”
    3. 在下一个屏幕中选择“Modify”
    4. Optional features to install下方:
    5. 展开 Programming Languages,然后展开 Visual C++,选择 Common Tools for Visual C++ 2015
    6. 展开 Cross Platform Mobile Development,选择 Visual C++ Mobile Development 和 Common Tools and Software Development Kits

    7. 选择 Common Tools

  3. 重新启动系统
  4. 安装包含英特尔® C++ 编译器的英特尔开发人员解决方案,以支持编译器借助 Microsoft Visual Studio* 构建 Android* 应用。 

Viewing all articles
Browse latest Browse all 583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>