尝试从 mac 编译 linux 会引发此错误,我已经从brew安装了openssl和pkg-config。
在文件 ~/.cargo/config 中我有这个配置。
[target.x86_64-unknown-linux-musl]
linker = "x86_64-linux-musl-gcc"
Run Code Online (Sandbox Code Playgroud)
错误:
error: failed to run custom build command for `openssl-sys v0.9.72`
Caused by:
process didn't exit successfully: `/Users/Proyect/cvm/target/release/build/openssl-sys-66182f9fe15cdddc/build-script-main` (exit status: 101)
run pkg_config fail: "`\"pkg-config\" \"--libs\" \"--cflags\" \"openssl\"` did not exit successfully: exit status: 1\nerror: could not find system library 'openssl' required by the 'openssl-sys' crate\n\n--- stderr\nPackage openssl was not found in the pkg-config search path.\nPerhaps you should add the directory containing `openssl.pc'\nto …
Run Code Online (Sandbox Code Playgroud) 应用程序抛出此错误
Error Loading module com.google.android.gms.dynamite.DynamiteModule$LoadingException: No acceptable module found. Local version is 0 and remote version is 0
Run Code Online (Sandbox Code Playgroud)
在尝试配置 Google-vision FaceDetector 时,我目前正在使用'com.google.android.gms: play-services-base: 16.1.0'
和'com.google.android.gms: play- services-vision: 17.0.2 '
,在android 7.0 中,设备上的 google play 服务版本为14.7.99。
这是 logcat 输出:
2019-01-22 16:19:41.682 21333-21333/com.nowfloats.camera I/DynamiteModule: Considering local module com.google.android.gms.vision.dynamite.face:0 and remote module com.google.android.gms.vision.dynamite.face:0
2019-01-22 16:19:41.683 21333-21333/com.nowfloats.camera D/FaceNativeHandle: Cannot load feature, fall back to load whole module.
2019-01-22 16:19:41.684 21333-21333/com.nowfloats.camera W/DynamiteModule: Local module descriptor class for com.google.android.gms.vision.dynamite not …
Run Code Online (Sandbox Code Playgroud)