各位神人好,小弟不才,想開啟MA35D16F90 Buildroot的OpenCV Python支持,步驟如下:
1. make menuconfig
2. Target packages -> graphic libraries and applications -> [*] Qt5
3. Toolchain -> Python support : python3
4. Target packages -> Interpreter languages and scripting -> [*] python3 -> External modules -> [*] python-numpy
5. Target packages -> Libraries -> Graphics -> [*] opencv3 -> [*] python
6. make
此時報錯:
(cd /home/user/buildroot/MA35D1_Buildroot/output/build/host-python-cython-0.29.21//; PATH="/home/user/buildroot/MA35D1_Buildroot/output/host/bin:/home/user/buildroot/MA35D1_Buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PYTHONNOUSERSITE=1 PATH="/home/user/buildroot/MA35D1_Buildroot/output/host/bin:/home/user/buildroot/MA35D1_Buildroot/output/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin" PKG_CONFIG="/home/user/buildroot/MA35D1_Buildroot/output/host/bin/pkg-config" PKG_CONFIG_SYSROOT_DIR="/" PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_LIBDIR="/home/user/buildroot/MA35D1_Buildroot/output/host/lib/pkgconfig:/home/user/buildroot/MA35D1_Buildroot/output/host/share/pkgconfig" AR="/usr/bin/ar" AS="/usr/bin/as" LD="/usr/bin/ld" NM="/usr/bin/nm" CC="/usr/bin/gcc" GCC="/usr/bin/gcc" CXX="/usr/bin/g++" CPP="/usr/bin/cpp" OBJCOPY="/usr/bin/objcopy" RANLIB="/usr/bin/ranlib" CPPFLAGS="-I/home/user/buildroot/MA35D1_Buildroot/output/host/include" CFLAGS="-O2 -I/home/user/buildroot/MA35D1_Buildroot/output/host/include" CXXFLAGS="-O2 -I/home/user/buildroot/MA35D1_Buildroot/output/host/include" LDFLAGS="-L/home/user/buildroot/MA35D1_Buildroot/output/host/lib -Wl,-rpath,/home/user/buildroot/MA35D1_Buildroot/output/host/lib" INTLTOOL_PERL=/usr/bin/perl /home/user/buildroot/MA35D1_Buildroot/output/host/bin/python setup.py build )
/bin/bash: /home/user/buildroot/MA35D1_Buildroot/output/host/bin/python: No such file or directory
make[1]: *** [package/pkg-generic.mk:250: /home/user/buildroot/MA35D1_Buildroot/output/build/host-python-cython-0.29.21/.stamp_built] Error 127
make: *** [Makefile:84: _all] Error 2
想請問是哪邊有開啟錯誤,非常感謝
|
|