*** Current working directory no
2019-07-17 本文已影响0人
kanglong_034f
在使用poco库中,可能遇到这个问题。对于这个问题,官网给的解决方案是当前目录中不能包含符号链接。

查看了路径,好像没有用符号链接。但是确实该路径用了符号链接。而上图所示,显示我的路径就有问题,而我没发现。于是一步一步查看build/rules/global文件。
查看目录是否含有链接
ll
也可以写一个makefile,
currentWD = $(shell pwd)
$(info currrentWD = $(currentWD))
只管运行这个makefile就行了,在错误产生前可以看到当前路径(跳过符号链接)。

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


由于