我正在尝试使用 QT 设置 openFrameworks,但到目前为止我似乎没有成功。我包含了所有必要的文件,即包含、库等,但是一旦我编译程序,它就会显示错误
/home/kalyan/of_v0.9.3_linux64_release/libs/openFrameworks/utils/ofXml.h:204: error: 'class Poco::XML::Element' has no member named 'getNodeByPath'
Poco::XML::Element *e = (Poco::XML::Element*) element->getNodeByPath(path);
^
我什至在 openFrameworks 论坛上问过,但没有得到任何回复。
我正在运行一个包含在 openFrameworks 构建中的示例“3dPrimitivesExample”。我使用 make 构建了那个特定示例,它生成了目标文件并最终生成了一个 .exe 文件。
最佳答案
你是否遇到了我上周遇到的同样问题?旧版本?
看这里: 'Keywords' is not a namespace-name
这里有一篇关于如何使用 CMAKE 将 QT 链接到 Poco 的优秀文章(我从来不知道如何使用 QMake 来完成): Clion, cMake and POCO
关于c++ - 'class Poco::XML::Element' 没有名为 'getNodeByPath' 的成员,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36826475/