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

Mexification fails on macOS with Xcode 15 and Intel oneAPI 2023 #161

Closed
zaikunzhang opened this issue Feb 16, 2024 · 0 comments
Closed

Mexification fails on macOS with Xcode 15 and Intel oneAPI 2023 #161

zaikunzhang opened this issue Feb 16, 2024 · 0 comments

Comments

@zaikunzhang
Copy link
Member

Mexification fails on macOS with Xcode 15 and Intel oneAPI 2023, but this is likely a bug of MEX. See

https://www.mathworks.com/matlabcentral/answers/2082233-does-mex-of-matlab-r2023b-update-6-on-macos-13-work-with-xcode-15-and-intel-oneapi-2023

zaikunzhang added a commit that referenced this issue Feb 16, 2024
This is a workaround for #161, where MEX fails due to incompatibility between the new linker of Xcode 15 on macOS and Intel oneAPI 2023.  The fix is to replace the linker option "-undefined error" with "-undefined dynamic_lookup". See also #158. Note that we have to modify `LDFLAGSVER`. Setting `LDFLAGS` or `LINKFLAGS` does not work, although the latter is suggested at https://www.mathworks.com/help/matlab/ref/mex.html.
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

1 participant