Add the Streamline annotation files to your project

To add annotations, you need to include 2 files to your Unreal Engine project. These files are located in your Arm Mobile Studio installation directory:

  • <install_location>/streamline/gator/annotate/streamline_annotate.c
  • <install_location>/streamline/gator/annotate/streamline_annotate.h

There are 2 ways to add these files to your project:

  • Copy the files into your project, under <unreal_project/Source/<project_name> and then add the following line into any source file where you want to create annotations:
    #include "streamline_annotate.h"
  • Alternatively, build a libstreamline_annotateMakefile:
    cd <install_location>/streamline/gator/annotate
    make
    Then, copy the libstreamline_annotate library into your project, under <unreal_project/Source/<project_name> and then add the following line into any source file where you want to create annotations:
    #include "libstreamline_annotate"
Note:

Some of the libraries that are required to compile the given code aren't included by default with Windows or Microsoft Visual Studio. You might need to add them manually:

  • In Microsoft Visual Studio, right-click on your project name within the Solution Explorer and select Manage NuGet Packages for <project_name>...
  • Click Browse, then search for and select the package called pthreads.
  • Select all of the options and click Install.
Previous Next