编译报错:undefined reference to `omp_get_thread_num
解决办法:
LOCAL_LDLIBS += -llog -lc -lm -lz -ldl
在上面添加一项 -fopenmp,即:
LOCAL_LDLIBS += -fopenmp -llog -lc -lm -lz -ldl