stulp / dmpbbo

Python/C++ library for Dynamical Movement Primitives and Black-Box Optimization
GNU Lesser General Public License v2.1
227 stars 89 forks source link

Make install doesn't install eigen_realtime header #25

Closed gokhansolak closed 5 years ago

gokhansolak commented 5 years ago

Make install doesn't install eigen_realtime header. Building a code that includes Dmpbbo fails with _fatal error: eigen_realtime/eigen_realtimecheck.hpp no such file or directory .

Copying the header into /usr/local/include manually solves the problem:

mkdir /usr/local/include/eigen_realtime
cp path-to-dmpbbo/src/eigen_realtime/eigen_realtime_check.hpp /usr/local/include/eigen_realtime/

System: Ubuntu 16.04

graiola commented 5 years ago

Hi, there is no need to copy and paste the file by hand. The fix has to be done in the CMakeLists.txt inside the src folder. I will open a pr for that.