[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    CLucene version for strigi should be =0.9.16 ?
From:       Jason Harris <jharris () 30doradus ! org>
Date:       2007-03-20 14:14:43
Message-ID: 200703200714.43082.jharris () 30doradus ! org
[Download RAW message or body]

Hello,

When compiling strigi with CLucene-0.9.17, I get the following error:

/home/jharris/kde4svn/kdesupport/strigi/src/luceneindexer/cluceneindexreader.cpp: 
In
   member function `virtual std::vector<std::string,
   std::allocator<std::string> > CLuceneIndexReader::getFieldNames()':
/home/jharris/kde4svn/kdesupport/strigi/src/luceneindexer/cluceneindexreader.cpp:527: 
error: no
   matching function for call to `lucene::index::IndexReader::getFieldNames()'
/usr/include/CLucene/index/IndexReader.h:158: error: candidates are: virtual
   void
   
lucene::index::IndexReader::getFieldNames(lucene::index::IndexReader::FieldOption,
   lucene::util::StringArrayWithDeletor&)
make[2]: *** 
[src/luceneindexer/CMakeFiles/cluceneindex.dir/cluceneindexreader.o] Error 1
make[1]: *** [src/luceneindexer/CMakeFiles/cluceneindex.dir/all] Error 2
make: *** [all] Error 2

If I downgrade to CLucene-0.9.16a, this error is resolved.  It looks like the 
CLucene API changed between 0.9.16 and 0.9.17.  I guess the version 
recommended by cmake should be =0.9.16, rather than >=0.9.16 ?

thanks,
Jason

-- 
Jason Harris
jharris@30doradus.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic