pantor / ruckig

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

I can't compile a library for python on raspberry pi #93

Closed Ruslan2288 closed 2 years ago

Ruslan2288 commented 2 years ago

image image

On raspberry pi, the library is not installed using pip when compiling, it writes the same error as in the photo.

Ruslan2288 commented 2 years ago

Please tell me what I need to do to install it. I installed pybind11, but the compiler doesn't seem to see it

pantor commented 2 years ago

Alas there are no pre-build binaries for ARM, so it wants to compile the library including the Python wrapper. For that, it needs to find pybind11. You can either install that globally (in particular for installing with pip install ruckig), or just clone it into the Ruckig directory.

cd ruckig
git clone https://github.com/pybind/pybind11.git
pip install .

CMake should pick pybind11 up from there.