I'm using CLucene from git, just forget about qt.
i have comiled clucene (using mingw)  on another computer and it
compile correctly, but on my computer i get this problem.

Ahmed

2011/1/14, Ben van Klinken <bvanklin...@gmail.com>:
> Perhaps asking Qt might be better? If they have made changes to
> CLucene then they should know what's wrong
>
> Ben
>
> On Wed, Jan 12, 2011 at 7:56 PM, Ahmed Saidi <ci7nu...@gmail.com> wrote:
>> Yes, i want to use the unicode version.
>> When installing Qt SDK, it install mingw, any way i have just
>> installed the last mingw version from their website but stell have the
>> same problem.
>>
>> Ahmed
>>
>> 2011/1/12, Ben van Klinken <bvanklin...@gmail.com>:
>>> ok, good. But i suspect you want to build in unicode mode?
>>>
>>> looks pretty good to me - tchar and _T isn't being touched - so
>>> default tchar.h behaviour should be that TCHAR is defined as wchar_t
>>> and _T as L ## x
>>>
>>> but reading back your mail - what do you mean the 'qt version'? I'm
>>> not aware of what QT did with clucene?
>>>
>>> ben
>>>
>>> On Tue, Jan 11, 2011 at 9:00 PM, Ahmed Saidi <ci7nu...@gmail.com> wrote:
>>>> here is _clucene-config.h:
>>>> http://pastebin.com/Yb8mNkiK
>>>> and clucene-config.h:
>>>> http://pastebin.com/YuSnMpm9
>>>>
>>>> i think that ming has a tchar.h, because cmake print this:
>>>> Looking for C++ include tchar.h - found
>>>>
>>>> if i enable acsii mode it compile correctly
>>>>
>>>> 2011/1/10 Ben van Klinken <bvanklin...@gmail.com>
>>>>>
>>>>> 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 <itamar@...> 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-developers@...
>>>>> >> >> > 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
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> 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
>>>>
>>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Protect Your Site and Customers from Malware Attacks
>>> Learn about various malware tactics and how to avoid them. Understand
>>> malware threats, the impact they can have on your business, and how you
>>> can protect your company and customers by using code signing.
>>> http://p.sf.net/sfu/oracle-sfdevnl
>>> _______________________________________________
>>> CLucene-developers mailing list
>>> CLucene-developers@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>>>
>>
>> --
>> Envoyé avec mon mobile
>>
>> ------------------------------------------------------------------------------
>> Protect Your Site and Customers from Malware Attacks
>> Learn about various malware tactics and how to avoid them. Understand
>> malware threats, the impact they can have on your business, and how you
>> can protect your company and customers by using code signing.
>> http://p.sf.net/sfu/oracle-sfdevnl
>> _______________________________________________
>> CLucene-developers mailing list
>> CLucene-developers@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> CLucene-developers mailing list
> CLucene-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/clucene-developers
>

-- 
Envoyé avec mon mobile

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
CLucene-developers mailing list
CLucene-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/clucene-developers

Reply via email to