有一个确切的问题已经是here!,但没有详细的解决方案,所以再问一次。我跟踪了this!教程:
find . -name "*.c" -o -name "*.cpp" -o -name "*.h" -o -name "*.hpp" > cscope.files
cscope -q -R -b -i cscope.files
cscope -d当我执行最后一个命令时,我得到一个错误: cscope: can not read list size from file cscope.out。
文件大小:
$ ls -l | grep cscope
-rw-r--r-- 1 tnsharma wheel 8230153 May 29 11:13 cscope.files
-rw-r--r-- 1 tnsharma wheel 280810496 May 29 11:39 cscope.in.out
-rw-r--r-- 1 tnsharma wheel 3471526675 May 29 11:39 cscope.out
-rw-r--r-- 1 tnsharma wheel 1929521640 May 29 11:39 cscope.po.out你知道怎么做吗?-Thanks
更新:我可以使用子文件夹中的cscope。但不知道如何将子文件夹中的cscope.out文件链接起来使其成为全局文件。
发布于 2014-08-14 07:17:51
您的cscope.out太大,无法正常工作。
尝试通过创建cscope.files文件来减少在执行cscope -R或-b时解析的文件数量。
发布于 2015-05-24 20:49:38
我已经给出了一个解决方案,如果您的目录名为,或者目录的路径具有space(s)。重命名不带空格的目录,然后重试。检查此https://stackoverflow.com/a/30423629/3936129
https://stackoverflow.com/questions/16822121
复制相似问题