Results 1 to 1 of 1

Thread: cannot compile qt4.6.3 for CE with vs2005 sp1

  1. #1

    Default cannot compile qt4.6.3 for CE with vs2005 sp1

    after invoking nmake, I got:

    Creating library ..\..\lib\QtCored4.lib and object ..\..\lib\QtCored4.exp
    qtsciicodec.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qcoreapplication.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qcoreapplication_win.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qfunctions_wince.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qtextcodec.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qsettings.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qfsfileengine_win.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    quuid.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qlibrary_win.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qdatastream.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qfile.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qtextstream.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qtemporaryfile.obj : error LNK2019: unresolved external symbol __GSHandlerCheck referenced in function "int __cdecl _gettemp(char *,int *,int,int)" (?_gettemp@@YAHPADPAHHH@Z)
    gzio.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    inftrees.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    trees.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    harfbuzz-shaper-all.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qdatetime.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qlocale.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qregexp.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qstring.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qglobal.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qbytearray.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qbytearraymatcher.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    qcryptographichash.obj : error LNK2001: unresolved external symbol __GSHandlerCheck
    ..\..\lib\QtCored4.dll : fatal error LNK1120: 1 unresolved externals
    NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual Studio 8\VC\ce\bin\x86_arm\link.EXE"' : return code '0x460'
    Stop.
    NMAKE : fatal error U1077: '"d:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe"' : return code '0x2'
    Stop.
    NMAKE : fatal error U1077: 'cd' : return code '0x2'
    Stop.

    This seems to be a problem with sp1 upgrade. The suggested workaround is to explicitly include "libcmt.lib". So, I tried adding the "libcmt.lib" to "\mkspecs\common\wince\qmake.conf" and "\mkspecs\wince50standard-armv4i-msvc2005\qmake.conf", but error remained.
    Last edited by feverzsj; 2nd August 2010 at 08:47.

Similar Threads

  1. Qt 4.6.2 with VS2005
    By Leolander in forum Installation and Deployment
    Replies: 8
    Last Post: 18th March 2010, 03:18
  2. Replies: 1
    Last Post: 25th January 2010, 10:12
  3. QtCreator won't compile using VS2005
    By Spinz99 in forum Installation and Deployment
    Replies: 0
    Last Post: 3rd April 2009, 23:25
  4. cannot compile the MainWindow example with vs2005
    By billconan in forum Qt Programming
    Replies: 5
    Last Post: 31st May 2008, 18:27
  5. Qt4 with VS2005
    By bkastel1 in forum Qt Programming
    Replies: 9
    Last Post: 6th November 2007, 12:54

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.