Intel System Studio 2018 Getting Started Guide
Topic | Description |
---|---|
Create a C/C++ project for building in a container and running on Linux* |
Create remote Linux applications using a preconfigured toolchain in a Docker* container that matches your remote target. Ideal for IoT systems. For additional information about developing C/C++ projects, see Developing C/C++ Projects with Intel System Studio. It includes information about managing projects and connections and troubleshooting tips. |
Create a C/C++ project to build and run on this Linux* Operating System |
Create native Linux applications using your local development system's compiler and tools for running directly on your development system. |
Create a C/C++ project to cross compile for Linux* and Android* targets |
Create Linux and native Android applications using your local development system's compiler and tools. |
Configure TCF connection options in the Intel® System Studio, enabling many of the code samples included with the application. If you are working behind a proxy server you may also need to configure the Intel System Studio (Eclipse) proxy. |
|
Links to useful information. |
For information about developing Java* projects, see Developing Java* Projects with Intel® System Studio.
To launch Intel® System Studio for a Linux* target, run a launcher script:
Intel® System Studio provides fully configured compile and build toolchains in the form of Docker containers. These are particularly useful for creating Linux* based IoT applications using a fast edit, debug, and deploy process.
Step 1: Ensure Docker is installed
Before creating a new project, make sure Docker is installed and configured on your machine.
For instructions, see:
Step 2: Create a project
Choose File > New > Project to start the new project wizard.
Expand the Application Development folder and select Project for building in a container and running on Linux.
In the Select a Docker toolchain list, select your target Linux operating system. Click Next.
Type a name for the project in the Name field. In the Examples list, browse for and select the type of project to create, such as C++ > Basic > Hello World.
Click Finish.
If a notification that the platform support is not yet installed and must be downloaded appears, click Yes. Docker displays this message when you use a Docker container for the first time. It can take several minutes for the platform to be downloaded.
Your project is created and displayed.
Step 3: Connect your device
Make sure your target device is physically connected to your host system and functioning properly.
Before you run or debug on a remote Linux* target, you must set up TCF connections and configure the Intel® System studio proxy. For instructions, see Prepare a remote Linux* target and then return here to continue connecting your device.
Step 4: Run and debug a project
If a warning message about host authenticity displays, click Yes to upload and run your project.
To debug, click the
Debug drop-down list in the toolbar and select the name of your project.
Create native Linux* applications using your local development system's compiler and tools for running directly on your development system.
Step 1: Create a project
Choose File > New > Project to start the new project wizard.
Expand Application Development and select Project to build and run on this Linux Operating System.
Click Next.
Select Intel® C++ Compiler (ICC) and click Next.
Type a name for the project in the Name field.
In the Examples list, expand Intel® Compiler and select the Hello World sample.
Click Finish.
Step 2: Build the application
In the Project Explorer list, click the name of your project.
In the toolbar, click the
Build button to build the project.
The results appear in the Console.
Step 3: Run and debug a project
From the Run drop-down list in the toolbar, select the name of your project.
Select Local C/C++ Application and click OK.
Your project runs. The results appear in the Console.
To debug, click the
Debug drop-down list in the toolbar and select the name of your project.
With this workflow, you can set up a project environment and configure your own compile and build toolchains.
Step 1: Create a new project
Choose File > New > Project to start the new project wizard.
Expand the Application Development folder and select Project to cross compile for Linux and Android targets.
Step 2: Set up the project options
For Sysroot directory, specify the target root directory of headers and libraries. For information, click the on-screen link for a description of sysroot.
Step 3: Connect your device
Make sure your target device is physically connected to your host system and functioning properly.
Before you run or debug on a remote Linux* target, you must set up TCF connections and configure the Intel® System studio proxy. For instructions, see Prepare a remote Linux* target and then return here to continue connecting your device.
Step 4: Run and debug a project
From the Run drop-down list in the toolbar, select the name of your project.
If a warning message about host authenticity displays, click Yes to upload and run your project.
If the project does not exit automatically, click the Terminate icon from the Console panel to stop the process.
For more information see:
Resource | Description |
---|---|
Intel provides downloadable sample code and tutorials, which guide a new user through the basic product features: The sample code illustrates common scenarios, and the corresponding tutorials show how the build tools can be used to create and optimize code. |
|
Links to Getting Started Guides for all Intel® System Studio components |
|
Links to articles that address a wide range of Intel System Studio topics |
|
Additional information about developing C/C++ projects; for example, managing projects and connections and troubleshooting tips. |
|
Information about developing Java* projects. |
|
Intel System Studio Log Files |
The Intel® System Studio installer writes log files to /tmp, one for the user and one for root (when the installer is run with sudo). These log file names start with intel.pset, end with a timestamp, and have the extension *.log. For example: /tmp/intel.pset.auser.ubuntu_10.25.19.47.47.2017.log Intel® System Studio writes pairs of log files to a subdirectory in /tmp. The subdirectory name has the format iss_env_${USER}_$TIMESTAMP (where TIMESTAMP=date+%Y%m%d%H%M%S). The iss_env.log file contains environment settings. The eclipse.log file contains a session log. For example: /tmp/iss_env_auser_20171025215622/eclipse.log and /tmp/iss_env_auser_20171025215622/iss_env.log |
Installing Docker* for Intel® System Studio 2018 |
Installing Docker* for Intel® System Studio - macOS* Host |
Additional Documentation |
Use the online documentation for the latest content. A downloadable ZIP file containing all Intel® System Studio documentation is available for offline use from https://software.intel.com/en-us/articles/download-documentation-intel-system-studio-current-previous. |
Visit this page for support and the latest online documentation. |
Before you develop applications on a Linux*, macOS*, or Windows* host to run on remote Linux systems, you must:
Set up TCF connections
Click here for instructions to configure TCF connection options in the Intel® System Studio, enabling many of the code samples included with the application.
These steps must be performed once per target. If you skip these steps and attempt to run a sample project that uses MRAA I/O operations, you may find that your project does not work properly. Specifically, MRAA I/O operations require permissions to UNIX character devices and sysfs not commonly granted to normal users by default. You can ensure your projects run with adequate permissions by running Intel System Studio applications as root on the target system.
Configure the Intel® System Studio proxy
If you are working behind a proxy server, you may need to configure the Intel System Studio (Eclipse) proxy. Follow these Eclipse proxy instructions to set your Intel System Studio proxy. If you're on an open network, skip these steps.
Consult your network admin to determine the correct proxy settings for your work environment.
Intel, the Intel logo, Intel Atom, Intel Core, Intel Xeon Phi, VTune and Xeon are trademarks of Intel Corporation in the U.S. and/or other countries.
*Other names and brands may be claimed as the property of others.
Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other countries.
Copyright 2014-2018 Intel Corporation.
This software and the related documents are Intel copyrighted materials, and your use of them is governed by the express license under which they were provided to you (License). Unless the License provides otherwise, you may not use, modify, copy, publish, distribute, disclose or transmit this software or the related documents without Intel's prior written permission.
This software and the related documents are provided as is, with no express or implied warranties, other than those that are expressly stated in the License.