usnistgov / trec_eval

Evaluation software used in the Text Retrieval Conference
232 stars 49 forks source link

i have a complied problem #15

Closed natthanank closed 5 years ago

natthanank commented 6 years ago

cygwin show this error when i compile how can i fix this?

m_ndcg.c:13:8: error: expected ‘)’ before ‘/’ token double log2(double x); ^ In file included from sysfunc.h:21:0, from m_ndcg_cut.c:8: m_ndcg_cut.c:12:8: error: expected ‘)’ before ‘/’ token double log2(double x); ^ In file included from sysfunc.h:21:0, from m_Rndcg.c:9: m_Rndcg.c:13:8: error: expected ‘)’ before ‘/’ token double log2(double x); ^ In file included from sysfunc.h:21:0, from m_ndcg_rel.c:9: m_ndcg_rel.c:13:8: error: expected ‘)’ before ‘/’ token double log2(double x); ^ In file included from sysfunc.h:21:0, from m_binG.c:9: m_binG.c:13:8: error: expected ‘)’ before ‘/’ token double log2(double x); ^ In file included from sysfunc.h:21:0, from m_G.c:9: m_G.c:13:8: error: expected ‘)’ before ‘/’ token double log2(double x); ^ make: *** [Makefile:54: trec_eval] Error 1

bobTabor25 commented 5 years ago

check this link : https://github.com/bobTabor25/trec_eval.exe