WEC7: Configure error using compiler from Platform Builder (armv7)
-
I want to build the Qt 5.3.2 libraries for WEC7. I used "wince70embedded-armv4i-msvc2008" as template and replaced the SDK to "mySDK" and CE_arch to armv7 :
@CE_SDK = mySDK # replace with actual SDK name
CE_ARCH = armv7DEFINES += QT_NO_CLIPBOARD QT_NO_ACCESSIBILITY QT_NO_NATIVE_GESTURES QT_NOSTANDARDSHELL_UI_MODEL _CRT_SECURE_NO_DEPRECATE _WIN32_WCE=0x700 $$CE_ARCH AMRV7 armv7 ARM
QMAKE_CFLAGS += -QRarch7 -arch:VFPv3-D32 -QRfpe-
QMAKE_CXXFLAGS = $$QMAKE_CFLAGSQMAKE_LFLAGS_CONSOLE = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB /ENTRY:mainACRTStartup
QMAKE_LFLAGS_WINDOWS = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB
QMAKE_LFLAGS_DLL = /SUBSYSTEM:WINDOWSCE,7.00 /MACHINE:THUMB /DLL /SAFESEH:NO
QMAKE_LIBFLAGS_RELEASE = /LTCG
QMAKE_LIBS = corelibc.lib coredll.lib
QMAKE_LIBS_CORE = corelibc.lib ole32.lib oleaut32.lib uuid.lib commctrl.lib coredll.lib winsock.lib
QMAKE_LIBS_GUI = ceshell.lib ole32.lib $$QMAKE_LIBS_CORE
QMAKE_LIBS_NETWORK = ws2.lib $$QMAKE_LIBS_GUI
QMAKE_LIBS_OPENGL =
QMAKE_LIBS_COMPAT =
QMAKE_LIBS_OPENVG = libopenvg.lib
QMAKE_LIBS_OPENGL_ES2 = libEGL.lib libGLESv2.libQMAKE_RC = rc
QMAKE_COMPILER_DEFINES -= _MSC_VER=1400
QMAKE_COMPILER_DEFINES += _MSC_VER=1500@Build process:
@configure -xplatform wince70-myPlatform-msvc2008 -developer-build -opensource -confirm-license -nomake tests -nomake examples -no-accessibility -opengl es2 -skip qtactiveqt -skip qtwinextras -skip qtlocation@The cl.exe of PlatformBuilder is in PATH s. "Qt Blog":http://blog.qt.digia.com/blog/2013/01/29/getting-more-out-of-qt-on-windows-embedded-compact-7-arm-processors-2/
When executing the configure statement I get the following error message:
@cl -c -Fo./ -Fdqmake.pdb -W3 -nologo -O1 /MP -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake\library -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake\generators -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake\generators\unix -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake\generators\win32 -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake\generators\mac -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake\generators\integrity -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\include -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\include\QtCore -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\include\QtCore\5.3.2 -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\include\QtCore\5.3.2\QtCore -IC:\QtCe\build3\qtbase\src\corelib\global -DHAVE_QCONFIG_CPP -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\mkspecs\win32-msvc2008 -IC:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\tools\shared -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_COMPRESS -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DATASTREAM -DUNICODE -DQT_CRYPTOGRAPHICHASH_ONLY_SHA1 -DQT_JSON_READONLY -c -Yc -Fpqmake_pch.pch -TP C:\QtCe\qt-everywhere-opensource-src-5.3.2\qtbase\qmake\qmake_pch.h
qmake_pch.h
c:\qtce\qt-everywhere-opensource-src-5.3.2\qtbase\include\qtcore../../src/corelib/global/qprocessordetection.h(329) : fatal error C1189: #error : "Unable to determine byte order!"
@@cl : Command line warning D9002 : ignoring unknown option '/MP'
NMAKE : fatal error U1077: 'C:\WINCE700\sdk\bin\i386\arm\cl.EXE' : return code '
0x2'
Stop@Anybody an idea?
Thanks in advance.