美文网首页
*** Current working directory no

*** Current working directory no

作者: kanglong_034f | 来源:发表于2019-07-17 17:25 被阅读0次

    在使用poco库中,可能遇到这个问题。对于这个问题,官网给的解决方案是当前目录中不能包含符号链接。

    1563354601(1).png

    查看了路径,好像没有用符号链接。但是确实该路径用了符号链接。而上图所示,显示我的路径就有问题,而我没发现。于是一步一步查看build/rules/global文件。

    查看目录是否含有链接

    ll  
    

    也可以写一个makefile,

    currentWD = $(shell pwd)
    $(info currrentWD =  $(currentWD))
    

    只管运行这个makefile就行了,在错误产生前可以看到当前路径(跳过符号链接)。


    image.png

    找到这个问题了,那么只要在poco 的根目录下,打开config.make,把PROJECT_BASE, POCO_BASE的目录改为由上述makefile产生的目录 + poco目录

    image.png
    image.png

    由于

    相关文章

      网友评论

          本文标题:*** Current working directory no

          本文链接:https://www.haomeiwen.com/subject/sllclctx.html