Team

I'm having trouble compiling clucene 2_3_2 in ASCII_MODE by using
Visual Studio 2008 v.9.

I downloaded the 2_3_2 branch from GIT and used CMAKE 2.6.4 to
configure it, overwriting defaults with:

CMAKE_USE_RELATIVE_PATHS = TRUE
DISABLE_MULTITHREADING = TRUE
ENABLE_ASCII_MODE = TRUE

With these options (effectively, if _ASCII is defined), building the
CL_DEMO solution throws the errors below.

Apologies for not offering a fix, I'm not able to resolve this myself.

Regards
Celto

Error   13      error C2259:
'lucene::util::SimpleInputStreamReader::Internal::JStreamsBuffer' :
cannot instantiate abstract
class   d:\cl_232\src\core\CLucene\util\Reader.cpp      388     clucene-core
Error   14      error C2664: 'lucene::util::BufferedStreamImpl<T>::read' :
cannot convert parameter 1 from 'const TCHAR *' to 'const wchar_t
*&'     d:\cl_232\src\core\CLucene\util\Reader.cpp      409     clucene-core
Error   16      error C2259:
'lucene::util::FilteredBufferedReader::Internal::JStreamsFilteredBuffer'
: cannot instantiate abstract
class   d:\cl_232\src\core\CLucene\util\Reader.cpp      456     clucene-core
Error   17      error C2664: 'lucene::util::BufferedStreamImpl<T>::read' :
cannot convert parameter 1 from 'const TCHAR *' to 'const wchar_t
*&'     d:\cl_232\src\core\CLucene\util\Reader.cpp      469     clucene-core
Error   25      error C2664: 'lucene_utf8towcs' : cannot convert parameter 1
from 'TCHAR *' to 'wchar_t
*'      d:\cl_232\src\core\CLucene\index\FieldsReader.cpp       299     
clucene-core
Error   26      error C2664: 'lucene_utf8towcs' : cannot convert parameter 1
from 'TCHAR *' to 'wchar_t
*'      d:\cl_232\src\core\CLucene\index\FieldsReader.cpp       449     
clucene-core
Error   45      error C2664: 'lucene_wcstoutf8string' : cannot convert
parameter 1 from 'const TCHAR *' to 'const wchar_t
*'      d:\cl_232\src\core\CLucene\index\FieldsWriter.cpp       169     
clucene-core
Error   46      error C2664: 'lucene_wcstoutf8string' : cannot convert
parameter 1 from 'const TCHAR *' to 'const wchar_t
*'      d:\cl_232\src\core\CLucene\index\FieldsWriter.cpp       176     
clucene-core

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to