发布时间:2024-02-22 12:17:44 作者:佚名 阅读:(16)
在服务器安装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的解决方法,了解更多相关文章请关注云梦编程网!
Linux安装Coreseek提示"In file included from sphinxstd.cpp:24:0::py_layer.h:16:27: fatal error: Python.h: No such file or directory"
(22)人喜欢 2024-02-23Linux安装Coreseek提示“/src/sphinx.cpp:22292: undefined reference to”错误的解决办法
(17)人喜欢 2024-02-22sphinxexpr.cpp:1746:43: error:‘ExprEval’ was not declared in this scope
(16)人喜欢 2024-02-22sphinx.cpp:22292:对‘libiconv_open’未定义的引用
(11)人喜欢 2024-02-21FATAL: failed to lock pid file '/usr/local/sphinxforchinese/var/log/searchd.pid': Resource temporarily unavailable (searchd already running?)
(8)人喜欢 2024-02-20sphinx错误:WARNING: failed to open pid_file '/usr/local/sphinxforchinese/var/log/searchd.pid'.
(6)人喜欢 2024-02-20© 2023 - 云梦编程网 版权所有 鲁ICP备2021017318号-4