I don't have a windows machine to try this out, so i'm guessing a bit... i did get it working a while back... but you know how these things go
looks like there's something wrong with the _T symbol... The line: const TCHAR* _LUCENE_BLANK_STRING=_T(""); _T("") should be returning actually L"". There are some things that those clucene-config.h file do if it think it needs to. I'm not sure if ming has tchar.h (which normally defines _T on windows)? can you give me your src/shared/CLucene/_clucene-config.h, clucene-config.h in your build directory. i'm looking for what it does with the _T symbol.. also let me know if there is a tchar.h in the mingw include path Cheers ben On Thu, Jan 6, 2011 at 8:37 PM, Ahmed Saidi <ci7nu...@gmail.com> wrote: > Here is what cmake print out: > http://pastebin.com/4KPZeFbB > mingw32-make: > http://pastebin.com/JFX5XzJX > > I am using the mingw version distributed along with qt 4.7 > > Ahmed > 2011/1/6 Ben van Klinken <bvanklin...@gmail.com> >> >> did you configure using cmake? what did cmake print out? turn on >> verbose (run cmake using -DCMAKE_VERBOSE_MAKEFILE=ON), or use the >> cmake gui. so that we can see what parameters are being passed in. >> looks to me like ming is being compiled in ascii mode. >> >> ben >> >> On Tue, Jan 4, 2011 at 7:28 PM, Ahmed nusha <ci7nu...@gmail.com> wrote: >> > I'm trying to compile clucene under windows and i get the following >> > errors: >> > >> > C:\clucene_mingw-build>mingw32-make >> > [ 0%] Building CXX object >> > src/shared/CMakeFiles/clucene-shared.dir/CLucene/SharedHeader.obj >> > C:\clucene\src\shared\CLucene\SharedHeader.cpp:16: error: cannot convert >> > 'const char*' to 'const TCHAR*' in initialization >> > mingw32-make[2]: *** >> > [src/shared/CMakeFiles/clucene-shared.dir/CLucene/SharedHeader.obj] >> > Error 1 >> > mingw32-make[1]: *** [src/shared/CMakeFiles/clucene-shared.dir/all] >> > Error 2 >> > mingw32-make: *** [all] Error 2 >> > >> > what is the problem? >> > >> > Ahmed. >> > >> > Itamar Syn-Hershko <ita...@...> writes: >> > >> >> >> >> It should compile with MingW. What compile errors do you get? >> >> >> >> Itamar. >> >> >> >> On 1/8/2010 10:17 PM, Ahmed wrote: >> >> > hi, >> >> > >> >> > Can compile CLucene 2.3.2 under windows using MingW ? >> >> > I tried that and i get a lot of errors. >> >> > >> >> > Ahmed >> >> > >> >> > >> >> > >> >> > >> >> > ------------------------------------------------------------------------------ >> >> > The Palm PDK Hot Apps Program offers developers who use the >> >> > Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> >> > of $1 Million in cash or HP Products. Visit us here for more details: >> >> > http://p.sf.net/sfu/dev2dev-palm >> >> > _______________________________________________ >> >> > CLucene-developers mailing list >> >> > clucene-develop...@... >> >> > https://lists.sourceforge.net/lists/listinfo/clucene-developers >> >> > >> >> > >> >> > >> >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> >> The Palm PDK Hot Apps Program offers developers who use the >> >> Plug-In Development Kit to bring their C/C++ apps to Palm for a share >> >> of $1 Million in cash or HP Products. Visit us here for more details: >> >> http://p.sf.net/sfu/dev2dev-palm >> >> >> > >> > >> > >> > ------------------------------------------------------------------------------ >> > Learn how Oracle Real Application Clusters (RAC) One Node allows >> > customers >> > to consolidate database storage, standardize their database environment, >> > and, >> > should the need arise, upgrade to a full multi-node Oracle RAC database >> > without downtime or disruption >> > http://p.sf.net/sfu/oracle-sfdevnl >> > _______________________________________________ >> > CLucene-developers mailing list >> > CLucene-developers@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/clucene-developers >> > >> > >> >> >> ------------------------------------------------------------------------------ >> Learn how Oracle Real Application Clusters (RAC) One Node allows customers >> to consolidate database storage, standardize their database environment, >> and, >> should the need arise, upgrade to a full multi-node Oracle RAC database >> without downtime or disruption >> http://p.sf.net/sfu/oracle-sfdevnl >> _______________________________________________ >> CLucene-developers mailing list >> CLucene-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/clucene-developers > > > ------------------------------------------------------------------------------ > Learn how Oracle Real Application Clusters (RAC) One Node allows customers > to consolidate database storage, standardize their database environment, > and, > should the need arise, upgrade to a full multi-node Oracle RAC database > without downtime or disruption > http://p.sf.net/sfu/oracle-sfdevnl > _______________________________________________ > CLucene-developers mailing list > CLucene-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/clucene-developers > > ------------------------------------------------------------------------------ Gaining the trust of online customers is vital for the success of any company that requires sensitive data to be transmitted over the Web. Learn how to best implement a security strategy that keeps consumers' information secure and instills the confidence they need to proceed with transactions. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ CLucene-developers mailing list CLucene-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/clucene-developers