Error while making CLucene for Max OS X 10.10

允我心安 提交于 2020-01-16 13:19:14

问题


I am trying to build CLucene in Max OS X 10.10. I followed the instructions here. The cmake .. command ran correctly, but after that, when I try to run make with the makefile generated, I get the following error:

I Googled it and found reports of similar errors in some forums, and even found a similar question in Stackoverflow as well: Error when Make CLucene, but nowhere did I find a canonical solution.

What should I do to fix this?


回答1:


There is a bug for the Mac OS X version. You need to patch 2 files (assuming that the current directory is the CLucene one):

  • src/shared/CLucene/LuceneThreads.h

  • src/shared/CLucene/config/repl_tchar.h

If you click the links you will get directly the patches. Let me know if you have problems applying the patches.



来源:https://stackoverflow.com/questions/28113556/error-while-making-clucene-for-max-os-x-10-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!