Difference between revisions of "Installing EMAC OE 5.0 SDK"
Line 1: | Line 1: | ||
==Prerequisites== | ==Prerequisites== | ||
− | If you are installing the SDK using the ADT Installer (Automatic Install), dependencies will be automatically installed for the supported distributions: Debian/Ubuntu, Fedora, CentOS, openSUSE. If you are installing the SDK manually or using a non-supported distribution, you will have to install the dependencies manually. | + | If you are installing the SDK using the ADT Installer (Automatic Install), dependencies will be automatically installed for the supported distributions: Debian/Ubuntu, Fedora, CentOS, openSUSE. |
+ | {{note | Currently the version of Qt Creator installed during the automatic installation does not work}} | ||
+ | |||
+ | If you are installing the SDK manually or using a non-supported distribution, you will have to install the dependencies manually. | ||
==Procedure (Automatic Install)== | ==Procedure (Automatic Install)== | ||
<cl> | <cl> |
Revision as of 14:56, 11 July 2017
Prerequisites
If you are installing the SDK using the ADT Installer (Automatic Install), dependencies will be automatically installed for the supported distributions: Debian/Ubuntu, Fedora, CentOS, openSUSE.
NOTE |
Currently the version of Qt Creator installed during the automatic installation does not work |
If you are installing the SDK manually or using a non-supported distribution, you will have to install the dependencies manually.
Procedure (Automatic Install)
-
Download the ADT Installer. (Right click, save link as)
-
Change to the directory where the ADT Installer was downloaded from the command line:
developer
@
ldc
:
~
#
cd ~/Downloads
-
Make the file executable:
developer
@
ldc
:
~
#
chmod +x emac_adt_installer
-
Run ADT Installer script:
developer
@
ldc
:
~
#
./emac_adt_installer
The installer will start.
-
Watch for errors:
#########################################################################
# Met Errors when installing EMAC ADT! Please check log file for details.
######################################################################### -
Enter the development user's password if prompted. Allow the installer to install dependencies.
-
Enter the number for your boards architecture.
Please enter the target architecture:
1. Arm
2. x86
board:
-
The ADT Installer will then display what is to be installed. You may now choose to exit the installation, or continue if the displayed information is correct.
-
Once the installation of the sdk completes, the ADT Installer will ask whether or not to install Qt Creator.
Would you like to install Qt Creator? [y/N]?
-
Qt Creator is the IDE that EMAC provides with our SDK to allow users to easily cross compile projects and upload them to their boards.
-
If you chose to install Qt creator, the installer will then ask you whether or not you would like to place the icon on the desktop.
-
-
If the installation finishes, status text will appear:#############################################################
# EMAC ADT has been successfully installed.
#############################################################
Procedure (Manual Install)
-
Download the SDK. The latest version can be found on the EMAC FTP site. Download the SDK that matches the architecture of your target system. (Right click, save link as)
-
SDK for x86: emac-x86-toolchain.sh
-
SDK for ARM: emac-arm-toolchain.sh
-
-
Change to the directory where the SDK was downloaded from the command line:
developer
@
ldc
:
~
#
cd ~/Downloads
-
Run SDK installer script:
developer
@
ldc
:
~
#
./emac-ARCH-toolchain.sh
The installer will start. It is recommended to select the default target directory for the SDK:
/opt/emac/5.X
-
Press enter to proceed.
-
Enter your password if prompted.
-
Status text will appear:
Extracting SDK...done
Setting it up...done
SDK has been successfully set up and is ready to be used.