Linking fails for WINCE7



  • Hello,
    At the moment I try to build qt5 out of source for wince7 on my win7 machine. I use a SDK from Toradex (http://developer.toradex.com/software-resources/arm-family/windows-ce/development-tools#Visual_Studio_2008)

    I downloaded Qt 5.1.1. source code, ran the configure in the visualstudio command prompt with

    Configure –platform win32-msvc2008 –xplatform wince70embedded-armv4i-msvc2008

    and compiling works fine with nmake. But i get a lot of errors during linking process:

    moc_qfilesystemwatcher_win_p.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static __int64 __cdecl std::numeric_limits<__int64>::min(void)" (_imp?min@?$numeric_limits@_J@std@@SA_JXZ)
    moc_qwindowspipewriter_p.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static __int64 __cdecl std::numeric_limits<__int64>::min(void)" (_imp?min@?$numeric_limits@_J@std@@SA_JXZ)
    qmimetypeparser.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static __int64 __cdecl std::numeric_limits<__int64>::min(void)" (_imp?min@?$numeric_limits@_J@std@@SA_JXZ)
    ...
    moc_qstringlistmodel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl std::_Lockit::~_Lockit(void)" (_imp??1_Lockit@std@@QAA@XZ)
    ...
    moc_qstringlistmodel.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __cdecl std::_String_base::~_String_base(void)" (_imp??1_String_base@std@@QAA@XZ)

    my LIB env I set to:
    set LIB=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\lib\armv4i;C:\Program Files (x86)\Windows CE Tools\SDKs\SDK2wince7\Lib\ARMv4I;

    Does anyone has an idea what else i have to link to?



  • Hello,

    did you solve the problem?
    I have the same error here with another custom SDK.
    Mario



  • I have the same problem



  • I have the same problem


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.