2016-11-14 64 views
0

我想在android ndk中使用openMP.I在Android.mk中添加代碼:錯誤:無法找到-lrt鏗鏘++。exe:錯誤:鏈接器命令失敗,退出代碼1(使用-v來查看調用)?

LOCAL_CFLAGS += -fopenmp 
LOCAL_LDFLAGS += -fopenmp 

,但它使一個錯誤C:/WORK/android-ndk-r13b/build//../toolchains/arm-linux-androideabi-4.9/prebuilt/windows-x86_64/lib/gcc/arm-linux-androideabi/4.9.x/../../../../arm-linux-androideabi/bin\ld: error: cannot find -lrt clang++.exe: error: linker command failed with exit code 1 (use -v to see invocation)當執行ndk-build '

回答

相關問題