-
Notifications
You must be signed in to change notification settings - Fork 24
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
MATLAB building fails on macOS #102
Comments
My architecture is close to yours, except for clang version (clang-1300.0.29.30). I am not sure if there is just the ` //Check for Ctrl-C
This is around line 368 in $NOMAD_HOME/interfaces/Matlab_MEX/Source/nomadmex.cpp. |
It now compiles, but MATLAB crashes every time I run nomadOpt(@(x)x^2,1) Did I misunderstood the syntax and broke the MEX-file? Thanks 👍 |
The syntax you used is not correct. Run the examples in Nevertheless, Matlab should not crash if the nomadOpt is called with the wrong syntax. I will look into that and also how to replace the |
I understand. The tests runs on my machine, and produces
Thank you very much, |
My problem
I am building nomad on macOS for MATLAB. I hence ran
cmake -DBUILD_INTERFACE_MATLAB=ON -DMatlab_ROOT_DIR=/Applications/MATLAB_R2022b.app -S . -B build/release
This completed successfully. However, when building the library with
I get the following error.
I set up mex to run with
clang
.My architecture
Do you have any idea how I can fix my problem? Thank you very much for your help 😁
The text was updated successfully, but these errors were encountered: