Hi, I installed libcurl, but still its showing the same Error but when I verified , its due to boost library which is not present extlibs/boost/, I coped manually and replaced in that folder. later build went further and again showing error of
FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':base:processDebugResources'. > A problem occurred starting process 'command '/media/srinivas/DATA/IotClient/iotivity-1.2.1/extlibs/android/sdk/android-sdk-linux/build-tools/20.0.0/aapt'' * Try: Run with --info or --debug option to get more log output. * Exception is: org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':base:processDebugResources'. Caused by: java.io.IOException: Cannot run program "/media/srinivas/DATA/IotClient/iotivity-1.2.1/extlibs/android/sdk/android-sdk-linux/build-tools/20.0.0/aapt" (in directory "/media/srinivas/DATA/IotClient/iotivity-1.2.1/android/android_api/base"): error=2, No such file or directory at net.rubygrapefruit.platform.internal.DefaultProcessLauncher.start(DefaultProcessLauncher.java:25) ... 3 more Caused by: java.io.IOException: error=2, No such file or directory ... 4 more On Fri, Mar 10, 2017 at 1:38 PM, JongWoon Lee <sharkvary at gmail.com> wrote: > Hi. > > You needs to install libcurl library. > > Follow these instructions to install. > > $ sudo apt-get install libcurl4-openssl-dev > $ sudo ldconfig > > > > > 2017-03-10 15:53 GMT+09:00 Srinivas Rao <srinivas.esr at gmail.com>: > >> Hi, >> >> I downloaded latest Iotivity code from https://www.iotivity.org/downloads. >> and building it for android target OS with the command - scons TARGET_OS= >> android , but facing error like below. >> >> *********************************** 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. >> ************************************************************ >> ******************* >> >> can anyone plz suggest to solve it >> >> -- >> Regards, >> Srinivas >> >> _______________________________________________ >> iotivity-dev mailing list >> iotivity-dev at lists.iotivity.org >> https://lists.iotivity.org/mailman/listinfo/iotivity-dev >> >> > -- Regards, Srinivas Rao Elchuri -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170310/12570ada/attachment.html>
