TI中文支持网
TI专业的中文技术问题搜集分享网站

MonoMtrServo_377s在build projact过程中出现的问题

**** Build of configuration F2837x_RAM for project MonoMtrServo_F28377S ****

"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k allBuilding file: "../config.c"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/bin/cl2000" -v28 -ml -mt –cla_support=cla0 –float_support=fpu32 –tmu_support=tmu0 –vcu_support=vcu2 -O1 –opt_for_speed=5 –fp_mode=relaxed –include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.2.LTS/include" –include_path="D:/ti test/MonoMtrServo_F28377S/utility Src Files" –include_path="D:/ti test/v210/F2837xS_common/include" –include_path="D:/ti test/v210/F2837xS_headers/include" –include_path="D:/ti test/libs/app_libs/motor_control/math_blocks/v4.3" –include_path="D:/ti test/libs/math/IQmath/v160/include" –advice:performance=all –define=_DEBUG –define=CPU1 –define=LARGE_MODEL -g –diag_warning=225 –quiet -k –asm_listing –preproc_with_compile –preproc_dependency="config.d_raw" –tmu_support=tmu0 "../config.c"
>> Compilation failure
subdir_rules.mk:93: recipe for target 'config.obj' failed
"../config.c", line 259: error: a value of type "int16" cannot be assigned to an entity of type "union DBRED_REG"
"../config.c", line 260: error: a value of type "int16" cannot be assigned to an entity of type "union DBFED_REG"
2 errors detected in the compilation of "../config.c".
gmake: *** [config.obj] Error 1
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

问题程序:

Susan Yang:

我用CCS9.2测试了一下,编译成功,并没有出现这样的错误

您是直接编译的例程未作修改?

user4373929:

回复 Susan Yang:

我是将例程复制后,再建了相同的工程,然后再进行buid projact,就出现上面的问题,不知为什么

Susan Yang:

回复 user4373929:

您是如何复制的?因为那个工程还要引用别的文件夹中的文件,建议直接在controlsuite的路径下打开,或者从根目录上进行复制。

gaoyang9992006:

回复 user4373929:

可以查看工程的配置,是不是引用了 其他的头文件或者不在该目录的库函数或配置文件。

赞(0)
未经允许不得转载:TI中文支持网 » MonoMtrServo_377s在build projact过程中出现的问题
分享到: 更多 (0)