Hi Celto, I'm sorry. I was distracted by other things from your e-mail.
2011/10/17 cel tix44 <celti...@gmail.com>: > Veit > A couple of minor problems in the latest update --- > 1) When generating code, CMAKE throws this error: > CMake Error at src/core/CMakeLists.txt:194 (add_library): > Cannot find source file: > ./CLucene/util/workaround/vc6/operators.cpp > This is because the WORKAROUND folder sits under CLUCENE, not under UTIL. > To fix, open src/core/CMakeLists.txt and remove UTIL\ from line 178 and 179, > so that they read: > IF (${MSVC_VERSION} EQUAL "1200") > SET(clucene_workaround_Files ./CLucene/workaround/vc6/operators.cpp) > SET(HEADERS_workaround ./CLucene/workaround/vc6/operators.h) > ENDIF () Done. > 2) SegmentInfos.cpp compiles with these errors: > D:\cl_2334_git_master\src\core\CLucene/workaround/vc6/operators.h(12) : > error C2653: 'std' : is not a class or namespace name > D:\cl_2334_git_master\src\core\CLucene/workaround/vc6/operators.h(12) : > error C2143: syntax error : missing ';' before '&' > ...etc. > To fix, open operators.h and add #include <iostream> above std::ostream&, so > that the file reads: > #include <iostream> > std::ostream& operator << (std::ostream& os, __int64 i); > With these corrections, CORE & SHARED compile okay. Done. > 3) A question re: _lucene_workaround_vc6_DocumentsWriter_ in operators.h, > please -- the file currently reads: > #ifndef _lucene_workaround_vc6_DocumentsWriter_ > .... implement the fix for vc6 > #endif > In which situation would _lucene_workaround_vc6_DocumentsWriter_ need to be > defined to get the fix for vc6 suppressed ? This should be a guard macro, but forgot the #define. Thanks for pointing these errors out. I hope everything works now with VC6. Kind regards, Veit ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers