Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Linking fails for WINCE7

    Installation and Deployment
    3
    4
    1423
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      spiesra last edited by

      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?

      1 Reply Last reply Reply Quote 0
      • M
        mariosgn last edited by

        Hello,

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

        1 Reply Last reply Reply Quote 0
        • G
          Gerharddc last edited by

          I have the same problem

          1 Reply Last reply Reply Quote 0
          • G
            Gerharddc last edited by

            I have the same problem

            1 Reply Last reply Reply Quote 0
            • First post
              Last post