Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation error with blasfeo #215

Open
dd292 opened this issue Jun 19, 2022 · 2 comments
Open

Installation error with blasfeo #215

dd292 opened this issue Jun 19, 2022 · 2 comments

Comments

@dd292
Copy link

dd292 commented Jun 19, 2022

Hey,

I am just trying to run this library in Ubuntu 20.04 but getting the error:
In file included from /usr/local/include/ct/optcon/nloc/NLOCBackendBase.hpp:16, from /usr/local/include/ct/optcon/optcon.h:25, from /home/airlab/Documents/Projects/Cppilqr/src/control-toolbox/ct_models/src/HyQ/codegen/HyQLinearizationCodegen.cpp:6: /usr/local/include/ct/optcon/solver/lqp/HPIPMInterface.hpp:12:10: fatal error: blasfeo_target.h: No such file or directory 12 | #include <blasfeo_target.h> | ^~~~~~~~~~~~~~~~~~ compilation terminated.
I installed the HPIPM and BLASFEO using ./src/control-toolbox/ct/install_hpipm.sh
I checked the CMakeCache.txt in ct_optcon/build, and that points to the correct location of BLASFEO which is blasfeo_DIR:PATH=/opt/blasfeo/cmake

I was curious if this issue is because of my Ubuntu version or just incorrect installation.
I would appreciate the help.

@condor-cp
Copy link

I had the same issue that you have but somehow the repo owner could not reproduce. Try to modify CMakeLists.txt files as I did with this commit

Regards

@haasithp
Copy link

Hey, I was able to install and made these notes. Please go through it and let me know if there are any issues.
https://haasith.notion.site/Control-Toolbox-ec4e170501914120b4b666e89353d35c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants