WinCE7 with Qt5.1beta problems at nmake
-
Hi,
I'm trying to build Qt5.1beta for WinCE7 and while nmake I get the following error-message:
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106): fatal error C1189: #error : ERROR: Use of C runtime library internal header file.The SDK you can get here:
http://support.garz-fricke.com/projects/Vincell/WindowsCE7/OS V 1.7.0-0/SDK/VINCELL (i.MX53) SDK CE 7 V1.7.0-0.msiAs configure parameters I use: configure -opensource -nomake examples -nomake tests -nomake examples -prefix C:\qt\5.1.0\qtbase -confirm-license -debug-and-release -xplatform wince70vincell-armv4i-msvc2008 -platform win32-msvc2008 -opengl desktop
For PATH, LIB and INCLUDES I'm using the generated batch-file from qt 4.8.4:
@@echo off
echo Environment Selection:Vincell CE7 SDK (ARMv4I)
set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;$(WindowsSdkDir)\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common\Tools;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common\IDE;C:\Program Files (x86)\Microsoft Visual Studio 9.0;$(FrameworkSDKDir)Bin;%PATH%
set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce7\include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files (x86)\Windows CE Tools\SDKs\Vincell CE7 SDK\include\ARMv4I;C:\Program Files (x86)\Windows CE Tools\SDKs\Vincell CE7 SDK\include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce7\atlmfc\include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\include;C:\Program Files (x86)\Microsoft Visual Studio 9.0\SmartDevices\SDK\SQL Server\Mobile\v3.0;%INCLUDE%
set LIB=C:\Program Files (x86)\Windows CE Tools\SDKs\Vincell CE7 SDK\lib\ARMv4I;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce7\atlmfc\lib\ARMv4I;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\atlmfc\lib\ARMv4I;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce7\lib\ARMv4I;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\lib\ARMv4I%LIB%
@To see the whole console-output click "here":http://titanpad.com/xJW7E6NK2F
-
the CI system uses
configure -opensource -confirm-license -prefix C:\work\build\qt\qtbase -make libs -make tools -make examples -make tests -no-incredibuild-xge -release -platform win32-msvc2008 -xplatform wince70embedded-armv4i-msvc2008 -no-accessibility -opengl es2 -rtti
and it compiles ... see http://testresults.qt-project.org/ci/QtBase_stable_Integration/latest-success/wince70embedded-armv4i-msvc2008_Windows_7/log.txt.gz
hope it helps
-
Hi,
I tried your configure but get the same error as before:cl -c -nologo -Zm200 -Zc:wchar_t -O2 -MD -W3 -w34100 -w34189 -DUNICODE -
DWIN32 -DQT_BOOTSTRAPPED -DQT_LITE_UNICODE -DQT_NO_CAST_TO_ASCII -DQT_NO_CODECS
-DQT_NO_DATASTREAM -DQT_NO_LIBRARY -DQT_NO_QOBJECT -DQT_NO_SYSTEMLOCALE -DQT_NO_
THREAD -DQT_NO_UNICODETABLES -DQT_NO_USING_NAMESPACE -DQT_NO_DEPRECATED -DQT_NO_
TRANSLATION -DQT_QMAKE_LOCATION="C:/qt/5.1.0/qtbase/bin/qmake" -DQT_CRYPTOGRAP
HICHASH_ONLY_SHA1 -DQT_NO_CAST_FROM_ASCII -DQT_BUILD_BOOTSTRAP_LIB -DQT_BUILDING
_QT -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_DEPREC
ATED_WARNINGS -DQT_DISABLE_DEPRECATED_BEFORE=0x040800 -D_USE_MATH_DEFINES -DQT_N
O_EXCEPTIONS -DQT_NO_DEBUG -DQT_NO_DYNAMIC_CAST -DNDEBUG -I"C:\qt\5.1.0\qtbase\i
nclude" -I"C:\qt\5.1.0\qtbase\include\QtCore" -I"C:\qt\5.1.0\qtbase\include\QtCo
re\5.1.0" -I"C:\qt\5.1.0\qtbase\include\QtCore\5.1.0\QtCore" -I"C:\qt\5.1.0\qtba
se\include\QtXml" -I"C:\qt\5.1.0\qtbase\include\QtXml\5.1.0" -I"C:\qt\5.1.0\qtba
se\include\QtXml\5.1.0\QtXml" -I"tmp" -I"C:\qt\5.1.0\qtbase\src\corelib\global"
-I"....\3rdparty\zlib" -I"......\mkspecs\win32-msvc2008" -Fo.obj\release_shar
ed\ @C:\Users\MACIO1~1\AppData\Local\Temp\nmE6EC.tmp
qlatincodec.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106)
: fatal error C1189: #error : ERROR: Use of C runtime library internal header f
ile.
qtextcodec.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106)
: fatal error C1189: #error : ERROR: Use of C runtime library internal header f
ile.
qutfcodec.cpp
C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include\crtdefs.h(106)
: fatal error C1189: #error : ERROR: Use of C runtime library internal header f
ile.
Code wird generiert...
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 9.0
VC\ce\bin\x86_arm\cl.EXE"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 9.0
VC\bin\nmake.exe"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop. -
So far I found out, that the DEFINE _WIN_CE is not set.
But in every Makefile _WIN_CE is defined.
Even the path of the makefile are not set when I'm just use nmake.
I have to define them manually.So something is definitely wrong here.
edit
i've tried again without setting se path/lib/include via the qt4.8.4 batch-filemaybe this was just the mistake
(but it's still building at the moment)
edit
and that's how it ends...link /NOLOGO /NODEFAULTLIB:OLDNAMES.LIB /DEBUG /SUBSYSTEM:WINDOWSCE,7.00
/MACHINE:THUMB /DLL /SAFESEH:NO /VERSION:5.10 /OUT:C:\qt\5.1.0\qtbase\lib\Qt5Co
red.dll @C:\Users\MACIO1~1\AppData\Local\Temp\nmF6E8.tmp
Bibliothek "C:\qt\5.1.0\qtbase\lib\Qt5Cored.lib" und Objekt "C:\qt\5.1.0\qtba
se\lib\Qt5Cored.exp" werden erstellt.
qprocess.obj : error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""pu
blic: bool __cdecl QProcessPrivate::drainOutputPipes(void)" (?drainOutputPipes@Q
ProcessPrivate@@QAA_NXZ)" in Funktion ""public: bool __cdecl QProcessPrivate::_q
_processDied(void)" (?_q_processDied@QProcessPrivate@@QAA_NXZ)".
C:\qt\5.1.0\qtbase\lib\Qt5Cored.dll : fatal error LNK1120: 1 nicht aufgelöste ex
terne Verweise.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 9.0
VC\ce\bin\x86_arm\link.EXE"": Rückgabe-Code "0x460"
Stop.
NMAKE : fatal error U1077: ""C:\Program Files (x86)\Microsoft Visual Studio 9.0
VC\BIN\nmake.exe"": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.
NMAKE : fatal error U1077: "cd": Rückgabe-Code "0x2"
Stop.for the whole output take again a look here http://titanpad.com/xJW7E6NK2F