Click here to Skip to main content
15,889,527 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello everyone, I'am getting this error when compiling with android native developer kit (NDK)

aarch64-linux-android-g++.exe: error: libgomp.spec: No such file or directory.

I have specified the following flags in the android.mk file

LOCAL_CFLAGS += -fopenmp

LOCAL_LDFLAGS += -fopenmp

I'am using android-ndk-r10c, any work around?
Posted
Updated 30-Mar-15 12:10pm
v3
Comments
Darren_vms 31-Mar-15 9:04am    
is this the problem

https://tracker.crystax.net/issues/833
BupeChombaDerrick 31-Mar-15 9:36am    
Thanks, are there any other libraries for Android for multiprocessor programming? I know of renderscript, but I can't use a c++ library with it, I'am trying to run image processing algorithms on multicore processors since there are so many devices with such types of processors.
Darren_vms 31-Mar-15 9:27am    
Whilst it looks old, this may help you

https://groups.google.com/forum/#!topic/android-ndk/pUfqxURgNbQ

not sure on the version of gcc you are using but the thread mentions a patch is needed.
BupeChombaDerrick 31-Mar-15 11:40am    
My gcc version code is 4.5.3, I just installed the latest ndk version and still the file is missing. So I guess it's just patching then. Thanks again.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900