问题
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