During deployment, you may encounter the error
. This occurs because the arm_compute_library is missing.
You can follow the installation method described in "MATLAB Coder: How do I build the ARM Compute Library for Deep Learning C++ code generation and deployment?" on MATLAB Answers - MATLAB Central (mathworks.cn) (don't follow these instructions yet, read further below). However, after installation, you will still get the error:
All these methods were found on the MATLAB official forum, though one link is no longer accessible. The procedure steps are as described above.
witharm_compute/runtime/NEON/NEFunctions.h: No such file or directory
Code:
#include "arm_compute/runtime/NEON/NEFunctions.hYou can follow the installation method described in "MATLAB Coder: How do I build the ARM Compute Library for Deep Learning C++ code generation and deployment?" on MATLAB Answers - MATLAB Central (mathworks.cn) (don't follow these instructions yet, read further below). However, after installation, you will still get the error:
(I've already deployed it, so I won't include a screenshot of the error). After researching, I found this is related to C++14, which made me suspect that the downloadederror::make_unique is not a member of 'std
was too new and different from what MATLAB specifies. So I went toarm_compute_library
and downloaded the corresponding version (20.02.1). Then I compiled it following the method in the first link, which takes some time. After completion, you need to rename theReleases · ARM-software/ComputeLibrary (github.com)
folder tobuild
, and then add these three lines to the .bashrc file in the same directory level as ComputeLibrary."lib"
Code:
export ARM_COMPUTELIB=~/ComputeLibraryexport PATH=${PATH}:~/ComputeLibraryexport LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:~/ComputeLibrary/libStatistics: Posted by rediy — Mon Mar 10, 2025 11:38 am