fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'

    技术2024-10-02  69

    此问题为连接库生成文件的平台类型不匹配的问题,一般在Build 高版本的时候容易出现这个问题.

    在VS2005中:查找:

    Project--**Properties--Configuration Properties--Linker--Command Line下有Additional Properties你会看到:/subsystem:windowsce,4.20 /machine:ARM /ARMPADCODE

    这时候可以在后面加上 WM5.0 和 WM6.0 的平台信息/subsystem:windowsce,5.01 /machine:THUMB /subsystem:windowsce,6.01 /machine:THUMB

    重新Build your Project

    you would see:

    Rebuild All: 1 succeeded, 0 failed, 0 skipped.

    Best Regards to all! 

    最新回复(0)