[Android-development] Error compiling QLucene

Rutledge Shawn Shawn.Rutledge at digia.com
Thu Apr 11 08:13:47 CEST 2013


I have it too.  Did you write a bug yet?

At least it only affects assistant, but running assistant on a tablet would be kindof handy.  ;-)

On 10 Apr 2013, at 3:23 PM, Rangel Reale wrote:

> Compiling 5.1.0-alpha for Android in Ubuntu 12.04, using NDK r8d, I get this compilation error in Clucene:
> 
> make[4]: Entering directory `/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qttools/src/assistant/clucene'
> /home/rreale/Documents/prog/src/android-ndk-r8d/toolchains/arm-linux-androideabi-4.7/prebuilt/linux-x86/bin/arm-linux-androideabi-g++ -c -Wno-psabi -march=armv7-a -mfloat-abi=softfp -mfpu=vfp -ffunction-sections -funwind-tables -fstack-protector -fno-short-enums -DANDROID -Wa,--noexecstack -std=gnu++0x -fexceptions -g -g -marm -O0 -fno-omit-frame-pointer -fvisibility=hidden -fvisibility-inlines-hidden -Wno-psabi -D_REENTRANT -fPIC -DQT_NO_PRINTDIALOG -DQT_NO_LIBUDEV -DQT_NO_XCB -DQT_BUILD_CLUCENE_LIB -DQT_BUILDING_QT -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x050000 -D_BUILD_FOR_QT_ -DLUCENE_DISABLE_MEMTRACKING -DQT_CORE_LIB -I/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qtbase/mkspecs/android-g++ -I. -I/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qtbase/include -I/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qtbase/include/QtCLucene -I/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qtbase/include/QtCLucene/5.1.0 -I/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qtbase/include/QtCLucene/5.1.0/QtCLucene -I. -I.. -I../3rdparty/clucene/src/CLucene -I../3rdparty/clucene/src -I../3rdparty/clucene/src/CLucene/analysis -I../3rdparty/clucene/src/CLucene/analysis/standard -I../3rdparty/clucene/src/CLucene/config -I../3rdparty/clucene/src/CLucene/debug -I../3rdparty/clucene/src/CLucene/document -I../3rdparty/clucene/src/CLucene/index -I../3rdparty/clucene/src/CLucene/queryParser -I../3rdparty/clucene/src/CLucene/search -I../3rdparty/clucene/src/CLucene/store -I../3rdparty/clucene/src/CLucene/util -I/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qtbase/include/QtCore -I.moc/debug-shared -I/home/rreale/Documents/prog/src/android-ndk-r8d/sources/cxx-stl/gnu-libstdc++/4.7/include -I/home/rreale/Documents/prog/src/android-ndk-r8d/sources/cxx-stl/gnu-libstdc++/4.7/libs/armeabi-v7a/include -I/home/rreale/Documents/prog/src/android-ndk-r8d/platforms/android-9/arch-arm/usr/include -o .obj/debug-shared/DateField.o ../3rdparty/clucene/src/CLucene/document/DateField.cpp
> ../3rdparty/clucene/src/CLucene/document/DateField.cpp: In static member function 'static int64_t lucene::document::DateField::stringToTime(const wchar_t*)':
> ../3rdparty/clucene/src/CLucene/document/DateField.cpp:57:33: error: 'wcstoll' was not declared in this scope
> make[4]: *** [.obj/debug-shared/DateField.o] Error 1
> make[4]: Leaving directory `/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qttools/src/assistant/clucene'
> make[3]: *** [sub-clucene-make_first-ordered] Error 2
> make[3]: Leaving directory `/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qttools/src/assistant'
> make[2]: *** [sub-assistant-make_first-ordered] Error 2
> make[2]: Leaving directory `/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qttools/src'
> make[1]: *** [sub-src-make_first] Error 2
> make[1]: Leaving directory `/home/rreale/Documents/prog/src/qt-everywhere-opensource-src-5.1.0-alpha/qttools'
> make: *** [module-qttools-make_first] Error 2
> 
> _______________________________________________
> Android-development mailing list
> Android-development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/android-development




More information about the Android-development mailing list