环境A:在源代码中将Ubuntu交叉编译为Raspberry pi3
~/src/rpi2point/qt-everywhere-opensource-src-5.9.0-rc2$ ~/src/rpi2point/qt-everywhere-opensource-src-5.9.0-rc2/configure -release -opengl es2 -device linux-rasp-pi3-vc4-g++ -device-option CROSS_COMPILE=~/src/rpi2point/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/src/rpi2point/sysroot -opensource -confirm-license -make libs -no-use-gold-linker -no-pch -prefix /usr/local/qt5pi -extprefix ~/src/rpi2point/qt5pi -hostprefix ~/src/rpi2point/qt5 -v
QML视频着色器效果和QML视频示例正常工作
相机示例抛出:
/home/matin/src/rpi2point/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5:-1: error: undefined reference to `operator delete(void*, unsigned int)@CXXABI_1.3.9'
/home/matin/src/rpi2point/sysroot/usr/lib/arm-linux-gnueabihf/libQt5OpenGL.so.5:-1: error: undefined reference to `qTriangulate(QVectorPath const&, QTransform const&, double)@Qt_5_PRIVATE_API'
环境B:在源目录中将Ubuntu交叉编译为Raspberry pi3
mkdir qt5.10
git clone https://github.com/qt/qt5.git
./init-repository
./configure -release -opengl es2 -device linux-rasp-pi3-vc4-g++ -device-option CROSS_COMPILE=~/src/rpi2point/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian-x64/bin/arm-linux-gnueabihf- -sysroot ~/src/rpi2point/sysroot -opensource -confirm-license -make libs -no-use-gold-linker -no-pch -prefix /usr/local/qt5pi -extprefix ~/src/rpi2point/qt5pi -hostprefix ~/src/rpi2point/qt5 -v
使用附加设备重新配置QtCreator并为qt 5.10构建 - 示例编译并运行 - 但没有来自摄像头的图片
任何sugestions?
THX Martin