This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/TMS320C6678:如何修复此错误?或这意味着什么? gmake:***[src/***.obj]Error1

Guru**** 2589265 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/638075/ccs-tms320c6678-how-to-fix-this-error-or-what-does-it-means-gmake-src-obj-error1

器件型号:TMS320C6678

工具/软件:Code Composer Studio

您好~

我使用 C6678和 OpenCV 来处理图像、 我在那里得到了 OpenCV  

befor 我在 CCS 上调试它。 我在 Visual Studio 上运行它,它运行得很好。 然后我将其移动到 CCS v6.2并将 OpenCV (我之前已获得)头文件和库文件添加到项目中。

但在调试时、我得到的误差如下所示

所以我想知道这意味着什么,如果你能告诉我如何解决它,那就更好了。

谢谢

_________________________________

附录

从"Debug"文件夹获取的 makefile 文件

_________________________________

############################################################################################################################
#自动生成的文件。 请勿编辑!
############################################################################################################################

Shell = cmd.exe

CG_TOOL_ROOT:= B:/TI/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1

Gen_opts__flag:=
Gen_CMDS__FLAG:=

order_OBJS +=\
"./runtracker。obj"\
"./src/files/fhog.obj \
"./src/files/kcftracker.obj \
"../platform_utils.cmd"\
"../src/opencvForTIC66x/cv/lib/cv.lib
"../src/opencvForTIC66x/cv/lib/cvd.lib
"../src/opencvForTIC66x/cv/lib/cxcore.lib
"../src/opencvForTIC66x/cv/lib/cxcored.lib
"../src/opencvForTIC66x/cxcore/lib/cxcore.lib
"../src/opencvForTIC66x/cxcore/lib/cxcored.lib
$(GEN_CMDS__FLAG)\
-llibc.a \
-l"B:/TI/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/lib/rts64plus_elf.lib
-l"a:/ccs_workspace_v6_2/HelloWorld/src/opencvForTIC66x/CV/lib/CV.lib"\
-l"a:/ccs_workspace_v6_2/HelloWorld/src/opencvForTIC66x/CV/lib/CVD.lib"\
-l"a:/ccs_workspace_v6_2/HelloWorld/src/opencvForTIC66x/CV/lib/cxcore.lib"\
-l"a:/ccs_workspace_v6_2/HelloWorld/src/opencvForTIC66x/CV/lib/cxcored.lib"\
-l"a:/ccs_workspace_v6_2/HelloWorld/src/opencvForTIC66x/cxcore/lib/cxcore.lib"\
-l"a:/ccs_workspace_v6_2/HelloWorld/src/opencvForTIC66x/cxcore/lib/cxcored.lib"\

-include ./makefile.init

rm:= del /F
rmdir := RMDIR /S/Q

#参与构建的所有源都在此处定义
-include sources.mk
-include subdir_vars.mk
-include src/files/subdir_vars.mk
-include src/opencvForTIC66x/CV/lib/subdir_vars.mk
-include src/opencvForTIC66x/cxcore/lib/subdir_vars.mk
-include subdir_rules.mk
-include src/files/subdir_rules.mk
-include src/opencvForTIC66x/CV/lib/subdir_rules.mk
-include src/opencvForTIC66x/cxcore/lib/subdir_rules.mk
-include 对象.mk

ifneq ($(MAKECMDGOALS)、Clean)
ifneq ($(strip $(S_DEPS))、)
-include $(S_DEPS)
字节序
ifneq ($(条带$(S_UPPER))、)
-include $(S_UPPER DEPS)
字节序
ifneq ($(strip $(S62_DEPS))、)
-include $(S62_DEPS)
字节序
ifneq ($(strip $(C64_DEPS))、)
-include $(C64_DEPS)
字节序
ifneq ($(strip $(asm_DEPS))、)
-include $(ASM_DEPS)
字节序
ifneq ($(条带$(CC_DEPS))、)
-include $(CC_DEPS)
字节序
ifneq ($(条带$(SV7A_DEPS))、)
-include $(SV7A_DEPS)
字节序
ifneq ($(条带$(S55_DEPS))、)
-include $(S55_DEPS)
字节序
ifneq ($(strip $(C67_DEPS))、)
-include $(C67_DEPS)
字节序
ifneq ($(条带$(CLA_DEPS))、)
-include $(CLA_DEPS)
字节序
ifneq ($(strip $(C???_DEPS))、)
-include $(C?_DEPS)
字节序
ifneq ($(strip $(CPP_DEPS))、)
-include $(CPP_DEPS)
字节序
ifneq ($(strip $(S??_DEPS))、)
-include $(S??_DEPS)
字节序
ifneq ($(strip $(C_DEPS))、)
-include $(C_DEPS)
字节序
ifneq ($(条带$(C62_DEPS))、)
-include $(C62_DEPS)
字节序
ifneq ($(strip $(CXX_DEPS))、)
-include $(CXX_DEPS)
字节序
ifneq ($(条带$(C++_DEPS))、)
-include $(C++ DEPS)
字节序
ifneq ($(strip $(asm_upper _DEPS))、)
-include $(ASM_UPPER DEPS)
字节序
ifneq ($(条带$(K_DEPS))、)
-include $(K_DEPS)
字节序
ifneq ($(strip $(C43_DEPS))、)
-include $(C43_DEPS)
字节序
ifneq ($(strip $(ino_DEPS))、)
-include $(INO_DEPS)
字节序
ifneq ($(条带$(S67_DEPS))、)
-include $(S67_DEPS)
字节序
ifneq ($(strip $(SA_DEPS))、)
-include $(SA_DEPS)
字节序
ifneq ($(条带$(S43_DEPS))、)
-include $(S43_DEPS)
字节序
ifneq ($(条带$(opt_DEPS))、)
-include $(opt_DEPS)
字节序
ifneq ($(strip $(PDE_DEPS))、)
-include $(PDE_DEPS)
字节序
ifneq ($(strip $(S64_DEPS))、)
-include $(S64_DEPS)
字节序
ifneq ($(条带$(C_UPPER))、)
-include $(C_UPPER DEPS)
字节序
ifneq ($(条带$(C55_DEPS))、)
-include $(C55_DEPS)
字节序
字节序

-include ./makefile.defs

#将这些工具调用的输入和输出添加到构建变量
exe 输出+=\
HelloWorld.out \

EXE_OUTPINS__QUOTED +=\
"HelloWorld.out"\

bin_outputs +=\
HelloWorld.hex \

bin_outputs__outputs +=\
"HelloWorld.hex"\


#所有目标
所有:HelloWorld.out

#工具调用
HelloWorld.out:$(OBJS)$(CMD_SRCS)$(LIB_SRCS)$(GEN_CMDS)
@echo "构建目标:$@"
@echo "调用:C6000链接器"
"b:/TI/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/bin/cl6x -mv6600 -g -diag_wrap=off -diag_warning=225 -display_error_number -z -m"HelloWorld.map"-i"B:/TI/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/lib -i"B:/TI/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/include --reread_libs -warn_sections -display_error_number ---js_wrap_rom-"ello_link_out-"-"pru_rom_link_rom_rom_ordinched -"-"-"_line_link_rom_rom_over-"-"-"uested_line"-"_line"-"u_line_remote_lin
@echo "完成的构建目标:$@"
@回波''

HelloWorld.hex:$(EXE_OUTPs)
@echo '调用:C6000十六进制实用程序'
"b:/TI/ccsv6/tools/compiler/ti-cgt-c6000_8.1.1/bin/hex6x -o "HelloWorld.hex"$(EXE_OUTPINS__QUOTED)
@回声'完工建筑:$@'
@回波''

#其他目标
清理:
-$(RM)$(EXE_OUTPINS__QUOTED)$(BIM_OUTPINS__QUOTED)
-$(rm)"runtracker .d""src\files\fhog.d""src\files\kcftracker .d"
-$(rm)"runtracker.obj""src\files\fhog.obj""src\files\kcftracker.obj"
-@回波"已完成清洁"
-@回波''

交响乐:所有干净的家属
次要:

-include ./makefile.targets

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好!

    我已通知软件团队。 他们的反馈将在此处发布。

    此致、
    Yordan
  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    您好~

    我已修复。详情如下

    ///----------------------------------------------------------

    我从工业成像演示中获得了 OpenCV,正如 IID 的 GUID 所说,它适用于 C66x。  

    验证信息显示 OpenCV 应在 CGT v7.4.0下编译

    但我的 CGT 为 v8.1.1,控制台报告为:

    >>编译失败 src/files/subdir_rules.mk:14:目标'scrc/files/*** .obj'失败  

    >>./src/files .cp、第466行:内部错误:分解错误

    然后我重新安装 CGT v7.4,并重新编译它。  我得到了正确的结果

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    感谢您发布解决方案。 从 TI CGT 7.4.x 迁移到 TI CGT 8.1.x,TI 编译器已将默认二进制格式从 COFF 二进制更改为 ELF,因此如果您使用 COFF 二进制文件,我们建议您使用 CGT 7.4。

    您使用的软件相当旧、因此我怀疑它是使用旧编译器编译的。

    此致、
    Rahul