At least the qt build error has nothing to do with CMake, qt uses its own qmake and not CMake.<div><br></div><div>The output from building qt indicates you are using mingw32 but the output from strigi indicates you are using msvc so if you changes the compiler you have to rebuild everything.</div>

<div><br></div><div>Regards,</div><div><br></div><div>Patrick</div><div><br><br><div class="gmail_quote">2010/1/22 Michael Edwardes <span dir="ltr">&lt;<a href="mailto:Michael.Edwardes@yardi.com">Michael.Edwardes@yardi.com</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
Is this actually a CMake bug, it seems to be complaining about unresolved externals which would indicate a setup error?  Please see below for the errors and the attached file for the emerge output.<br>
<br>
Thanks,<br>
Michael<br>
<br>
Linking CXX shared module msvc_strigiindex_clucene.dll<br>
   Creating library clucene.lib and object clucene.exp<br>
cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall lucene::index::Term::Term(unsigned short const *,unsigned short const *)&quot; (??0Term@index@lucene@@QAE@PBG0@Z) referenced in function &quot;public: static class lucene::index::Term * __cdecl CLuceneIndexReader::Private::createWildCardTerm(unsigned short const *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;)&quot; (?createWildCardTerm@Private@CLuceneIndexReader@@SAPAVTerm@index@lucene@@PBGABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)<br>


cluceneindexwriter.cpp.obj : error LNK2001: unresolved external symbol &quot;public: __thiscall lucene::index::Term::Term(unsigned short const *,unsigned short const *)&quot; (??0Term@index@lucene@@QAE@PBG0@Z)<br>
cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: unsigned short const * __thiscall lucene::analysis::Token::termText(void)const &quot; (?termText@Token@analysis@lucene@@QBEPBGXZ) referenced in function &quot;public: static class lucene::index::Term * __cdecl CLuceneIndexReader::Private::createTerm(unsigned short const *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;)&quot; (?createTerm@Private@CLuceneIndexReader@@SAPAVTerm@index@lucene@@PBGABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)<br>


cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: virtual class lucene::analysis::TokenStream * __thiscall lucene::analysis::standard::StandardAnalyzer::tokenStream(unsigned short const *,class lucene::util::Reader *)&quot; (?tokenStream@StandardAnalyzer@standard@analysis@lucene@@UAEPAVTokenStream@34@PBGPAVReader@util@4@@Z) referenced in function &quot;public: static class lucene::index::Term * __cdecl CLuceneIndexReader::Private::createTerm(unsigned short const *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;)&quot; (?createTerm@Private@CLuceneIndexReader@@SAPAVTerm@index@lucene@@PBGABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)<br>


cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall lucene::util::StringReader::StringReader(unsigned short const *)&quot;<br>
(??0StringReader@util@lucene@@QAE@PBG@Z) referenced in function &quot;public: static class lucene::index::Term * __cdecl CLuceneIndexReader::Private::createTerm(unsigned short const *,class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;)&quot; (?createTerm@Private@CLuceneIndexReader@@SAPAVTerm@index@lucene@@PBGABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z)<br>


cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: unsigned short const * __thiscall lucene::document::Document::get(unsigned short const *)const &quot; (?get@Document@document@lucene@@QBEPBGPBG@Z) referenced in function &quot;public: __int64 __thiscall CLuceneIndexReader::mTime(__int64)&quot; (?mTime@CLuceneIndexReader@@QAE_J_J@Z)<br>


cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: unsigned short const * __thiscall lucene::document::Field::name(void)&quot; (?name@Field@document@lucene@@QAEPBGXZ) referenced in function &quot;public: static void __cdecl CLuceneIndexReader::Private::addField(class lucene::document::Field *,class Strigi::IndexedDocument &amp;)&quot; (?addField@Private@CLuceneIndexReader@@SAXPAVField@document@lucene@@AAVIndexedDocument@Strigi@@@Z)<br>


cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: unsigned short * __thiscall lucene::document::Field::stringValue(void)&quot; (?stringValue@Field@document@lucene@@QAEPAGXZ) referenced in function &quot;public: static void __cdecl CLuceneIndexReader::Private::addField(class lucene::document::Field *,class Strigi::IndexedDocument &amp;)&quot; (?addField@Private@CLuceneIndexReader@@SAXPAVField@document@lucene@@AAVIndexedDocument@Strigi@@@Z)<br>


cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: unsigned short const * __thiscall lucene::index::Term::text(void)const &quot; (?text@Term@index@lucene@@QBEPBGXZ) referenced in function &quot;public: virtual class std::vector&lt;class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt;,class std::allocator&lt;class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; &gt; &gt; __thiscall CLuceneIndexReader::keywords(class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;,class std::vector&lt;class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt;,class std::allocator&lt;class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; &gt; &gt; const &amp;,unsigned int,unsigned int)&quot; (?keywords@CLuceneIndexReader@@UAE?AV?$vector@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@V?$allocator@V?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@2@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@3@ABV23@II@Z)<br>


cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol &quot;public: unsigned short const * __thiscall lucene::index::Term::field(void)const &quot; (?field@Term@index@lucene@@QBEPBGXZ) referenced in function &quot;public: class std::vector&lt;class Strigi::IndexedDocument,class std::allocator&lt;class Strigi::IndexedDocument&gt; &gt; __thiscall CLuceneIndexReader::Private::strigiSpecial(class std::basic_string&lt;char,struct std::char_traits&lt;char&gt;,class std::allocator&lt;char&gt; &gt; const &amp;)&quot; (?strigiSpecial@Private@CLuceneIndexReader@@QAE?AV?$vector@VIndexedDocument@Strigi@@V?$allocator@VIndexedDocument@Strigi@@@std@@@std@@ABV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@4@@Z)<br>


cluceneindexwriter.cpp.obj : error LNK2019: unresolved external symbol &quot;public: __thiscall lucene::document::Field::Field(unsigned short const *,unsigned short const *,int)&quot; (??0Field@document@lucene@@QAE@PBG0H@Z) referenced in function &quot;protected: static void __cdecl CLuceneIndexWriter::addValue(class Strigi::AnalysisResult const *,enum Strigi::AnalyzerConfiguration::FieldType,unsigned short const *,unsigned short const *)&quot; (?addValue@CLuceneIndexWriter@@KAXPBVAnalysisResult@Strigi@@W4FieldType@AnalyzerConfiguration@3@PBG2@Z)<br>


msvc_strigiindex_clucene.dll : fatal error LNK1120: 10 unresolved externals<br>
LINK Pass 1 failed. with 1120<br>
NMAKE : fatal error U1077: &#39;C:\kderoot\dev-utils\bin\cmake.exe&#39; : return code &#39;0xffffffff&#39;<br>
Stop.<br>
NMAKE : fatal error U1077: &#39;&quot;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe&quot;&#39; : return code &#39;0x2&#39;<br>
Stop.<br>
NMAKE : fatal error U1077: &#39;&quot;C:\Program Files\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe&quot;&#39; : return code &#39;0x2&#39;<br>
Stop.<br>
emerge fatal error: while running make cmd: nmake /NOLOGO<br>
emerge fatal error: running python c:\kderoot\emerge\portage\kdesupport\strigi\<a href="http://strigi-0.7.1.20100107.py" target="_blank">strigi-0.7.1.20100107.py</a> compile<br>
emerge error: fatal error: package kdesupport/strigi-0.7.1.20100107 all failed<br>
10:59 AM<br>
<div class="im"><br>
<br>
<br>
-----Original Message-----<br>
From: Michael Edwardes [mailto:<a href="mailto:Michael.Edwardes@Yardi.Com">Michael.Edwardes@Yardi.Com</a>]<br>
Sent: Friday, January 22, 2010 10:08 AM<br>
To: <a href="mailto:kde-windows@kde.org">kde-windows@kde.org</a><br>
</div><div><div></div><div class="h5">Subject: RE: mingw QT Compile - Input line too long<br>
<br>
Hi,<br>
<br>
I have cmake version 2.8.0 installed.  I will file a bug report shortly.<br>
<br>
Michael<br>
<br>
-----Original Message-----<br>
From: Alexander Neundorf [mailto:<a href="mailto:neundorf@kde.org">neundorf@kde.org</a>]<br>
Sent: Thursday, January 21, 2010 9:53 PM<br>
To: <a href="mailto:kde-windows@kde.org">kde-windows@kde.org</a><br>
Cc: Michael Edwardes<br>
Subject: Re: mingw QT Compile - Input line too long<br>
<br>
On Thursday 21 January 2010, Michael Edwardes wrote:<br>
&gt; Hi All,<br>
&gt;<br>
&gt; Im trying to compile KDE on windows and it fails during the compile of Qt,<br>
&gt; it seems the lines is too long for cmd.exe ?  (I have tried with non-free<br>
&gt; msvc2008 as well but it fails during the compile of strigi).<br>
<br>
Which version of cmake are you using ?<br>
If it&#39;s not 2.8.0, can you please check whether this still happens with<br>
2.8.0 ?<br>
If it is still there with CMake 2.8.0, please report it in the cmake<br>
bugtracker at <a href="http://public.kitware.com/Bugs" target="_blank">http://public.kitware.com/Bugs</a><br>
<br>
Alex<br>
_______________________________________________<br>
Kde-windows mailing list<br>
<a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-windows" target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br>
</div></div><br>_______________________________________________<br>
Kde-windows mailing list<br>
<a href="mailto:Kde-windows@kde.org">Kde-windows@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/kde-windows" target="_blank">https://mail.kde.org/mailman/listinfo/kde-windows</a><br>
<br></blockquote></div><br></div>