We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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.
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