-
Notifications
You must be signed in to change notification settings - Fork 151
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
Fix SAM #1918 and test on Windows 11 and MacOS 15.1.1 with MATLAB #1950
Conversation
src/codegenerator.cpp
Outdated
if (wxFileExists(f1)) { | ||
f2 = m_folder + "/sscapi.h"; | ||
wxCopyFile(f1,f2); | ||
} | ||
else { | ||
//else { | ||
/* skip fallback per SAM issue 1918 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same question
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed commented code as requested - was initially left as a fallback position but more confusing and out of date. Thanks for the future maintenance request!
To test, build SAM and SAM-private if you would like (delete build_windows folder in SAM-private) and run SAM and generate code for some language and check that latest sscapi.h and ssc.dll (or.so or .dylib) is included in the generated code folder.