Cross Compilation Plugin Example

  1. For details about how to prepare a cross compilation plugin, see Plugin Development Description.

    After the operation is complete, go to the ${MX_SDK_HOME}/samples/MxpiSamplePlugin directory.

  2. Run the following statement for compilation:
    CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ cmake -S . -Bbuild && make -C ./build  -j

  3. If the following files are generated, the cross compilation is successful.