After installing Vision Extension Package for S32V2xx 1.0.0, you need to install additional third-party software packages. These packages are required for building projects and for debugging. The following table groups additional software packages by activity where they are required:
| Activity | Required software |
|---|---|
| Project build |
|
| Debugging |
|
CentOS uses GCC 4.8.5 by default. To be able to build projects, raise the GCC version to 5.x.
To install GCC, run these commands:
sudo yum install centos-release-scl
sudo yum install devtoolset-4-gcc*
scl enable devtoolset-4 bash
The last line applies the new GCC version to the current bash session. To use this GCC version, you need to run S32 Design Studio from the command line in the same session.
source /opt/rh/devtoolset-4/enableWhen done, verify the version of the installed GCC using this command:
g++ --version
You will get the actual GCC version in the response similar to this one:
[af@vm-co7] $ g++ --version
g++ (GCC) 5.3.1 20160406 (Red Hat 5.3.1-6)
CentOS uses TCL 8.5 by default. To be able to build projects in S32 Design Studio on CentOS 7, install TCL 8.6.
To install TCL 8.6, run these commands:
rpm --import http://wiki.psychotic.ninja/RPM-GPG-KEY-psychotic
wget http://packages.psychotic.ninja/7/base/x86_64/RPMS/psychotic-release-1.0.0-1.el7.psychotic.noarch.rpm
sudo rpm -Uvh psychotic-release*rpm
sudo yum --enablerepo=psychotic-plus install tcl
When done, verify the version of the installed TCL using these commands:
[af@localhost ~]$ echo "puts \$tcl_version" | tclsh
The expected response should be:
8.6