<div dir="ltr"><div style>Hi Folks - </div><div style><br></div><div style>It looks like the high precision timer changes [1] introduced a mac build error (pasted at the end of this note. This is from a fresh build enabling everything. It seems macs don't support some features, but there are workarounds[2].</div>
<div style><br></div><div style>-Steve</div><div><br></div><div>[1] <a href="https://github.com/commontk/CTK/commit/6fef28fc134c27e16a7c1998a8f74df53618f6d6">https://github.com/commontk/CTK/commit/6fef28fc134c27e16a7c1998a8f74df53618f6d6</a><br>
</div><div><br></div><div>[2] <a href="http://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x">http://stackoverflow.com/questions/5167269/clock-gettime-alternative-in-mac-os-x</a><br></div><div><br>
</div><div>[ 15%] Building CXX object Libs/PluginFramework/Testing/org.commontk.pluginfwtest.perf/CMakeFiles/org_commontk_pluginfwtest_perf.dir/ctkPluginFrameworkPerfRegistryTestSuite.cpp.o</div><div>In file included from /Users/pieper/ctk/latest/CTK/Libs/PluginFramework/Testing/org.commontk.pluginfwtest.perf/ctkPluginFrameworkPerfRegistryTestSuite.cpp:26:</div>
<div>/Users/pieper/ctk/latest/CTK/Libs/Core/ctkHighPrecisionTimer.h:83:17: error: </div><div> use of undeclared identifier 'CLOCK_MONOTONIC'</div><div> clock_gettime(CLOCK_MONOTONIC, &startTime);</div><div>
^</div><div>/Users/pieper/ctk/latest/CTK/Libs/Core/ctkHighPrecisionTimer.h:89:17: error: </div><div> use of undeclared identifier 'CLOCK_MONOTONIC'</div><div> clock_gettime(CLOCK_MONOTONIC, ¤t);</div>
<div> ^</div><div>/Users/pieper/ctk/latest/CTK/Libs/Core/ctkHighPrecisionTimer.h:97:17: error: </div><div> use of undeclared identifier 'CLOCK_MONOTONIC'</div><div> clock_gettime(CLOCK_MONOTONIC, ¤t);</div>
<div> ^</div><div>3 errors generated.</div><div>make[5]: *** [Libs/PluginFramework/Testing/org.commontk.pluginfwtest.perf/CMakeFiles/org_commontk_pluginfwtest_perf.dir/ctkPluginFrameworkPerfRegistryTestSuite.cpp.o] Error 1</div>
<div>make[4]: *** [Libs/PluginFramework/Testing/org.commontk.pluginfwtest.perf/CMakeFiles/org_commontk_pluginfwtest_perf.dir/all] Error 2</div><div>make[3]: *** [all] Error 2</div><div>make[2]: *** [CMakeFiles/CTK-build] Error 2</div>
<div>make[1]: *** [CMakeFiles/CTK-build.dir/all] Error 2</div><div>make: *** [all] Error 2</div><div><br></div></div>