This should have been fixed on 1.2-rel with the following change, to work with 
TinyCBOR v0.4: https://gerrit.iotivity.org/gerrit/#/c/14179/

Are you up to date?

If you?re working from an older point of the branch, you can get around this by 
going into extlibs\tinycbor\tinycbor and doing a ?git fetch && git checkout 
v0.3.2? to use the previous version of TinyCBOR.

From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:iotivity-dev-boun...@lists.iotivity.org] On Behalf Of Gregg Reynolds
Sent: Saturday, November 19, 2016 11:52 AM
To: iotivity-dev <iotivity-dev at lists.iotivity.org>
Subject: [dev] 1.2.0 build failure

$ scons

...

resource/csdk/security/src/aclresource.c: In function 'AclToCBORPayload':
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;
                           ^
scons: *** [out/linux/x86_64/release/resource/csdk/security/src/aclresource.o] 
Error 1
scons: building terminated because of errors.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161119/7f4ec166/attachment.html>

Reply via email to