Cycling74/max-sdk

_clock_gettime defined in SDK MaxAPI but not in official Max/MSP MaxAPIImpl

jcelerier opened this issue · 1 comments

I'd wager that the reason is that the API version is built against the 10.11 sdk, but the official version (I checked 8.1) is built against 10.13 sdk, and this symbol appeared in 10.12.

Problem is that an external which calls clock_gettime will resolve to the one which used to be provided by MaxAPI and then won't be able to find it when running in Max.

tap commented

Unfortunately, clock_gettime() is defined both by Max and by others. In C this is definitely a problem as everything is in a global namespace.

I suggest checking out the Max-DevKit or Min-Devkit as alternatives to the the Max-SDK as they properly namespace functions like this.

Cheers