谷歌破板构建错误
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"
命令行为:
cd breakpad
git clone https://chromium.googlesource.com/linux-syscall-support src/third_party/lss
我遇到了同样的问题,浪费了很多时间。
为了解决这个问题,我尝试这样做:
-
"git clone https://chromium.googlesource.com/linux-syscall-support"
-
将 linux_syscall_support.h 从 "Git\Linux-syscall-support" 复制到 "android_breakpad\src\third_party\lss"
希望对大家有所帮助。
相关文章:
- libssh 的函数在构建 libssh 时无法在 Qt 和 cmake 错误中找到
- VSCode-有一个红色下划线,但程序构建和运行正确,并且出现配音错误
- Clion显示错误,但可以使用Cmake成功构建代码
- Agora.io 虚幻引擎插件构建错误
- VS 2015 链接错误 无法构建依赖于 libcurl 的项目
- 如何构建 SOCI 库而没有错误?
- 尝试将 boost::stacktrace 添加到 CMake 项目时出现构建错误
- Arch Linux.AUR 包 mysql 不能用 makepkg 构建.错误:构建 () 中出现故障
- GCC:随机构建导致执行期间分段错误
- 组件上的虚幻引擎可蓝图UFUNCTION会导致构建错误
- 构建失败错误:无法使用 qibuild 构建C++ SDK Helloworld
- 调试模板时出现问题.专门针对 Linux GCC 7、GCC 6、GCC 5、GCC 4.9 错误构建失败:模板参数 1
- MINGW的错误构建提升
- 从Canfestival错误构建CanOpen的示例
- 链接器错误构建GDAL VS2017
- Netbeans 7.4 C++简单的 hello world 错误构建失败尝试了 Google 搜索结果前 2 页上的
- 链接器错误构建 fibonnacci 示例与 boost::coroutine2 与 Boost 1.60 使用动态链接
- 使用CMake错误构建Thor SFML扩展
- 链接器错误构建GDAL
- 错误构建简单的MongoDB c++客户端示例