Thank you very much! 2016-12-02 19:15 GMT+09:00 Shuvradeb Barman Srijon <srijon.sb at samsung.com>:
> Hi Mr. Choi, > > Please clone tinycbor using the below command and rebuild, this trick > works for me > > git clone https://github.com/01org/tinycbor.git extlibs/tinycbor/tinycbor > -b v0.3.2 > > > > > > > > Thanks & regards, > > Shuvradeb Barman Srijon, > Lead Engineer, > Advance Solution Group, > Samsung R&D Institute Bangladesh Ltd. > > > > > > --------- *Original Message* --------- > > *Sender* : woong-jae choi <jokerofluck at gmail.com> > > *Date* : 2016-12-02 16:05 (GMT+6) > > *Title* : Re: [dev] TARGET_OS=android does not build on Mac OSX > > > 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; > > _______________________________________________ > iotivity-dev mailing listiotivity-dev at > lists.iotivity.orghttps://lists.iotivity.org/mailman/listinfo/iotivity-dev > > > > > -------------- next part -------------- HTML ?????? ??????????????... URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161205/a8bc09a2/attachment.html> -------------- next part -------------- A non-text attachment was scrubbed... Name: ?????? ?? ????????. Type: image/gif Size: 13402 bytes Desc: ?????? ?? ????????. URL: <http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161205/a8bc09a2/attachment.gif>
