微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 手机设计讨论 > MTK手机平台交流 > SP_Flash_Tool_Win_Lin_src_5.1712 complier fail

SP_Flash_Tool_Win_Lin_src_5.1712 complier fail

时间:10-02 整理:3721RD 点击:
I am try to complier this source code,I get QtXmlPatterns No such file message like this:

g++ -c -m64 -pipe -g -Wall -W -D_REENTRant -DQT_NO_CAST_FROM_CAST -D_linux -DQT_WEBKIT_LIB -DQT_XMLPATTERNS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/local/TrolLTEch/Qt-4.7.3/mkspecs/linux-g++-64 -I../SP_Flash_Tool_Win_Lin_src_5.1712 -I/usr/local/Trolltech/Qt-4.7.3/include/QtCore -I/usr/local/Trolltech/Qt-4.7.3/include/QtNetwork -I/usr/local/Trolltech/Qt-4.7.3/include/QtGui -I/usr/local/Trolltech/Qt-4.7.3/include/QtXmlPatterns -I/usr/local/Trolltech/Qt-4.7.3/include/QtWebKit -I/usr/local/Trolltech/Qt-4.7.3/include -I. -I. -I../SP_Flash_Tool_Win_Lin_src_5.1712 -I. -o ConsoleModeEntry.o ../SP_Flash_Tool_Win_Lin_src_5.1712/ConsoleMode/ConsoleModeEntry.cpp
In file included from ../SP_Flash_Tool_Win_Lin_src_5.1712/ConsoleMode/ConsoleModeEntry.cpp:5:0:
../SP_Flash_Tool_Win_Lin_src_5.1712/ConsoleMode/SchemaValidator.h:5:25: fatal error: QtXmlPatterns: No such file or directory
compilation terminated.
Makefile:3690: recipe for target 'ConsoleModeEntry.o' failed

I have try QT 4.7.3 / 4.8.4 and 5.9.1
All the same error.
Does anyone have complier success?

Then I found my Qt/include not have QtXmlPatterns,
So I copy this folder from source,
And I get this error.
QtWebKit: No such file or directory
Once again, I copy QtWebKit from source,
then I get this error....><
/usr/bin/ld: cannot find -lQtWebKit
collect2: error: ld returned 1 exit status
Makefile:528: recipe for target 'flash_tool' failed
make: *** [flash_tool] Error 1

I change SP_Flash_Tool_Win_Lin_src_5.1712/Lib/QtLinux/lib/libQtWebKit.so.4 to libQtWebKit.so
Finally I get error like this:
/home/neo/SP_Flash_Tool_Win_Lin_src_5.1712/Lib/QtLinux/lib/libQtWebKit.so: undefined reference to `QSslSocket:SslSocket(QObject*)'
/home/neo/SP_Flash_Tool_Win_Lin_src_5.1712/Lib/QtLinux/lib/libQtWebKit.so: undefined reference to `QSslSocket::connectToHostEncrypted(QString const&, unsigned short, QFlags<QIODevice::OpenModeFlag>)'
Makefile:528: recipe for target 'flash_tool' failed
/home/neo/SP_Flash_Tool_Win_Lin_src_5.1712/Lib/QtLinux/lib/libQtWebKit.so: undefined reference to `QSslSocket::ignoreSslErrors()'
collect2: error: ld returned 1 exit status

And I don't know what to do....><....any one can help?

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top