Hi, I had same problem at v1.2.0 on Mac OS X 10.12.1.
I solved it by following instructions.
If you follow the error log then you can find out that below script is the
problem.
/Users/Shared/dev/sdks/iotivity/iotivity-1.2.0/extlibs/boost/SConscript
And find these lines from the script file.
if host_os == 'linux2' :
boost_bootstrap = boost_base_name+os.sep+'bootstrap.sh'
else :
msg="Host platform (%s) is currently not supported for boost
builds" % host_os
raise SCons.Errors.EnvironmentError(msg)
You see, There is no MacOS consideration. So it will going to be failed
always on mac os x.
Besides fail message is not shown.
It seems 'raise SCons.Errors.EnvironmentError(msg)' is not working. So real
reason of error is buried.
So I added macosx consideration (darwin) temporary.
if host_os == 'linux2' :
boost_bootstrap = boost_base_name+os.sep+'bootstrap.sh'
elif host_os =='darwin':
boost_bootstrap = boost_base_name+os.sep+'bootstrap.sh'
else :
msg="Host platform (%s) is currently not supported for boost
builds" % host_os
raise SCons.Errors.EnvironmentError(msg)
In my case, after this you'll get another error while you are downloading
boost library.
So just download version of boost library that the script file specifies (
1.58.0 ) manually, and copy zip file into your boost build folder.
ex) /Users/Shared/dev/sdks/iotivity/iotivity-1.2.0/extlibs/boost/
----------------
after all I'm stuck in these lines.
resource/csdk/security/src/aclresource.c:628:24: error: 'CborEncoder' has
no member named 'ptr'
*size = encoder.ptr - outPayload;
^
resource/csdk/security/src/aclresource.c:640:27: error: 'CborEncoder' has
no member named 'ptr'
cborLen += encoder.ptr - encoder.end;
-------------- next part --------------
HTML ?????? ??????????????...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161202/20c13171/attachment.html>