pantor / ruckig

Motion Generation for Robots and Machines. Real-time. Jerk-constrained. Time-optimal.
https://ruckig.com
MIT License
635 stars 155 forks source link

Optional header not found #168

Closed heshengdang closed 9 months ago

heshengdang commented 10 months ago

hello, I reported an error while executing the 'make' step: In file included from /home/he/ruckig/src/position-step1.cpp:1:0: /home/he/ruckig/include/ruckig/ruckig.hpp:10:20: fatal error: optional: 没有那个文件或目录

pantor commented 10 months ago

Ruckig is written in C++17, which introduced optional. Which compiler version are you using?

If you still need to use C++11, you can apply a small patch by executing bash scripts/patch-c++11.sh. More info in the Readme.