Hello!
After updating acados to the latest version, I am having trouble generating an s-Function for Simulink. I updated today and tried to generate code for an OCP that was working before.
The error occurs in a blasfeo module with the following message:
Error using mex
In file included from D:/acados_v013/include/acados/sim/sim_gnsf.h:49:0,
from D:/acados_v013/include/acados_c/ocp_nlp_interface.h:48,
from
C:\Users\...\rc_house_two_staged\c_generated_code\acados_solver_rc_house.h:37,
from
C:\Users\...\rc_house_two_staged\c_generated_code\acados_solver_sfunction_rc_house.c:46:
D:/acados_v013/include/blasfeo/include/blasfeo_d_aux.h:61:1: error: unknown type name 'size_t'
size_t blasfeo_memsize_dmat(int m, int n);
^~~~~~
D:/acados_v013/include/blasfeo/include/blasfeo_d_aux.h:63:1: error: unknown type name 'size_t'
size_t blasfeo_memsize_diag_dmat(int m, int n);
^~~~~~
D:/acados_v013/include/blasfeo/include/blasfeo_d_aux.h:65:1: error: unknown type name 'size_t'
size_t blasfeo_memsize_dvec(int m);
^~~~~~
In file included from D:/acados_v013/include/acados/sim/sim_gnsf.h:49:0,
from D:/acados_v013/include/acados_c/ocp_nlp_interface.h:48,
from
C:\Users\...\rc_house_two_staged\c_generated_code\acados_solver_rc_house.h:37,
from
C:\Users\...\rc_house_two_staged\c_generated_code\acados_solver_sfunction_rc_house.c:46:
D:/acados_v013/include/blasfeo/include/blasfeo_d_aux.h:213:1: error: unknown type name 'size_t'
size_t blasfeo_pm_memsize_dmat(int ps, int m, int n);
^~~~~~
D:/acados_v013/include/blasfeo/include/blasfeo_d_aux.h:224:1: error: unknown type name 'size_t'
size_t blasfeo_cm_memsize_dmat(int m, int n);
^~~~~~
Error in make_sfun (line 65)
eval( [ 'mex -v -output acados_solver_sfunction_rc_house ', ...
Error in rc_house_ocp (line 78)
make_sfun
Can you derive from the error message if it is an bug? Or is there anything that I did not do correctly when updating acados?
Thank you for your help!
Edit: I edited the error message and removed parts of my folder structure.