Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jcelerier opened this issue Oct 18, 2019 · 1 comment

Comments

@jcelerier
Copy link
Contributor

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
Copy link
Contributor

tap commented Oct 21, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants