Build fails for wince sdk make spec for qt 4.8
-
Hi,
I'm trying to port our libraries which are currently 4.7.2 to the new 4.8.0. Our win32 libraries build fine but our arm for wince libraires not so much.
qelapsedtimer.cpp
qhash.cpp
qline.cpp
qlinkedlist.cpp
qlist.cpp
qlocale.cpp
qlocale_tools.cpp
c:\Qt\4.8.0\src\corelib\tools\qlocale_tools.cpp(2266) : error C3861: '_control87': identifier not found
c:\Qt\4.8.0\src\corelib\tools\qlocale_tools.cpp(2274) : error C3861: '_control87': identifier not found
c:\Qt\4.8.0\src\corelib\tools\qlocale_tools.cpp(2287) : error C3861: '_control87': identifier not found
qpoint.cpp
qmap.cpp
qmargins.cpp
qcontiguouscache.cpp
qrect.cpp
qregexp.cpp
qshareddata.cpp
Generating Code...
Compiling...
qsharedpointer.cpp
qsimd.cpp
qsize.cpp
qstring.cpp
qstringbuilder.cpp
qstringlist.cpp
qtextboundaryfinder.cpp
qtimeline.cpp
qvector.cpp
qvsnprintf.cpp
c:\Qt\4.8.0\src\corelib\tools\qvsnprintf.cpp(102) : warning C4996: '_vsnprintf' was declared deprecated
C:\Program Files (x86)\Windows CE Tools\wce600\sdk\include\ARMV4I\stdlib.h(377) : see declaration of '_vsnp
rintf'
Message: 'This function or variable may be unsafe. Consider using _vsnprintf_s instead. To disable deprecation,
use _CRT_SECURE_NO_DEPRECATE. See online help for details.'
qelapsedtimer_win.cpp
qlocale_win.cpp
qharfbuzz.cpp
Generating Code...
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\ce\bin\x86_arm\cl.EXE"' : return code '
0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 8\VC\bin\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
02:09 PM
02:09 PMc:\Qt>
-
In the thread linked below you can find the answer to your problem:
http://developer.qt.nokia.com/forums/viewthread/12624/There are various things to patch to compile Qt 4.8 for Windows CE.
IIRC they will be fixed in release 4.8.1 (the commercial release 4.8
already includes most of the patches).