To Thiago Macieira
No, I don`t think so, ndk which installed on my machine is not broken.
I install Ubuntu 14.04 on my personal desktop at home(not vmware) for test
on clean env and try build with ndk-r13b.
But i got same result, see below.
================================================
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: out/android/armeabi/release
Compiling
out/android/armeabi/release/build_common/android/compatibility/android_cpp11_compat.cpp.o
In file included from
/home/bgchun/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40:0,
from
/home/bgchun/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include/iosfwd:40,
from
/home/bgchun/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include/ios:38,
from
/home/bgchun/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include/istream:38,
from
/home/bgchun/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include/sstream:38,
from
build_common/android/compatibility/android_cpp11_compat.cpp:1:
/home/bgchun/android-ndk-r13b/sources/cxx-stl/gnu-libstdc++/4.9/include/cwchar:44:19:
fatal error: wchar.h: No such file or directory
#include <wchar.h>
^
compilation terminated.
scons: ***
[out/android/armeabi/release/build_common/android/compatibility/android_cpp11_compat.cpp.o]
Error 1
scons: building terminated because of errors.
================================================
When i try build with ndk-r10e it working well.
I think this is build issue, but i have no idea why it happened.
2017-02-25 1:07 GMT+09:00 Thiago Macieira <thiago.macieira at intel.com>:
> On sexta-feira, 24 de fevereiro de 2017 00:21:09 PST ??? wrote:
> > Below is tested ndk list.
> > I think there are changes that cause problems with ndk-r11 update.
> >
> > android-ndk-r10d => working
> > android-ndk-r10e => working
> > android-ndk-r11c => Not working / fatal error: wchar.h: No such file or
> > directory android-ndk-r12b => Not working / fatal error: wchar.h: No such
> > file or directory android-ndk-r13b => Not working / fatal error: wchar.h:
> > No such file or directory android-ndk-r14-beta2 => Not working / fatal
> > error: wchar.h: No such file or directory
>
> The error you showed was an error inside libstdc++. The IoTivity code only
> did:
>
> #include <sstream>
>
> Sorry, your NDK is broken. It doesn't matter where you downloaded it from,
> if
> it can't compile that one line, it's broken.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
> Software Architect - Intel Open Source Technology Center
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170225/0cd06a7e/attachment.html>