QT4.8.3 arm平台交叉编译
配置:./configure -prefix /opt/Qt-4.8.3-arm -opensource -confirm-license -release -shared -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,12,16,24 -fast -optimize d-qmake -pch -qt-sql-sqlite
配置:
./configure -prefix /opt/Qt-4.8.3-arm -opensource -confirm-license -release -shared -embedded arm -xplatform qws/linux-arm-g++ -depths 4,8,12,16,24 -fast -optimize d-qmake -pch -qt-sql-sqlite -qt-libjpeg -qt-zlib -qt-libpng -qt-freetype -little-endian -host-little-endian -no-qt3support -no-libtiff -no-libmng -no-opengl -no-mm x -no-sse -no-sse2 -no-3dnow -no-openssl -no-webkit -no-qvfb -no-phonon -no-nis -no-cups -no-glib -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-separate-debug- info -nomake examples -nomake tools -nomake docs -qt-gfx-linuxfb -qt-mouse-tslib -I/usr/local/qt-4.8.3/plugins/tslib/build/include -L/usr/local/qt-4.8.3/plugins/tslib/build/lib
出错:
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_read_raw'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_open'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_fd'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_config'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_close'
/usr/local/qt-4.8.3/lib/libQtGui.so: undefined reference to `ts_read'
collect2: ld returned 1 exit status
make[3]: *** [blockingfortuneclient] 错误 1
把/usr/local/tslib下的相关库
libts-0.0.so.0 libts-0.0.so.0.1.0
拷到编译器库里面/usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/lib
更多推荐
所有评论(0)