This works for me. Thanks, Michael
-----Original Message----- From: Patrick Spendrin [mailto:ps...@gmx.de] Sent: Friday, January 22, 2010 12:27 PM To: KDE on Windows Subject: Re: mingw QT Compile - Input line too long -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Edwardes schrieb: > Hi, > > > > Ive actually got two build directories, kderoot for msvc2008 and (now) > kdem for mingw. This error is for msvc2008. (The mingw qt build is > happily chugging away at the moment!). Can you please update you emerge\portage\kdesupport\clucene-core directory to revision r1072323. Then please rebuild clucene-core & strigi. I am currently working on that issue. regards, Patrick > > > > Would the two build directories conflict? > > > > *From:* Patrick von Reth [mailto:patrick.vonr...@gmail.com] > *Sent:* Friday, January 22, 2010 11:28 AM > *To:* KDE on Windows > *Subject:* Re: mingw QT Compile - Input line too long > > > > At least the qt build error has nothing to do with CMake, qt uses its > own qmake and not CMake. > > > > 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. > > > > Regards, > > > > Patrick > > > > 2010/1/22 Michael Edwardes <michael.edwar...@yardi.com > <mailto:michael.edwar...@yardi.com>> > > Hi, > > 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. > > Thanks, > Michael > > Linking CXX shared module msvc_strigiindex_clucene.dll > Creating library clucene.lib and object clucene.exp > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: __thiscall lucene::index::Term::Term(unsigned short const > *,unsigned short const *)" (??0t...@index@lucene@@q...@pbg0@Z) referenced > in function "public: static class lucene::index::Term * __cdecl > CLuceneIndexReader::Private::createWildCardTerm(unsigned short const > *,class std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" > (?createwildcardt...@private@CLuceneIndexReader@@sapavt...@index@lucene@@pbgabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z) > cluceneindexwriter.cpp.obj : error LNK2001: unresolved external symbol > "public: __thiscall lucene::index::Term::Term(unsigned short const > *,unsigned short const *)" (??0t...@index@lucene@@q...@pbg0@Z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: unsigned short const * __thiscall > lucene::analysis::Token::termText(void)const " > (?termt...@token@analy...@lucene@@QBEPBGXZ) referenced in function > "public: static class lucene::index::Term * __cdecl > CLuceneIndexReader::Private::createTerm(unsigned short const *,class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" > (?createt...@private@CLuceneIndexReader@@sapavt...@index@lucene@@pbgabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: virtual class lucene::analysis::TokenStream * __thiscall > lucene::analysis::standard::StandardAnalyzer::tokenStream(unsigned short > const *,class lucene::util::Reader *)" > (?tokenstr...@standardanalyzer@stand...@analysis@lucene@@uaepavtokenstr...@34@pbgpavrea...@util@4@@Z) > referenced in function "public: static class lucene::index::Term * > __cdecl CLuceneIndexReader::Private::createTerm(unsigned short const > *,class std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" > (?createt...@private@CLuceneIndexReader@@sapavt...@index@lucene@@pbgabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: __thiscall lucene::util::StringReader::StringReader(unsigned > short const *)" > (??0stringrea...@util@lucene@@q...@pbg@Z) referenced in function "public: > static class lucene::index::Term * __cdecl > CLuceneIndexReader::Private::createTerm(unsigned short const *,class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" > (?createt...@private@CLuceneIndexReader@@sapavt...@index@lucene@@pbgabv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@std@@@Z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: unsigned short const * __thiscall > lucene::document::Document::get(unsigned short const *)const " > (?...@document@docum...@lucene@@qbepbg...@z) referenced in function > "public: __int64 __thiscall CLuceneIndexReader::mTime(__int64)" > (?mt...@cluceneindexreader@@qae_...@z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: unsigned short const * __thiscall > lucene::document::Field::name(void)" > (?n...@field@docum...@lucene@@QAEPBGXZ) referenced in function "public: > static void __cdecl CLuceneIndexReader::Private::addField(class > lucene::document::Field *,class Strigi::IndexedDocument &)" > (?addfi...@private@CLuceneIndexReader@@saxpavfi...@document@lucene@@aavindexeddocum...@strigi@@@Z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: unsigned short * __thiscall > lucene::document::Field::stringValue(void)" > (?stringva...@field@docum...@lucene@@QAEPAGXZ) referenced in function > "public: static void __cdecl CLuceneIndexReader::Private::addField(class > lucene::document::Field *,class Strigi::IndexedDocument &)" > (?addfi...@private@CLuceneIndexReader@@saxpavfi...@document@lucene@@aavindexeddocum...@strigi@@@Z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: unsigned short const * __thiscall > lucene::index::Term::text(void)const " > (?t...@term@in...@lucene@@QBEPBGXZ) referenced in function "public: > virtual class std::vector<class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >,class > std::allocator<class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > > > __thiscall > CLuceneIndexReader::keywords(class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > const &,class > std::vector<class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> >,class > std::allocator<class std::basic_string<char,struct > std::char_traits<char>,class std::allocator<char> > > > const &,unsigned > int,unsigned int)" > (?keywo...@cluceneindexreader@@uae?av?$vec...@v?$basic_string@du?$char_tra...@d@std@@v?$alloca...@d@2@@std@@v?$alloca...@v?$basic_string@du?$char_tra...@d@std@@v?$alloca...@d@2@@std@@@2@@std@@abv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@3...@abv23@i...@z) > cluceneindexreader.cpp.obj : error LNK2019: unresolved external symbol > "public: unsigned short const * __thiscall > lucene::index::Term::field(void)const " > (?fi...@term@in...@lucene@@QBEPBGXZ) referenced in function "public: > class std::vector<class Strigi::IndexedDocument,class > std::allocator<class Strigi::IndexedDocument> > __thiscall > CLuceneIndexReader::Private::strigiSpecial(class > std::basic_string<char,struct std::char_traits<char>,class > std::allocator<char> > const &)" > (?strigispec...@private@CLuceneIndexReader@@qae?av?$vec...@vindexeddocument@Strigi@@v?$alloca...@vindexeddocument@Strigi@@@std@@@std@@abv?$basic_str...@du?$char_traits@d...@std@@v?$alloca...@d@2@@4@@Z) > cluceneindexwriter.cpp.obj : error LNK2019: unresolved external symbol > "public: __thiscall lucene::document::Field::Field(unsigned short const > *,unsigned short const *,int)" (??0fi...@document@lucene@@q...@pbg0h@Z) > referenced in function "protected: static void __cdecl > CLuceneIndexWriter::addValue(class Strigi::AnalysisResult const *,enum > Strigi::AnalyzerConfiguration::FieldType,unsigned short const *,unsigned > short const *)" > (?addva...@cluceneindexwriter@@kaxpbvanalysisres...@strigi@@w4fieldt...@analyzerconfiguration@3...@pbg2@Z) > msvc_strigiindex_clucene.dll : fatal error LNK1120: 10 unresolved externals > LINK Pass 1 failed. with 1120 > NMAKE : fatal error U1077: 'C:\kderoot\dev-utils\bin\cmake.exe' : return > code '0xffffffff' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\nmake.exe"' : return code '0x2' > Stop. > NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio > 9.0\VC\BIN\nmake.exe"' : return code '0x2' > Stop. > emerge fatal error: while running make cmd: nmake /NOLOGO > emerge fatal error: running python > c:\kderoot\emerge\portage\kdesupport\strigi\strigi-0.7.1.20100107.py > <http://strigi-0.7.1.20100107.py> compile > emerge error: fatal error: package kdesupport/strigi-0.7.1.20100107 all > failed > 10:59 AM > > > > > -----Original Message----- > From: Michael Edwardes [mailto:michael.edwar...@yardi.com > <mailto:michael.edwar...@yardi.com>] > Sent: Friday, January 22, 2010 10:08 AM > To: kde-windows@kde.org <mailto:kde-windows@kde.org> > > Subject: RE: mingw QT Compile - Input line too long > > Hi, > > I have cmake version 2.8.0 installed. I will file a bug report shortly. > > Michael > > -----Original Message----- > From: Alexander Neundorf [mailto:neund...@kde.org <mailto:neund...@kde.org>] > Sent: Thursday, January 21, 2010 9:53 PM > To: kde-windows@kde.org <mailto:kde-windows@kde.org> > Cc: Michael Edwardes > Subject: Re: mingw QT Compile - Input line too long > > On Thursday 21 January 2010, Michael Edwardes wrote: >> Hi All, >> >> Im trying to compile KDE on windows and it fails during the compile of Qt, >> it seems the lines is too long for cmd.exe ? (I have tried with non-free >> msvc2008 as well but it fails during the compile of strigi). > > Which version of cmake are you using ? > If it's not 2.8.0, can you please check whether this still happens with > 2.8.0 ? > If it is still there with CMake 2.8.0, please report it in the cmake > bugtracker at http://public.kitware.com/Bugs > > Alex > _______________________________________________ > Kde-windows mailing list > Kde-windows@kde.org <mailto:Kde-windows@kde.org> > https://mail.kde.org/mailman/listinfo/kde-windows > > > _______________________________________________ > Kde-windows mailing list > Kde-windows@kde.org <mailto:Kde-windows@kde.org> > https://mail.kde.org/mailman/listinfo/kde-windows > > > > > ------------------------------------------------------------------------ > > _______________________________________________ > Kde-windows mailing list > Kde-windows@kde.org > https://mail.kde.org/mailman/listinfo/kde-windows -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (MingW32) iEYEARECAAYFAktZmagACgkQi49rfdk/G3YXZgCeK22Y+GzmMWUXwPQm4cLuBc8x bFYAoLVYEg1ksr0Squ+nDcpCJu0Cio9J =9xJq -----END PGP SIGNATURE----- _______________________________________________ Kde-windows mailing list Kde-windows@kde.org https://mail.kde.org/mailman/listinfo/kde-windows _______________________________________________ Kde-windows mailing list Kde-windows@kde.org https://mail.kde.org/mailman/listinfo/kde-windows