Do you have the libcurl development package installed on your system (as hinted 
by the error message)?

Geoffroy

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of nicolas ppelis
Sent: Tuesday, January 31, 2017 10:59 AM
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Build Problem

I have a problem building an android/linux IoTivity Project (last ver.) on 
Linux Mint.

------------------------------------------------------------------------------------------------------------------------------------
Checking for C library curl... (cached) no
X
*********************************** 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.
*******************************************************************************

easysetup_path .
Files path is ['./src/EnrolleeSecurity.cpp', 'src/RemoteEnrollee.cpp', 
'src/EnrolleeResource.cpp', 'src/CloudResource.cpp', 'src/EasySetup.cpp', 
'src/ESException.cpp']
scons: done reading SConscript files.
scons: Building targets ...
scons: building associated VariantDir targets: out/android/x86/release
Compiling 
out/android/x86/release/build_common/android/compatibility/android_cpp11_compat.cpp.o
In file included from 
/home/user/Downloads/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/bits/postypes.h:40:0,
                 from 
/home/user/Downloads/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/iosfwd:40,
                 from 
/home/user/Downloads/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/ios:38,
                 from 
/home/user/Downloads/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/istream:38,
                 from 
/home/user/Downloads/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include/sstream:38,
                 from 
build_common/android/compatibility/android_cpp11_compat.cpp:1:
/home/user/Downloads/android-ndk/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/x86/release/build_common/android/compatibility/android_cpp11_compat.cpp.o]
 Error 1
scons: building terminated because of errors.
-----------------------------------------------------------------------------------------------------------------------------------------

How I can deal with that.

Regards,
   Nicolas Ppelis
The contents of this email message and any attachments are intended solely for 
the addressee(s)and may contain confidential and/or privileged information and 
may be legally protected from disclosure. If you are not the intended recipient 
of this message or their agent, or if this message has been addressed to you in 
error, please immediately alert the sender by reply email and then delete this 
message. If you are not the intended recipient, you are hereby notified that 
any use, dissemination, copying, or storage of this message or its attachments 
is strictly prohibited.

[Please consider the environment before printing]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170131/54e3dcc9/attachment.html>

Reply via email to