编译源码时出现错误,TypeError: 'NoneType' object is not iterable
需要的软件和库都按照“编译固件章节”安装了,就是卡在这里过不了,不知道什么原因?
root@ubuntu:/home/jacky/Documents/openmv-master# sudo make -j$(nproc) -C src/micropython/mpy-cross
make: Entering directory '/home/jacky/Documents/openmv-master/src/micropython/mpy-cross'
Use make V=1 or set BUILD_VERBOSE in your environment to increase build verbosity.
Traceback (most recent call last):
File "../py/makeversionhdr.py", line 106, in
make_version_header(sys.argv[1])
File "../py/makeversionhdr.py", line 73, in make_version_header
omv_git_tag, omv_git_hash = get_version_info_from_git(omv_repo)
TypeError: 'NoneType' object is not iterable
../py/py.mk:241: recipe for target 'build/genhdr/mpversion.h' failed
make: *** [build/genhdr/mpversion.h] Error 1
make: Leaving directory '/home/jacky/Documents/openmv-master/src/micropython/mpy-cross'
root@ubuntu:/home/jacky/Documents/openmv-master#
交叉编码工具版本:
root@ubuntu:/home/jacky/Documents/openmv-master# arm-none-eabi-gcc -v
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/usr/bin/../lib/gcc/arm-none-eabi/7.3.1/lto-wrapper
Target: arm-none-eabi
Configured with: /build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/src/gcc/configure --target=arm-none-eabi --prefix=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native --libexecdir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/lib --infodir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/info --mandir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/man --htmldir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/html --pdfdir=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/share/doc/gcc-arm-none-eabi/pdf --enable-languages=c,c++ --enable-plugins --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-python-dir=share/gcc-arm-none-eabi --with-sysroot=/build/gcc-arm-none-eabi-Ubq5Xp/gcc-arm-none-eabi-7-2018q2/install-native/arm-none-eabi --with-host-libstdcxx='-static-libgcc -Wl,-Bstatic,-lstdc++,-Bdynamic -lm' --with-pkgversion='GNU Tools for Arm Embedded Processors 7-2018-q3-update' --with-multilib-list=rmprofile
Thread model: single
gcc version 7.3.1 20180622 (release) [ARM/embedded-7-branch revision 261907] (GNU Tools for Arm Embedded Processors 7-2018-q3-update)
python3版本:
Python 3.5.2 (default, Jan 26 2021, 13:30:48)
[GCC 5.4.0 20160609] on linux
请问人脸检测例子能在openMV-git上找到源码吗?
比如 image.HaarCascade() 函数,我在源码上就没有找到,是不是直接编译成了库还是需要调用某些编译库?
顺便问下,人脸检测例子就一个吗?有没有简单点的人脸检测算法可以看到源码移植的等等
谢谢
有没有小伙伴研究【源码】,一起出来交流一下
openmv 代码是开源的,特别是内置了很多图像算法,都是基于C的,有没有小伙伴在研究底层图像源码的,可以一起来交流一下
主要是目录:src/omv/img 文件夹下的源码 ,我有意向进行二次开发,然后对C代码封装,在micropython上调用。
例程讲解28-Global-Shutter-> triggered_mode 触发模式源代码错误
例程讲解28-Global-Shutter-> triggered_mode 触发模式直接运行源代码出现错误。
口罩检测和垃圾分类的源码链接无法打开
如https://book.openmv.cc/project/mask.html下的https://github.com/SingTown/mask-tflite链接无法打开
识别条形码的源代码在哪?经过图像处理,然后经过条形码原理译码的过程是怎样的
识别条形码的源代码在哪?经过图像处理,然后经过条形码原理译码的过程是怎样的
请问哪里可以找到openmv里面函数的底层源码啊
比如说
是在这里面吗
请问有没有连蓝牙的源代码啊?连接HC-05蓝牙
请问有没有连蓝牙的源代码啊?连接HC-05蓝牙
使用视频教程的源码无法正常实现数据接收
回复: 使用串口只能发送数据但不能接收数据? 我也遇到了这种情况,我的解决方案是:将a = uart.readline()换成了 a = uart.read()。具体函数内容可以自己查看函数库!
在哪儿能下载到贵司视频教程里面的源代码呢?
例如,视频32里面讲解IMU数据读取例子,用到了bno055.py,这个文件在哪儿能看到?想学习一下