Osqp eigen安装 库安装¶ eigen3¶ 1sudo apt install libeigen3-dev osqp¶ 1 2 3 4 5 6 7 8git clone https://github.com/osqp/osqp.git cd osqp git submodule update --init --recursive git checkout -b 0.6.0 v0.6.0 mkdir build && cd build cmake .. make -j7 sudo make install 源码安装¶ 1 2 3 4 5 6 7git clone https://github.com/robotology/osqp-eigen.git cd osqp-eigen mkdir build cd build cmake .. make sudo make install 使用¶ 见osqp-eigen/example(mpc)