当前位置:网站首页>Break pad source code compilation--refer to the summary of the big blogger
Break pad source code compilation--refer to the summary of the big blogger
2022-08-11 07:58:00 【Luoyang Fish Ziyi】
背景
Investigating crashesbugWhen he collapsed,I thought it would be nice if there was a tool to locate it.Did a search online and found that there is,这样的工具,分别是Google公司的Breakpad和Crashpad,目前暂时使用Breakpad,因为CrashpadSome of the resources need to go to the Internet to obtain(主要是GoogleCompilation instructions on the official website and corresponding development tools,If anyone knows how to get it,请帮帮我).
参考博客
This is an article summarizing experience,Of course, most of them are borrowed from others,So here is a link to the original text for reference,Thanks to these bloggers.My summary is also written on this basis.
https://blog.csdn.net/libaineu2004/article/details/108033316
标题 : dump系列(3)Qt使用Google Breakpad或Crashpad捕获程序崩溃报告
https://blog.csdn.net/GoForwardToStep/article/details/56304285
标题 : Google Breakpad 在 windowsCapture program crash reports under
https://blog.csdn.net/zyhse/article/details/112577340
标题 : 在Windows下编译Breakpad
选择Breakpad与Crashpad的纠结
看了好多资料,发现说Breakpad已经被淘汰,Crashpad是正在使用的.不过我想BreakpadIt's enough for me,There aren't too many functions that I might use.In addition, I looked at this project and there are big cows maintaining it.
过程
My first reference blog isGoogle Breakpad 在 windowsCapture program crash reports under这篇,这里面提供了Breakpad项目的源码,如下图.
这里我选择去github上直接下载源码.Use an up-to-date one.
https://github.com/google/breakpad
注意使用了github上的源码,那么Google Breakpad 在 windowsCapture program crash reports under文章的后面,Some methods do not work.will be mentioned below.
remember to buildpython环境,The version I installed is also2.7.13,There is no problem in use.
接着是安装GYP工具,It's written in the blog,And there is no such directory in the source code I downloaded,The blog is different here.
GYP(Generate Your Projects)是由 Chromium 团队开发的跨平台自动化项目构建工具,Chromium 便是通过 GYP 进行项目构建管理.
而GYP在 源码的 \google_breakpad\src\tools \gyp 目录下.打开cmd命令提示窗口,进入到 \google_breakpad\src\tools \gyp 目录,输入命令 setup.py install ,完成gyp的安装.
Then you can refer to the blog在Windows下编译Breakpad,It is mentioned here that additional installation is requiredGYP工具,Just do as the boss says,但是在安装的时候(执行 setup.py install)我遇到了如下问题,I think it probably means that the error is made by operating as an administrator.So I just added another onewindows的普通用户,Just switch to a normal user and install it again,Then compile the source code,生成breakpad的库.
最后注意,When using the library, you also need to cooperate with the corresponding header file,The image below is my included header file,大家仅作参考,Pay attention to the directory hierarchy when actually using it.
The above is a summary of the solutions I encountered when referring to other blogs,If the reader finds an error,请及时指正,不胜感激.
边栏推荐
- TF通过feature与label生成(特征,标签)集合,tf.data.Dataset.from_tensor_slices
- TF中的条件语句;where()
- 关于#sql#的问题:怎么将下面的数据按逗号分隔成多行,以列的形式展示出来
- 1002 Write the number (20 points)
- 计算YUV文件的PSNR与SSIM
- 经典论文-MobileNet V1论文及实践
- 8、Mip-NeRF
- leetcode: 69. Square root of x
- 3.1-Classification-probabilistic generative model
- CIKM 2022 AnalytiCup Competition: Federal Heterogeneous Task Learning
猜你喜欢

1076 Wifi密码 (15 分)

1096 big beautiful numbers (15 points)

XXL-JOB 分布式任务调度中心搭建

tf.cast(),reduce_min(),reduce_max()

项目2-年收入判断

Pico neo3 Unity Packaging Settings

Active users of mobile banking grew rapidly in June, hitting a half-year high

Interaction of Pico neo3 in Unity
初级软件测试工程师笔试试题,你知道答案吗?

Redis source code: how to view the Redis source code, the order of viewing the Redis source code, the sequence of the source code from the external data structure of Redis to the internal data structu
随机推荐
3.1-分类-概率生成模型
Interaction of Pico neo3 in Unity
1081 检查密码 (15 分)
Square, multi-power, square root calculation in Tf
2021-08-11 for循环结合多线程异步查询并收集结果
1.2 - error sources
tf.reduce_mean() and tf.reduce_sum()
【LeetCode】链表题解汇总
3.2 - classification - Logistic regression
2022 China Soft Drink Market Insights
测试用例很难?有手就行
TF generates (feature, label) set through feature and label, tf.data.Dataset.from_tensor_slices
1003 我要通过 (20 分)
经典论文-MobileNet V1论文及实践
Kaldi语音识别工具编译问题记录(踩坑记录)
1.1-回归
Dynamic Agent Learning
1051 复数乘法 (15 分)
TF通过feature与label生成(特征,标签)集合,tf.data.Dataset.from_tensor_slices
1096 big beautiful numbers (15 points)