Compiler options do not specify -mv64+, but configuration is for C64x+

 2013-06-20 10:02:47

错误报告:

"pin_connect_cfg.s62", ERROR!   at line 365: [ ***** USER ERROR ***** - ]
         Project build options do not match Global configuration settings. 
           Compiler options do not specify -mv64+, but configuration is for
           C64x+
             .emsg "Project build options do not match Global configuration settings.  Compiler options do not specify -mv64+, but configuration is for C64x+"

"pin_connect_cfg.s62", ERROR!   at EOF: [E0300] The following symbols are
                                                undefined:
2 Assembly Errors, No Assembly Warnings
  GBL_L2MARMASK
  HWI_INTRMULTLOW
  HWI_INTRMULTHIGH

Errors in Source - Assembler Aborted

>> Compilation failure

[pin_connect_cfg_c.c] "C:CCStudio_v3.3C6000cgtoolsincl6x" -g -fr"E:/CCS_tutorial_2013_06_20/pin_connect/Debug" -d"_DEBUG" -@"Debug.lkf" "pin_connect_cfg_c.c"

Build Complete,
  2 Errors, 0 Warnings, 0 Remarks.

出错原因:

工程的编译设置和ccs全局的设置不相匹配。ccs全局设置为c64x+,而编译选项为-mv64+。

解决办法:

Go to Project->Build Options, select the compiler tab & the basic page, then change the target version to c64+.

原文地址:https://www.cnblogs.com/youngforever/p/3145457.html