Intel System Studio 2019 Getting Started Guide
Follow the instructions in this guide to create simple projects (from samples or templates) for Linux targets.
To get started with profiling and analysis or hardware system/platform bring up, see Get Started with Profiling and Analysis Using Intel® System Studio 2019 and Get Started with Hardware System/Platform Bring Up Using Intel® System Studio 2019.
Click for instructions to create a ... | Description |
---|---|
Create applications for embedded IoT Linux targets, regardless of the OS on your development system, using Docker containers with fully configured compile and build toolchains. Requires a 64-bit version of Ubuntu 16.04 Desktop, or later. |
|
Create native Linux applications using your local development system's compiler and tools for running directly on your development system. |
|
Create Linux and native Android applications using your local development system's compiler and tools. Cross-compile to run on Linux and Android targets. |
|
Create Java projects to run on Linux targets. |
User Guides
To launch Intel System Studio for a Linux target, double-click the shortcut on your desktop or run one of the following launcher scripts:
Linux host: /opt/intel/system_studio_2019/iss_ide_eclipse-launcher.sh
Windows host: C:\IntelSWTools\system_studio_2019\iss_ide_eclipse-launcher.bat
macOS host: /opt/intel/system_studio_2019/iss_ide_eclipse-launcher.sh
Follow the steps in this section to create an On-Board LED Blink or UP Squared Built-in LEDs application to run on a remote Linux target.
Step 1: Install Docker
Before creating a new project, make sure Docker is installed and configured on your development system.
For instructions to install Docker for Intel System Studio, see:
Step 2: Create a new project
Choose File > New > Project from the menu to start the new project wizard.
Expand Intel Application Development and select C++ Project. Click Next.
Type a name for the project in the New Project Name field. In the Samples list, expand the Basic folder and select On-Board LED Blink or UP Squared Built-in LEDs.
For Builder, select Managed Build.
For Build Options, select Docker.
Click Next.
In the Select a Docker Container list, select the most recent version of Ubuntu Linux 16.04 64-Bit (GCC). Click Finish.
Your project is created and built. The project files are shown in the Project Explorer. The build status is shown in the console.
Step 3: Create a new connection
Step 4: Set up credentials
Set up credentials to access the target device. Follow the steps in the following table for the authentication method you plan to use: Public key login or Login with password.
Authentication method | Follow these steps |
---|---|
Public key login
If the application accesses hardware sensors, LEDs, or requires elevated privileges, you need to use public key based authentication. |
|
Login with password
If the application does not require elevated privileges, you can log in as any user. |
|
Step 5: Run or debug the application
Your project runs and results appear in the console. To stop the process, click the red Terminate icon on the console.
Follow the instructions in this section to create an Auto-Vectorization application to run directly on your development system.
Step 1: Create a new project
Choose File > New > Project to start the new project wizard.
Expand Intel Application Development and select C Project. Click Next.
Type a name for the project in the New Project Name field.
In the Samples list, expand Intel Compiler and select the Auto-Vectorization sample.
For Builder, leave Makefile.
Your project is created and displayed in the Project Explorer.
Step 2: Build the application
In the Project Explorer, click the name of your project.
In the toolbar, click the hammer symbol
.
The results appear in the Console. To stop the process, click the red Terminate icon on the console.
Step 3: Run or debug the application
To run, click the green circle Run button and select your project from the drop-down list.
The results appear in the Console. To stop the process, click the red Terminate icon on the console.
To debug, click the green debug button and select your project from the drop-down list.
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 Intel Application Development and select Project to cross compile C/C++ for Linux and Android targets.
Type a name for the project in the New Project Name field.
Step 2: Set up the cross-build options
For more information, see Intel System Studio 2019: Get Started with the Intel C/C++ Compiler 19.0 for Linux and Android Targets.
For Sysroot directory, specify the target root directory where headers and libraries are located.
Follow these steps to create an On-Board LED Blink or UP Squared Built-in LEDs project to update and program on a compatible target platform.
Step 1: Ensure that required Java programs are installed
Make sure that Oracle Java Development Kit* (JDK) is installed on the host system and the Oracle Java Runtime Environment* (JRE) or better is installed on the target system. For example, if your host system has Ubuntu, you can use the following steps to install the Oracle JDK:
sudo add-apt-repository ppa:webupd8team/java sudo apt-get update sudo apt-get install oracle-java8-installer javac –version
For more information, see: Installing Oracle Java 8 in Ubuntu.
Alternatively, you can choose to install the default JRE and JDK using the following steps:
sudo apt-get update sudo apt-get install default-jre sudo apt-get install default-jdk
Step 2: Set Maven proxy settings
If your network includes a corporate proxy, set your Maven proxy settings before creating a new Java project. For instructions, see Configuring a proxy.
Sample settings.xml file
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> <proxies> <proxy> <id>central-http</id> <active>true</active> <protocol>http</protocol> <host>proxy.example.com</host> <port>911</port> <nonProxyHosts>127.0.0.1|localhost</nonProxyHosts> </proxy> <proxy> <id>central-https</id> <active>true</active> <protocol>https</protocol> <host>proxy.example.com</host> <port>912</port> <nonProxyHosts>127.0.0.1|localhost</nonProxyHosts> </proxy> </proxies> <localRepository/> <interactiveMode/> <usePluginRegistry/> <offline/> <pluginGroups/> <servers/> <mirrors/> <profiles/> <activeProfiles/> </settings>
Step 3: Create and build a new project
Choose File > New > Project to start the new project wizard.
Expand Intel Application Development and select Java Project.
Type a name for the project in the New Project Name field.
In the Samples list, expand Basic and select On-Board LED Blink or UP Squared Built-in LEDs.
Click Finish.
Your project is created and displayed in the Project Explorer.
Your project should build without errors. There might be a few warnings, but they can be ignored.
Step 4: Create a new connection
Step 5: Set up credentials
Set up credentials to access the target device. Follow the steps in the following table for the authentication method you plan to use: Public key login or Login with password.
Authentication method | Follow these steps |
---|---|
Public key login
If the application accesses hardware sensors, LEDs, or requires elevated privileges, you need to use public key based authentication. |
|
Login with password
If the application does not require elevated privileges, you can log in as any user. |
|
Step 6: Run the application
The Java application runs on your target. You should see the onboard LED on your target platform begin to blink.
No mraajava in java.library.path - workaround
Follow these steps to workaround the No mraajava in java.library path error:
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. |
|
Information about and links to information about tools, libraries, toolkits, and SDKs. |
|
Links to the latest technical documentation, including getting started guides, installation guides, user guides, and developer and reference guides. |
|
Additional information about developing C/C++ projects; for example, managing projects and connections or troubleshooting tips. |
|
Additional information about developing Java projects; for example, taking advantage of example projects and sample code, managing connections to target platforms, updating the middleware libraries on your target platform, and more. |
|
How to develop Yocto Project Compatible Linux platform projects. |
|
How to develop Yocto Project Compatible Linux applications. |
|
Intel System Studio Log Files |
The 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. The product 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. |
Install Docker for Intel System Studio |
Install Docker for Intel System Studio - macOS Host |
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.
OpenCL and the OpenCL logo are trademarks of Apple Inc. used by permission by Khronos.
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.