Hi there,
I would like to use the "Arm compute library" in a microprocessor (Cortex A9 based).
Is it possible to compile the arm compute library directly by importing source code in the IDE, in my case eclipse?
And compile it, I am using the "GCC ARM embedded" compiler.
I don't want to use a Linux OS.
Thanks in advance.
Thank you for your response, Jason.
I imported all source code into the eclipse IDE. I added the settings as described in the makefile for the Cortex-R52,
on the project properties.
I have an error during the compilation coming from a missing include file :
#include <omp.h>
I don't know how I can resolve this issue.
Hi,
I checked the bare metal example I referenced and it doesn't use OpenMP. This is where omp.h comes from. There is an option with the Arm Compute Library to use OpenMP but not for a bare metal target. The documentation about the Compute Library configuration is at https://arm-software.github.io/ComputeLibrary/v19.05/index.xhtml#S3_1_build_options
The configuration in the build.sh uses these flags (you can see openmp=0)
scons Werror=0 debug=1 neon=1 opencl=0 os=bare_metal arch=armv7a build=cross_compile cppthreads=0 openmp=0 standalone=1
Make sure you have the same configuration and the omp.h error should not show up.
Thanks,
Jason