SeeFlowerX / frida-protobuf

304 stars 108 forks source link

XXX is not defined. #4

Closed wttnb911 closed 2 years ago

wttnb911 commented 2 years ago

pyproto/tbclient.ThreadInfo.proto:41:1: File recursively imports itself: pyproto/tbclient.ThreadInfo.proto -> pyproto/tbclient.VideoActive.proto -> pyproto/tbclient.ThreadInfo.proto pyproto/tbclient.VideoActive.proto:5:1: Import "pyproto/tbclient.ThreadInfo.proto" was not found or had errors. pyproto/tbclient.VideoActive.proto:15:14: "ThreadInfo" is not defined. pyproto/tbclient.ThreadInfo.proto:41:1: Import "pyproto/tbclient.VideoActive.proto" was not found or had errors. pyproto/tbclient.ThreadInfo.proto:158:14: "VideoActive" is not defined. pyproto/tbclient.HotThreadList.DataRes.proto:5:1: Import "pyproto/tbclient.ThreadInfo.proto" was not found or had errors. pyproto/tbclient.HotThreadList.DataRes.proto:11:14: "tbclient.ThreadInfo" is not defined.

wttnb911 commented 2 years ago

这个是循环引用的原因吗

SeeFlowerX commented 2 years ago

recursively imports 看错误提示是这样,需要尝试自行修改下proto文件。