SPTAG icon indicating copy to clipboard operation
SPTAG copied to clipboard

cmake mistake

Open pclin1212 opened this issue 6 years ago • 4 comments

Hi, when i first cmake the file, it occurs a mistake: SPTAG-master/AnnService/src/Core/BKT/BKTIndex.cpp:260:39: error: expected primary-expression before ‘>’ token ptr->m_pTrees.BuildTrees<T>(ptr);

How do i solve it ?

pclin1212 avatar Dec 13 '19 11:12 pclin1212

The problem lead to the template in this "ptr->m_pTrees.BuildTrees<T>(ptr);"

pclin1212 avatar Dec 13 '19 11:12 pclin1212

ptr->m_pTrees.BuildTrees < T >(ptr);

pclin1212 avatar Dec 13 '19 11:12 pclin1212

@pclin1212 It is fixed in the newest version of master.

MaggieQi avatar Dec 19 '19 08:12 MaggieQi

Seems like this issue can be closed?

pabs3 avatar May 02 '21 04:05 pabs3