This section explains how to get your laptop prepared to execute the SE050 Plug & Trust
middleware. To do it, you need to install the following software tools:
1. Visual Studio Community 2017
2. CMake
3. Python 2.7.15 version 32 bit
2.1 Install Visual Studio Community 2017
Visual Studio is Microsoft's fully-featured IDE for Android, iOS, Windows, web, and cloud.
Visual Studio 2017 introduces rich support for CMake, including cross-platform CMake
projects. To install Visual Studio 2017:
1. Go to Visual Studio site.
2. Select (1) Windows and click on Community 2017 in the Download Visual Studio
button as shown in Figure 1:
AN12398
Quick start guide to SE050 Visual Studio projects
Figure 1. Download Visual Studio IDE
3. An *.exe installer will download to your laptop. Double click on the installer file and
follow the setup wizard until the installation is completed. This process might take a
few minutes. Figure 2 shows Visual Studio installation wizard as an example:
4. As part of the Visual Studio setup, it is mandatory that you enable the installation of
AN12398
Quick start guide to SE050 Visual Studio projects
Figure 2. Visual Studio IDE installation wizard
Desktop development with C++. Select (1) Desktop development with C++ and
(2) click install as shown in Figure 3:
Figure 3. Select desktop development with C++
5. Visual C++ Tools for CMake is installed by default as part of the Desktop development
with C++ workload. This process might take several minutes. Figure 4 shows Visual
Studio installation wizard as an example:
6. After the installation is completed, you might be asked to reboot your system as
shown in Figure 5:
Figure 5. Visual Studio installation - reboot
2.2 Install CMake
CMake is an open-source, cross-platform family of tools that helps you build C/C++
projects on multiple platforms using a compiler-independent method. It has minimal
dependencies, requiring only a C++ compiler on its own build system. SE050 middleware
leverages on CMake to generate native makefiles and workspaces that can be used in
the compiler environment of your choice. To install CMake:
1. Go to CMake downloads page: https://cmake.org/download/
Use these screenshots to install Python 2.7 in your Windows machine:
AN12398
Quick start guide to SE050 Visual Studio projects
Figure 12. Complete CMake installation
1. Go to https://www.python.org/downloads/release/python-2715/ to download Python
v.2.7.15 32 bit version. Make sure you download Python v2.7.15 32 bit version.Python v3 is not supported and neither is the 64 bit version as shown in Figure 13:
Figure 13. Download Python 2.7.15 32 bit version
2. Double click on the downloaded installer file.
3. Follow the setup wizard as indicated in Figure 14:
a. Select install for all users and click Next button.
b. Leave the default destination directory and click Next button.
4. Complete the setup wizard as indicated in Figure 15:
AN12398
Quick start guide to SE050 Visual Studio projects
Figure 14. Install Python 2.7.15 32 bit for Windows (I)
a. In the Customize Python 2.7.15 wizard, leave the defaults and click Next button.
b. Wait a few seconds until the installation is completed and click Finish button
Figure 15. Install Python 2.7.15 32 for Windows (II)
5.
To complete the setup, we need to set the Python environment variables. Open
the environment variables menu in your laptop. For that, you can do as shown in
Figure 16:
a. Type environment variables in your Windows Search menu.
b. Click on Edit the system environment variables.
c. On the System Properties window, click on environment variables button.