isri-aist / BaselineWalkingController

Humanoid walking controller with various baseline methods
https://isri-aist.github.io/BaselineWalkingController
BSD 2-Clause "Simplified" License
110 stars 19 forks source link

Need to set a default qp-solved-flag while building #10

Closed rohanpsingh closed 1 year ago

rohanpsingh commented 1 year ago
$ catkin build baseline_walking_controller -DCMAKE_BUILD_TYPE=RelWithDebInfo --catkin-make-args all tests

This will fail to build with the following error:

- ENABLE_QLD: OFF
- ENABLE_QUADPROG: OFF
- ENABLE_LSSOL: OFF
- ENABLE_JRLQP: OFF
- ENABLE_QPOASES: OFF
- ENABLE_OSQP: OFF
- ENABLE_NASOQ: OFF
- ENABLE_HPIPM: OFF
- ENABLE_PROXQP: OFF
- ENABLE_QPMAD: OFF
CMake Error at CMakeLists.txt:93 (message):
  None of the QP solvers are enabled.  Enable at least one QP solver.

cd /home/rohan/src/bwc_ws/build/qp_solver_collection; catkin build --get-env qp_solver_collection | catkin env -si  /usr/local/bin/cmake /home/rohan/src/bwc_ws/src/isri-aist/QpSolverCollection --no-warn-unused-cli -DCATKIN_DEVEL_PREFIX=/home/rohan/src/bwc_ws/devel/.private/qp_solver_collection -DCMAKE_INSTALL_PREFIX=/home/rohan/src/bwc_ws/install -DCMAKE_BUILD_TYPE=RelWithDebInfo; cd -

It will succeed if I provide the <qp-solver-flag> as mentioned here.

mmurooka commented 1 year ago

Thanks for the report. I added the option in the comment above.