FlatBuffers is a set of tools and libraries. Before using it, we need to download and build it:
- Download the most recent archive of FlatBuffers, available at https://codeload.github.com/google/flatbuffers/zip/master, and extract it in the test directory. This will create a new directory called flatbuffers-master.
- Switch to the build console, change the directory to flatbuffers-master, and run the following commands to build and install the library and tools. Make sure you run as root. If not, press Ctrl + C to exit the user shell:
# cmake .# make# make install
Now, we are ready to use FlatBuffers in our application. Let's reuse an application we created in one of the previous recipes:
- Copy the contents of the ipc4 directory ...