[英]Google breakpad build error
為Android構建google breakpad但是會出現構建錯誤。 不知道如何解決它們。 代碼檢出來自: 代碼
並構建為ndk構建。 結帳代碼沒有lss文件夾。
google-breakpad/android/google_breakpad/../../src/google_breakpad/common/breakpad_types.h:45:2: error: #error "inttypes.h has already been included before this header file, but "
#error "inttypes.h has already been included before this header file, but "
^
jni/../google-breakpad/android/google_breakpad/../../src/google_breakpad/common/breakpad_types.h:46:2: error: #error "without __STDC_FORMAT_MACROS defined."
#error "without __STDC_FORMAT_MACROS defined."
/google-breakpad/android/google_breakpad/../../src/common/memory.h:51:51: fatal error: third_party/lss/linux_syscall_support.h: No such file or directory
#include "third_party/lss/linux_syscall_support.h"
我有同樣的問題,浪費了很多次。
為了解決這個問題,我嘗試這樣做:
“git clone https://chromium.googlesource.com/linux-syscall-support ”
將linux_syscall_support.h從“git \\ linux-syscall-support”復制到“android_breakpad \\ src \\ third_party \\ lss”
希望能幫助大家。
命令行是:
cd breakpad
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.