alexliniger / MPCC

Model Predictive Contouring Controller (MPCC) for Autonomous Racing
Apache License 2.0
1.34k stars 371 forks source link

C++ build error #72

Closed Geonhee-LEE closed 2 years ago

Geonhee-LEE commented 2 years ago

Hi, @alexliniger. Thanks for your contribution. I am interested in MPCC and want to run on C++ execution on the Ubuntu 18.04. According to your README, I tried to make the CMakeLists but failed like following:

image

After failed to make, I changed the CMakeLists and finally succeeded to build. But, I encountered the problem when I launched with './MPCC'. I found that problem is associated with matplotlib-cpp. However, I couldn't find the solution although strive to solve this problem with some modification and trials. image

Let me know what is the problem if possible.

alexliniger commented 2 years ago

the two branches use different approaches for matplotlib-cpp in the CMake file, can you try out the other one as well. I will have a look as soon as possible. But over the years I had also several times issues with matplotlib-cpp. Best, Alex

Geonhee-LEE commented 2 years ago

Thanks for your reply. I tried to change from master branch to /wip/install-target branch. It also happened a same problem. image

Geonhee-LEE commented 2 years ago