Closed DreamonZhu closed 3 years ago
Hi Zhu,
Maybe I can help you. I meet the same problems.
First you can set -DBLASFEO_PATH
to an absolute path, for me I set -DBLASFEO_PATH=/home/chentairan/Desktop/MPCC/C++/External/blasfeo/lib
.
Second the matplotlib
package also has some problems when building. You can checkout to 61da78f
commit, and try again.
Best, Tairan Chen
This was also my solution, to fix this issue. The issue with matplotlib I had was related to python 2.7 and Ubuntu 20.04. Which required installing pip2 from scratch.
Best, Alex
Hi Zhu,
Maybe I can help you. I meet the same problems.
First you can set
-DBLASFEO_PATH
to an absolute path, for me I set-DBLASFEO_PATH=/home/chentairan/Desktop/MPCC/C++/External/blasfeo/lib
.Second the
matplotlib
package also has some problems when building. You can checkout to61da78f
commit, and try again.Best, Tairan Chen
Hi, Tairan First, thank you so much. And I want to make sure what you mean is that I need to add an global varible into ~/.bashrc, then I just use this varible in my Cmakefile.txt, right?
No need to modify the global variable, you just need to modify this line https://github.com/alexliniger/MPCC/blob/master/C%2B%2B/install.sh#L53
No need to modify the global variable, you just need to modify this line https://github.com/alexliniger/MPCC/blob/master/C%2B%2B/install.sh#L53
Ok, I've successfully installed it and run it. Thank you.
when I tried to run ./install.sh to install the project of c++ version, an error occured. The error info was mainly about "CMake error in hpipm/test_problems/CmakeLists.txt". In fact, there was a target "hpipm" containing relative path in its INTERFACE_INCLUDE_DIRECTORIES: '../../BLASFEO/lib/include'. I guess maybe it was because of the version of cmake, I couldn't use the relative path in CmakeList.txt. And I was just not able to revise the relevant code. Anyone could help me? Thank you so much.