我正在Windows 7 x64主机上为Windows CE 6.0构建wcecompat(github.com/mauricek/wcecompat),并出现链接错误
LNK1112: module machine type 'X86' conflicts with target machine type 'THUMB'
这是我的构建脚本:
set OSVERSION=WCE600
set PLATFORM=VC-CE
set TARGETCPU=ARMV4I
set PATH=C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\ce\bin\x86_arm;C:\Perl64\bin;C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\bin;c:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE;
set INCLUDE=C:\Program Files (x86)\Windows CE Tools\SDKs\Toradex_CE600\Include
set LIB=C:\Program Files (x86)\Windows CE Tools\SDKs\Toradex_CE600\Lib
call perl config.pl
call nmake -f makefile
谢谢!