none
coredll.lib(COREDLL.dll) : fatal error LNK1112(embedded visual c++) RRS feed

  • 常规讨论

  • Hello everyone!

    I am developing VC++ code with embedded visual 4.0.

    When I compile the code, I got the error message as below.

    coredll.lib(COREDLL.dll) : fatal error LNK1112: module machine type 'THUMB' conflicts with target machine type 'ARM'
    Error executing link.exe.

    Platform is 'EM9160 SDK (ARMV4I)'.

    project---settings---link----project---options:

    commctrl.lib coredll.lib /nologo

    /base:"0x00010000"

    /stack:0x10000,0x1000

     /entry:"wWinMainCRTStartup"

     /incremental:yes

    /pdb:"ARMV4IDbg/CDT.pdb"

    /debug /nodefaultlib:"$(CENoDefaultLib)"

    /out:"ARMV4IDbg/CDT.exe"

    /subsystem:$(CESubsystem) /MACHINE:ARM

    Though I tried to resolve this error by applying a couple of combinations of different options in Compile and Linker, they did not work.

    I would appreciate it if you give me an idea how to clear this error.

    Thanks in advance.

                                    mr xie


    2011年4月21日 2:03

全部回复