Hello,
I am trying to install Qwt on a Windows 7 host system under VS2008. Target system is a Tordadex Colibri running Windows CE 7.
The existing environment consists of VS2008, the Toradex SDK for CE7 and Qt 4.8.4 (from Toradex or self-built), works properly and everything runs fine. Qt is in the PATH.
I tried the following way to add Qwt to the existing setup:
- Extract Qwt to c:\qwt-6.1.0
- Start VS2008 and open command prompt
- Change dir to Qwt folder
- set INCLUDE=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\include;C:\Program Files (x86)\Windows CE Tools\SDKs\SDK2wince7\Include\Armv4i
- 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
- set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;%PATH%
- qmake qwt.pro
- nmake
Here nmake fails with a fatal error: "LNK1112: module machine type 'X86' conflicts with target machine type 'THUMB'.
Adding the commands
- set OSVERSION=WCE700
- set TARGETCPU=ARMV4I
- set PLATFORM=wince70sdk2wince7-armv4i-msvc2008
- set machine=thumb
before the call of qmake doesn't change it.
I really don't know what the problem is, maybe QtDesigner.lib is used on the host and therefore conflicts with the target system setting?
Any help would be greatly appreciated.
Regards and merry X-mas,
vicacid.
Bookmarks