-
Notifications
You must be signed in to change notification settings - Fork 302
fix Matlab with MSVC #1036
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 Matlab with MSVC #1036
Conversation
|
The MSVC version could be implemented with the mex compiler configurations: Unfortunately the compilation fails, because the path written into CMakeLists I tried to replace the backslashes with slashes in the function call render_file(...) in line 182 in render_acados_templates.m but it didn't change anything. It looks like t_renderer converts the path back to the windows-default format. Do you have a better idea? |
|
I tried to change the path to unix style in the template logic. |
|
I tried it and it works 👍 |
|
Great, thanks for checking! |
|
Today i tried it with Visual Studio 14 2015, and it works when the assert(...) command is removed/commented out. |
|
Thanks, I removed the assert and also fixed it for the integrator now :) |
https://discourse.acados.org/t/bug-with-visual-studio-compiler-in-matlab-with-working-fix/1449