-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
make bindings_python error #1370
Comments
You forgot to do Duplicate of IMRCLab/crazyswarm2#486 |
One situation where you get this error: if you clone a fork of this repo whose master branch is super old (like 2+ years), its submodule for CMSIS points to a different repo. If you then check out a feature branch that's more recent, the submodule url won't get updated automatically. A |
@Guohao23 could you confirm that this fixed your problem? then we can close this issue |
This issue is stalled so I am closing it. Do not hesitate to re-open if needed. |
ros2 :galactic ubuntu :20.04
guo@Guo:~/crazyflie-firmware$ make bindings_python
Makefile:213: warning: overriding recipe for target 'bindings_python'
tools/kbuild/Makefile.kbuild:147: warning: ignoring old recipe for target 'bindings_python'
make[1]: Entering directory '/home/guo/crazyflie-firmware/build'
make[1]: Nothing to be done for 'bindings_python'.
make[1]: Leaving directory '/home/guo/crazyflie-firmware/build'
swig -python -Isrc/modules/interface -Isrc/hal/interface -Isrc/utils/interface -Isrc/modules/interface/controller -Isrc/platform/interface -Isrc/modules/interface/outlierfilter -Isrc/modules/interface/kalman_core -o build/cffirmware_wrap.c bindings/cffirmware.i
python3 bindings/setup.py build_ext --inplace
In file included from src/modules/interface/kalman_core/kalman_core.h:56,
from build/cffirmware_wrap.c:2757:
src/utils/interface/cf_math.h:35:10: fatal error: arm_math.h: No such file or directory
35 | #include "arm_math.h"
| ^~~~~~~~~~~~
compilation terminated.
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
make: *** [Makefile:214: bindings_python] Error 1
The text was updated successfully, but these errors were encountered: