How to build necessitas using stlport not gnustaticstl

gujx gujx at cn.fujitsu.com
Fri Dec 28 03:45:42 UTC 2012


Hello,

I am a software engineer, and want to build your necessitas source with
stl-port in ndkr6b (it uses gnu-stl default) on Ubuntu.
I just tried to modify the file mkspecs/android-g++/qmake.conf from :
ANDROID_SOURCES_CXX_STL_LIBDIR =
$$NDK_ROOT/sources/cxx-stl$$ANDROID_CXXSTL_SUFFIX/gnu-libstdc++/libs/$$ANDRO
ID_TARGET_ARCH
ANDROID_SOURCES_CXX_STL_INCDIR =
$$NDK_ROOT/sources/cxx-stl$$ANDROID_CXXSTL_SUFFIX/gnu-libstdc++/include
$$ANDROID_SOURCES_CXX_STL_LIBDIR/include

To

ANDROID_SOURCES_CXX_STL_LIBDIR =
$$NDK_ROOT/sources/cxx-stl$$ANDROID_CXXSTL_SUFFIX/stlport/libs/$$ANDROID_TAR
GET_ARCH
ANDROID_SOURCES_CXX_STL_INCDIR =
$$NDK_ROOT/sources/cxx-stl$$ANDROID_CXXSTL_SUFFIX/stlport/stlport
$$ANDROID_SOURCES_CXX_STL_LIBDIR/include

After I did this, when I build necessitas, it turned out that stl configure
of necessitas be set to no.
The make of File: android-lighthouse/config.tests/unix/stl/stltest.cpp was
failed. 

And can you give me even a tip of how to build necessitas with stl-port??
Looking forward your answer.

Best wishes!


--------------------------------------------------
Gu Jinxiang
--------------------------------------------------




More information about the Necessitas-devel mailing list