移植QT5.6.2库到am3358最新ti-processor-sdk-linux-am335x-evm-03.01.00.06时出现很多错误,大家移植时有遇到吗?
./configure -debug -opensource -confirm-license -shared -prefix /home/default/work/qt_stuff/qt-everywhere/pub -sysroot /home/default/work/qt_stuff/rootfs_with_graphips/ -platform linux-g++-64 -device linux-TIarmv7-sgx-g++ -device-option CROSS_COMPILE=/home/default/work/ti-processor-sdk-linux-am335x-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/arm-linux-gnueabihf- -D QT_NO_QWS_CURSOR -D QT_QWS_CLIENTBLIT -eglfs -opengl es2 -qreal float -nomake examples -nomake tests
check出错了
Could not determine the target architecture!
Turn on verbose messaging (-v) to see the final report.
checking for C++11… no.
checking for default C++ standard edition… yes.
checking for 64-bit std::atomic… no.
checking for 64-bit std::atomic in -latomic… no.
checking for sse2… no.
checking for ipc_sysv… no.
checking for ipc_posix… no.
checking for zlib… no.
checking for mtdev… no.
checking for libjpeg… no.
checking for libpng… no.
checking for dlopen… no.
checking for libdl… no.
checking for DB2… no.
checking for InterBase… no.
checking for MySQL (thread-safe)… no.
checking for MySQL (thread-unsafe)… no.
checking for OCI… no.
checking for ODBC… no.
checking for iODBC… no.
checking for PostgreSQL… no.
checking for SQLite2… no.
checking for TDS… no.
checking for Cups… no.
checking for POSIX iconv… no.
checking for SUN libiconv… no.
checking for GNU libiconv… no.
checking for D-Bus… no.
checking for libproxy… no.
checking for Glib… no.
checking for ICU… no.
checking for PulseAudio… no.
checking for OpenGL ES 2.0… no.
The OpenGL ES 2.0 functionality test failed!
Use of pkg-config is not enabled, maybe you want to pass -pkg-config?
You might need to modify the include and library search paths by editing
QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in
/home/default/work/qt_stuff/qt_source/qt-everywhere-opensource-src-5.6.2/qtbase/mkspecs/devices/linux-TIarmv7-sgx-g++.
Steven Liu1:
根据ti-processor-sdk-linux-am335x-evm-03.01.00.06的release notes,这个版本应该是已经支持了 QT 5.6.2。
你这个移植问题是不是基于我们的base文件系统弄的?看一下那个大的文件系统中有相关组件吗?
http://processors.wiki.ti.com/index.php/Processor_SDK_Linux_Release_Notes#SDK_Components_.26_Versions
ComponentVersion
Linux Kernel
4.4.32+ (2016 LTS)U-Boot
2016.05Yocto Project
2.1 (Krogoth)Linaro Toolchain (gcc)
5.3 2016.02 hard-floatQt
5.6.2OpenCL
1.1.11OpenCV
3.1Wayland
1.9
tao li89:
回复 Steven Liu1:
我使用了自己通过busybox制作的文件系统。假如不使用官方SDK自带的大文件系统的话可以自己制作支持Graphics SDK 的Qt5.6.2吗?请问有没有文档描述,我们只有256MB的nand flash,官方的那个太庞大了