This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

ARM Compute Library in Xilinx SDK for bare metal execution?

Hi all, 

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?

Parents
  • 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.

Reply
  • 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.

Children