Hi FreyJo, much thanks for your reply.
- I didn’t just change the value of nlp_dims->N. I adopted the method mentioned in the following resource and after that i was able to obtain the correct value of nlp_dims->N.
Vxworks 32bit system, PPC, Diab Compiler, Embedded application problems - #6 by Yutao
assign_and_advance_double(mem->hpipm_workspace->stat_m*(1+opts->hpipm_opts->stat_max), &mem->hpipm_workspace->stat, &c_ptr);
- The processor architecture of my QNX platform is ARMv8 and it uses aarch64 structure
- Cross-compiled means that I successfully compiled the program using the AArch64 libraries.
Sorry for the unclear points in my description. I’d really appreciate it if you have any better solutions or advice. I’ll first try to use the Valgrind you mentioned to locate the issue.