I'm trying to add the ARM compute library on Xiling SDK to run a CNN on the Cortex A-9. I'm having a hard time trying to integrate it. To begin with, i downloaded the ComputeLibrary master folder at https://github.com/ARM-software/ComputeLibrary. Afterwards i have read the documentation at the "bare metal" paragraph. There is a link to download linaro, which i downloaded. I made a new c++ project on SDK and i choosed the linaro toolchain that i downloaded. Then i added the library in the folder services_sw but when i try compiling it, it gives several errors.
Can you help me please?
I have an example of building the Arm Compute Library for bare metal. It's for Cortex-R52 instead of Cortex-A9 but should be similar.
The setup is for building on Linux but maybe you can translate the commands to Windows or use VirtualBox or Docker Desktop.
There is a top-level build_armcl_bm.sh to make sure the appropriate tools are setup.
Then there is a build.sh in the Cortex-R52 example area to build the library and a small bare metal example for Cortex-R52.
Thank you very much!!
At the moment i put aside the bare metal execution and i'm trying to build on Linux. I built the library and i made my own example. At this point i use the command:
arm-linux-gnueabihf-g++ examples/myexample.cpp utils/Utils.cpp -I. -Iinclude -std=c++11 -mfpu=neon -L. -larm_compute -larm_compute_core -o myexample
but i've been getting errors.
Then i tried to compile one of the examples in the example directory by giving the command:
arm-linux-gnueabihf-g++ examples/neon_convolution.cpp utils/Utils.cpp -I. -Iinclude -std=c++11 -mfpu=neon -L. -larm_compute -larm_compute_core -o neon_convolution
This is what i get:
I'm not sure what's missing.
Nevermind!! I figured it out