Difference between revisions of "Getting started with TI Jacinto 7 Edge AI/Demos/C++ Demos/Build the Docker container & apps"

From RidgeRun Developer Connection
Jump to: navigation, search
(Build the Docker container & apps)
(Build the Docker container & apps)
Line 1: Line 1:
 
== Build the Docker container & apps ==
 
== Build the Docker container & apps ==
  
C++ Demos need to be run on a Docker image. This section shows the steps necessary to build the Docker container and demos.
+
C++ Demos need to be run in a Docker image. This section shows the steps necessary to build the Docker container and demos.
  
 
=== Build the Docker container ===
 
=== Build the Docker container ===

Revision as of 10:30, 21 June 2021

Build the Docker container & apps

C++ Demos need to be run in a Docker image. This section shows the steps necessary to build the Docker container and demos.

Build the Docker container

  • Login to your Jacinto 7 and navigate to the docker directory:
cd /opt/edge_ai_apps/docker/
  • Build the Docker container:
./docker_build.sh
  • Run the Docker container:
./docker_run.sh

Build the C++ demos

  • Navigate to the C++ apps directory:
cd /opt/edge_ai_apps/apps_cpp/
  • Build the apps:
mkdir build
cd build
cmake ..
make