Target setup for Nullws This document describes the setup required to build and run CGI Studio applications with Nullws device package.It is explained how to run the Nullws target demo application part of the release package, how to setup the build environment and how to build own applications for Nullws. Nullws BSP Nullws:Prerequisites Hardware: R-Car E3 CGI Studio has been tested on  R-Car E3  System Evaluation Board. CMake In order to build Candera, the Meta build system CMake needs to be installed with at least version mentioned  here . CMake is able to create the cross compilation make files that can be used with GCC (cross-compile) compiler. Linux Toolchain (BSP) Yocto Poky 3.1.11 provided by the customer was used to test this release . Image and SDK were prepared by the customer. The GCC compiler is not part of the delivery. It is contained in the SDK that has to be provided by the customer. Compiler/s used for this release is GCC (GNU 9.3.0). SD Card image, SDK and cross-compiler/s are not part of the delivery and have to be provided by the customer. Hardware: R-Car V4H CGI Studio has been tested on  R-Car V4H System Evaluation Board. CMake In order to build Candera, the Meta build system CMake needs to be installed with at least version mentioned  here . CMake is able to create the cross compilation make files that can be used with GCC (cross-compile) compiler. Linux Toolchain (BSP) Yocto Poky 3.1.11 provided by the customer was used to test this release . Image and SDK were prepared by the customer. The GCC compiler is not part of the delivery. It is contained in the SDK that has to be provided by the customer. Compiler/s used for this release is GCC (GNU 9.4.0). SD Card image, SDK and cross-compiler/s are not part of the delivery and have to be provided by the customer. Running the CGI Player Demo Application on Nullws Copy the application and the asset to the target. This can be done by copying the filed to the SD card containing the system, via ssh or with an USB flash drive. Loading and running the application Note that no other application that uses graphics hardware can be running when using the Player, the CourierSampleApp or the CitDemoApp. If your Yocto image is built with Weston or X you must shut these down before running the application. Player can be run by using the command: $ /PathToPlayer/Player /PathToAsset/AssetName.bin If touch input handling is enabled, touch devices must be assigned to seat so that display identifier matches seat number. For example, display-0 must be assigned to seat0. Refer to udev documentation for more information on how to assign devices to seats. Building Own Application for Nullws Generate Makefiles with CMake For general information about CGI Studio Build System and CMake properties available to configure Candera applications refer to CGI Studio Build System To configure and generate makefiles for compiling the CGI Player, follow below steps: The first step for cross compiling is to make sure all the environment variables for the Yocto SDK are set! Open a terminal. Set the environment. This step is mandatory. Omitting this step will cause building with the host systems compiler instead of cross compiling. $source //environment-setup- Important! From the same console with the set environment start the CMake GUI or run the CMake commandline. We will continue with the CMake GUI in this guide. Point CMake to source directory Folder containing top-level "CMakeLists.txt", e.g. /cmake/Candera/Player Point CMake to binary directory May not exist, create folder with CMake if necessary Root directory for generated makefiles / solutions Root directory for build artifacts Configure Specify Unix Makefiles as generator for the project. Specify tool-chain file for cross-compiling. Select the toolchain-file from the delivery (adapt for your toolchain installation and application specific needs) cgi_studio_devices/src/DrmKms/ToolchainFiles/GCC-toolchain--Nullws-Linux.txt Adapt the CMake settings, if necessary, e.g.: CMAKE_BUILD_TYPE-> Debug or Release. Enable/disable features. Press Configure. Press Generate. Building Application Make sure that the environment variables for the Yocto SDK are set in the terminal! Either reuse the terminal used to start CMake for building the Player or call the environment setup script again. $source //environment-setup- Open CMake GUI and configure the project (e.g Player, CourierSampleApp, CitDemoApp) according to Generate Makefiles with CMake. After generating your cmake files, navigate to the specified build directory (binary directory created in CMake GUI) and type "make" to start the build or “make -j” to build with multithreading. With some hypervisors, the Linux VM may get unresponsive when using the –j option. Reducing the number of used threads to the number of available cores improves the responsiveness of the VM during the build. For CourierSampleApp and CitDemoApp asset file must be created with a matching SCHost.dll as the SCHost.dll for the CourierSampleApp and CitDemoApp contain specialized Widgets.