dear all,
Hello,
I?m a beginner of android, linux, Arduino.
But I?m trying iotivity for myself to be a SW engineer.
I have a problem that compile android platform that is indicated
?~/iotivity/service\easy-setup\Build_Instructions_Android_Arduino.txt?
while I?m trying easy setup.
The build steps are,
1) Compilation using Scons
0) Prerequisite exports for Android
export ANDROID_HOME=<ANDROID_HOME>
export ANDROID_NDK=<ANDROID_NDK>
a) In the IoTivity root source folder execute
scons TARGET_OS=android TARGET_ARCH=armeabi TARGET_TRANSPORT=IP
ES_ROLE=mediator ES_TARGET_ENROLLEE=arduino RELEASE=0
????.
When I tried ?a)? step, errors are occurred.
two info are shown
1. Android NDK path isn't set, the default will be used. You can set
environment variable ANDROID_NDK or add it in command line as : scons
ANDROID_NDK=<path to android NDK> ...
2. Android Gradle path isn't set, the default will be used. You can set
environment variable ANDROID_GRADLE or add it in command line as: scons
ANDROID_GRADLE=<path to android GRADLE>
So I did ?scons ANDROID_NDK=/home/friend117/Android/Sdk/ndk-bundle? then,
next error is shown.
service/resource-encapsulation/src/common/primitiveResource/unittests/ResourceAttributesTest.cpp:80:5:
required from here
/usr/local/include/boost/utility/addressof.hpp:59:47: error: call of
overloaded 'f(boost::detail::addr_impl_ref<std::nullptr_t>, int)' is
ambiguous
return boost::detail::addressof_impl<T>::f(
boost::detail::addr_impl_ref<T>
what should I do for next step?
And what is this error? It always shown even if I did ?sudo apt-get install
libcurl4-openssl-dev?
*********************************** Error
*************************************
* Cannot build hue sample. Please install libcurl.
* Example (Ubuntu):
* sudo apt-get install libcurl4-openssl-dev
* sudo ldconfig
* Hint: check with pkg-config --libs libcurl and clear scons cache.
* Skipping hue sample build.
Please help beginner!!!!!
-------------- next part --------------
HTML ?????? ??????????????...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160508/6e14009e/attachment.html>