Intel System Studio 2018 Getting Started Guide
Before you create a project for the first time, follow the steps in this section. Then, continue to the next section for instructions to create and run a project.
Create a Target Connection Using Root Privileges
Applications that use MRAA/UPM libraries need to be run with root privileges so that they can control the hardware (GPIOs, I2C and SPI buses). Follow the steps in this section to create the target connection and ensure that for all future connections, your application will run as root.
To use TCF
The following steps are needed to use TCF regardless of MRAA/UPM usage.
For a Linux* or macOS* host
Generate the key with an empty passphrase:
ssh-keygen -t rsa -f ~/.ssh/id_rsa_tcf
Press Enter when prompted for a passphrase.
For a Windows* host
Install PuTTY SSH client: https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
Launch the PuTTY Key Generator using the puttygen.exe file
Click the Generate button (with all default settings intact) to generate keys
Save the private key to your local drive: C:\temp\linux_private_key.ppk
Keep the PuTTY Key Generator open for the next steps.
Configure the TCF connection
Follow these steps to configure the TCF connection using SSH keys.
For Windows: The path is \temp\linux_private_key.ppk
For Linux and macOS: The path is /home/{username}/.ssh/id_rsa_tcf
Configure network proxy settings
Follow these steps to set up network proxy settings in Intel System Studio. If you're on an open network, skip these steps.
These steps use the Intel® C++ Compiler to build and run a sample Hello World application on a local Linux* system.
Step 1: Create a New Project
In Eclipse*, click File > New > Project.
Expand Application Development and select Project to build and run on this Linux Operating System.
Select Intel® C++ Compiler (ICC) and click Next.
Type a name for the project and select the use default location check box.
Expand Intel® Compiler and select Hello World. Click Finish.
The project opens in the Eclipse* workspace.
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 the Application
In the Project Explorer list, click the name of your project.
In the toolbar, click the
Run button.
Select Local C/C++ Application and click OK.
Your project runs. The results appear in the Console.
If the project does not exit automatically, click the red Terminate icon that appears on the Console panel.
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. |
|
Introductory information and links to additional help for the Intel® C++ Compiler |
|
Introductory information and links to additional help for the Intel® Math Kernel Library |
|
Introductory information and links to additional help for the Intel® Threading Building Blocks |
|
Introductory information and links to additional help for the Intel® Integrated Performance Primitives |
|
Introductory information and links to additional help for the Intel® Data Analytics Acceleration Library |
|
Introductory information and links to additional help for the GNU* Project Debugger (GDB) Application Debugger - Linux* targets only |
|
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. 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 |
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. |
Intel and the Intel logo are trademarks of Intel Corporation in the U.S. and/or other countries.
Microsoft, Windows, and the Windows logo are trademarks, or registered trademarks of Microsoft Corporation in the United States and/or other countries.
*Other names and brands may be claimed as the property of others.
© Intel Corporation