Skip to content
master
Switch branches/tags
samples/cplusplus/environment/
samples/cplusplus/environment/

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

English|中文

Third-party dependency installation guide(C++ sample)

Precondition

Install CANN package according to official documents.

Installation note

Some python samples in the samples repository use third-party dependencies such as opencv and ffmpeg for image processing, so you need to install third-party dependencies and configure the environment according to the instructions in this article before running.

  • Development environment: Mainly used for coding, compiling and testing.
    (Scenario 1)Install development environment on Ascend AI device which can be used as operation environment, application execution and training script migration, testing and development.
    (Scenario 2)Install development environment on non-Ascend device which can only be used for coding, compiling, and other activities that do NOT rely on Ascend devices (such as ATC model convert, operator, application inference and other plainly code development).
  • Operation environment: Migrate training scripts, code and test on applications developed by operation user on Ascend AI device.

Scenario selection

Select the corresponding scenario according to the following description.

C++ environment preparation and dependency installation

Introduction

Introduction

Steps

Please perform the following four steps in sequence, please click the corresponding link to install according to the device type.