← 所有文章

【Acados】type in Unknown external function argument type for argument 4

问题描述

在python生成了脚本后放入c++环境调用,求解时报错:

type in 1280721872

Unknown external function argument type for argument 4

解决方案

经排查是由于c++和Python使用的acados版本不一致导致的,在Acados仓库中直接checkout对应版本的tag重新编译即可

git checkout tags/v0.1.9