Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles / Mobile / Android

Intel® C++ Compiler for Android integration into Microsoft Visual Studio 2015

5.00/5 (2 votes)
1 Mar 2016CPOL2 min read 10.3K  
In order to use the Intel® C++ Compiler for Android within VS2015 IDE, it is required to customize the VS2015 installation. The required steps can be found in the Solution part of this document.

This article is for our sponsors at CodeProject. These articles are intended to provide you with information on products and services that we consider useful and of value to developers

Intel® Developer Zone offers tools and how-to information for cross-platform app development, platform and technology information, code samples, and peer expertise to help developers innovate and succeed. Join our communities for Android, Internet of Things, Intel® RealSense™ Technology, and Windows to download tools, access dev kits, share ideas with like-minded developers, and participate in hackathon’s, contests, roadshows, and local events.

Issue

The Intel® System Studio 2016 supports native Android development using the Intel® C++ Compiler with Microsoft Visual Studio* 2015 (VS2015) IDE. In order to use the Intel® C++ Compiler for Android within VS2015 IDE, it is required to customize the VS2015 installation. The required steps can be found in the Solution part of this document.

If the required features are not installed before installing Intel® System Studio 2016 one of the following error messages will be displayed:

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

Installation can continue; however, support for "Intel® C++ Compiler for Android*" in Microsoft Visual Studio* 2015 will not be enabled during installation. You can enable it later. See this online article for details (link to this article). The compiler can still be used from command line and within Eclipse*.

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

Installation can continue; however, Intel® C++ Compiler will not build using Microsoft Visual Studio* 2015. Please see (https://software.intel.com/en-us/articles/intel-c-fortran-compilers-for-windows-integration-into-microsoft-visual-studio-2015) online article for information on configuring Microsoft Visual Studio* 2015 for Visual C++ development.

Solution

To prepare VS2015 for the integration of the Intel® C++ Compiler for Android* follow these steps:

  1. If VS2015 is not installed on the system:
    1. During installation select "Custom" type
    2. Under Optional features to install:
    3. Expand Programming Languages next expand Visual C++ and select Common Tools for Visual C++ 2015
    4. Expand Cross Platform Mobile Development and select Visual C++ Mobile Development and Common Tools and Software Development Kits.

    5. Select Common Tools
      Image 1

  2. If Microsoft Visual Studio* 2015 is already installed on the system:
    1. Open Control Panel and select Program and Features
    2. Select "Microsoft Visual Studio* 2015", open context menu and select "Change"
    3. Select "Modify" on the next screen
    4. Under Optional features to install:
    5. Expand Programming Languages next expand Visual C++ and select Common Tools for Visual C++ 2015
    6. Expand Cross Platform Mobile Development and select Visual C++ Mobile Development and Common Tools and Software Development Kits.

    7. Select Common Tools
      Image 2

  3. Restart your system
  4. Install the Intel Developer Solution that includes Intel® C++ Compiler to enable support for the compiler to build Android* applications with Microsoft Visual Studio*.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)