Hi,
I'm trying to install/build Qt 5.5 for WinCE (ARM) with Windows Mobile 6 Professional SDK but i run into Problems while building the stuff
What did i do so far:
1) installed Qt/Qt Creator for Windows
2) Installed Visual Studio 2008 Professional
3) Installed Windows Mobile 6 Professional SDK
4) Installed Qt Visual Studio AddIn
5) Downloaded Qt 5.5 everywhere source code
6) tried to build Qt with following documentation: http://doc.qt.io/qt-5/install-wince.html
But the 'configure'
configure -platform win32-msvc2008 -xplatform winmobile6Pro -nomake examples -nomake tests
configure -platform win32-msvc2008 -xplatform winmobile6Pro -nomake examples -nomake tests
To copy to clipboard, switch view to plain text mode
stops with this error:
NMAKE: fatal error U1077: invalid integer constant expression (qstring.h (135))
NMAKE: fatal error U1077: invalid integer constant expression (qstring.h (135))
To copy to clipboard, switch view to plain text mode
It seems that the VS2008 Compiler can't handle some macros.
What can i do?
Another prolem seems to be that the wrong compiler is used.
The error message us thrown by the standard x86 compiler
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\"
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin\"
To copy to clipboard, switch view to plain text mode
instead of the x86_arm crosscompiler for wince
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm"
"C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm"
To copy to clipboard, switch view to plain text mode
But the qmake for winmobile6Pro seems to be correct
CE_SDK = Windows Mobile 6 Professional SDK # replace with actual SDK name
CE_ARCH = ARMV4I
CE_SDK = Windows Mobile 6 Professional SDK # replace with actual SDK name
CE_ARCH = ARMV4I
To copy to clipboard, switch view to plain text mode
Can anyone please help me? Does anyone know what i did wrong?
Thank you very much!
ChriD
Added after 1 38 minutes:
Well,
I managed to configure without any Errors by Setting the cross Compiler stuff fisrt and then set up the VS8 vcvars like this
set INCLUDE=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\include;C:\SDK\WindowsMobile6Pro\PocketPC\Include\Armv4i;
set LIB=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\SDK\WindowsMobile6Pro\PocketPC\Lib\Armv4i;
set PATH=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
configure -platform win32-msvc2008 -xplatform winmobile6Pro -nomake examples -nomake tests
set INCLUDE=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\include;C:\SDK\WindowsMobile6Pro\PocketPC\Include\Armv4i;
set LIB=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\SDK\WindowsMobile6Pro\PocketPC\Lib\Armv4i;
set PATH=C:\Programme\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"
configure -platform win32-msvc2008 -xplatform winmobile6Pro -nomake examples -nomake tests
To copy to clipboard, switch view to plain text mode
But now i got stuck on nmake with following error:
error: Second C linkage of overloaded function 'wcsftime' not allowed
error: memcpy_s: identifier not found
...
...
error: Second C linkage of overloaded function 'wcsftime' not allowed
error: memcpy_s: identifier not found
...
...
To copy to clipboard, switch view to plain text mode
It's the same error mentioned here but there is no solution
https://forum.qt.io/topic/49717/buil...on-error-c2733
Bookmarks