开发者

Google Breakpad fails to compile

I am attempting to bui开发者_开发百科ld 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?


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.


This was due to a misinstalled python.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜