Google Breakpad 无法编译
收到错误
File "C:\google-breakpad\src\tools\gyp\pylib\gyp\generator\msvs.py", line 907, in _GetPathDict
parent_dict = _GetPathDict(root, parent)
File "C:\google-breakpad\src\tools\gyp\pylib\gyp\generator\msvs.py", line 906, in _GetPathDict
parent, folder = os.path.split(path)
File "C:\Python27\lib\ntpath.py", line 170, in split
d, p = splitdrive(p)
File "C:\Python27\lib\ntpath.py", line 125, in splitdrive
if p[1:2] == ':':
RuntimeError: maximum recursion depth exceeded in cmp
我正在尝试构建 google-breakpad ,但在运行时 命令
src\tools\gyp\gyp.bat src\client\windows\breakpad_client.gyp
有谁知道 Google-Breakpad 是否损坏或者我如何修复此错误?
I am attempting to build google-breakpad and I am getting the error
File "C:\google-breakpad\src\tools\gyp\pylib\gyp\generator\msvs.py", line 907, in _GetPathDict
parent_dict = _GetPathDict(root, parent)
File "C:\google-breakpad\src\tools\gyp\pylib\gyp\generator\msvs.py", line 906, in _GetPathDict
parent, folder = os.path.split(path)
File "C:\Python27\lib\ntpath.py", line 170, in split
d, p = splitdrive(p)
File "C:\Python27\lib\ntpath.py", line 125, in splitdrive
if p[1:2] == ':':
RuntimeError: maximum recursion depth exceeded in cmp
When I run the command
src\tools\gyp\gyp.bat src\client\windows\breakpad_client.gyp
Does anyone know if Google-Breakpad is broken or how I may fix this error?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我不知道它是否能解决您的问题,但您始终可以考虑提高最大递归深度。 Python 允许您使用名为 sys.setrecursionlimit() 的函数来配置它。我能收集到的默认限制是 1000,所以你可能会幸运地把它增加到 1500 或 2000。Python
文档在这里不是很友好,只说最大递归限制是依赖于平台的,但是给出尝试一下,看看是否有效。
I don't know if it'll fix your problem or not, but you could always consider raising the maximum recursion depth. Python allows you to configure it by using a function called sys.setrecursionlimit(). The default limit from what I can gather is 1000, so you might have luck by increasing it to, say, 1500 or 2000.
The python documentation isn't terribly friendly here, only saying that the maximum recursion limit is platform dependent, but give it a shot and see if it works.
这是由于错误安装了 python 造成的。
This was due to a misinstalled python.