发布时间:2024-02-22 12:17:44 作者:佚名 阅读:(22)
在服务器安装coreseek时编译csft的时候提示:sphinxexpr.cpp:1746:43: error:'ExprEval' was not declared in this scope,接下来云梦编程为大家介绍一下解决方法,有需要的小伙伴可以参考一下:
(1)、我们可以根据错误信息中给出的修改方法去修改对应的位置即可
(2)、一共有三处需要调整,分别是1746行、1777行和1823行
vim /usr/local/coreseek-4.1-beta/csft-4.1/src/sphinxexpr.cpp
将文件中的
T val = ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage
替换为:
T val = this->ExprEval ( this->m_pArg, tMatch ); // 'this' fixes gcc braindamage
(3)、保存之后,重新编译即可
以上就是云梦编程为大家介绍的关于sphinxexpr.cpp:1746:43: error:'ExprEval' was not declared in this scope的解决方法,了解更多相关文章请关注云梦编程网!
sphinx多索引查询
(24)人喜欢 2024-10-09sphinx过滤方法setFilter()
(26)人喜欢 2024-10-08Linux安装Coreseek提示"In file included from sphinxstd.cpp:24:0::py_layer.h:16:27: fatal error: Python.h: No such file or directory"
(31)人喜欢 2024-02-23Linux安装Coreseek提示“/src/sphinx.cpp:22292: undefined reference to”错误的解决办法
(19)人喜欢 2024-02-22sphinxexpr.cpp:1746:43: error:‘ExprEval’ was not declared in this scope
(22)人喜欢 2024-02-22sphinx.cpp:22292:对‘libiconv_open’未定义的引用
(36)人喜欢 2024-02-21© 2023 - 云梦编程网 版权所有 鲁ICP备2021017318号-4