zephyr.js icon indicating copy to clipboard operation
zephyr.js copied to clipboard

[ocf] can't read ocf module on Mac

Open qiaojingx opened this issue 7 years ago • 4 comments

Description

can't read ocf module on Mac

Test Code

OcfServer.js; OcfPlatformInfo.js;OcfNotifyServer.js;OcfDeviceInfo.js;OcfClientUpdate.js;OcfClient.js;

Steps to Reproduction

  1. make BOARD=linux
  2. ./outdir/linux/release/jslinux samples/OcfServer.js

Actual Result

ocf

Expected Result

OcfServer starts

Test Builds

Branch Commit Id Target Device Test Date Result
master 4dda019 Mac Apr 26, 2017 Fail

Additional Information

qiaojingx avatar Apr 26 '17 08:04 qiaojingx

OCF is not currently supported in Iotivity-constrained, and as such not supported in ZJS. I asked the Iotivity-constrained maintainer and he said that there is a gerrit patch that is in review to add support for Mac. Once that goes in we can start building OCF on Mac.

jprestwo avatar Apr 26 '17 22:04 jprestwo

I think @jprestwo meant to say MAC is not supported in iot-c.

grgustaf avatar Jun 07 '17 22:06 grgustaf

Does OCF plan to be supported on Mac before 0.4 release?

qiaojingx avatar Aug 18 '17 08:08 qiaojingx

It should work with Linux builds as long as iotivity-constrained can be built on Mac, this is the only reason that OCF is not enabled on Mac since upstream iotivity-constrained linux port doesn't build properly on MacOS.

jimmy-huang avatar Oct 26 '17 16:10 jimmy-huang