Hi.
I am trying to compile an application on OSX with iotivity support. The
build seems to output libraries and headers in locations that are
incompatible with iotivity.pc. The supplied framework is also missing
c_common headers and libraries. Build line and adjusted makefile options to
compensate for actual locations are below. Is there a way to build on OSX
with pkg-config support?
build:
scons SYS_VERSION=10.12 LOGGING=yes
makefile:
IOTIVITY = lib/iotivity-1.2.1
IOT_BULD = ${IOTIVITY}/out/darwin/x86_64/release
IOT_FRAMEWORK = ${IOTIVITY}/out/darwin/iotivity-csdk.framework/
LIBS += -lc_common -lcoap -lconnectivity_abstraction -llogger -locsrm
-loctbstack -lresource_directory -lroutingmanager
IOT_LDFLAGS = -L${IOT_BULD}
IOT_CFLAGS = -I${IOT_BULD}/include/resource/
-I${IOT_BULD}/include/c_common/ -I${IOT_FRAMEWORK}/Versions/A/Headers/
Question 2. Logging is quite verbose. Is there a way to set logging
threshold other than patching logger?
Thank you.
Jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20170211/730a0271/attachment.html>