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.

TMS320F280023C: 不清楚的编译故障

Part Number: TMS320F280023C
Other Parts Discussed in Thread: C2000WARE

编译不通过,出现

Fullscreen
1
2
3
4
5
6
7
Error: Cannot find module 'C:\dot_file_libraries\clbDotUtility.js'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
at internal/main/run_main_module.js:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
,请问这是什么意思。

  • 你好,这是CCS的报错吗?从来没见过这样的报错。

    你做了什么操作之后出现这样的请况?

  • 是CCS的报错,我将多摩川通讯例程合并到自己的工程上时出现。之前两个工程都能正常编译工作,合并时出现的故障。你们有遇到类似情况吗,能否给出解决的方案或查找问题的方向。

  • 我将问题发在英文论坛上看是否有人知道。

  • 这个不像是编译器的报错。这个错误是什么时候出现的?错误信息是在哪里输出的?

  • 问题在于Build—StepsPost-build steps 中多了一些代码,但我不知道他们起到什么作用。

    Fullscreen
    1
    2
    3
    4
    5
    mkdir "${BuildDirectory}/simulation"
    ${CLB_SIM_COMPILER}/g++ -c -DCLB_SIM -I${SYSTEMC_INSTALL}/src -I${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/systemc/include -I${PROJECT_ROOT} -I${CLB_SIM_COMPILER}/include -Og -g -gdwarf-3 -gstrict-dwarf -Wall -MMD -MP -MF${BuildDirectory}/simulation/clb_sim.d -MT${BuildDirectory}/simulation/clb_sim.o -I${BuildDirectory}/syscfg -fno-threadsafe-statics -o${BuildDirectory}/simulation/clb_sim.o ${BuildDirectory}/syscfg/clb_sim.cpp
    ${CLB_SIM_COMPILER}/g++ -DCLB_SIM -Og -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,${BuildDirectory}/simulation/simulation_output.map -L${SYSTEMC_INSTALL}/build/src -o${BuildDirectory}/simulation/simulation_output.exe ${BuildDirectory}/simulation/clb_sim.o ${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/systemc/src/CLB_FSM_SC_model.o ${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/systemc/src/CLB_HLC_SC_model.o ${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/systemc/src/CLB_LUT4_SC_model.o ${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/systemc/src/CLB_OutputLUT_SC_model.o ${C2000WARE_ROOT}/utilities/clb_tool/clb_syscfg/systemc/src/CLB_counter_SC_model.o -Wl,--start-group -lsystemc -Wl,--end-group
    ./simulation/simulation_output.exe
    ${NODE_TOOL} "${CLB_SYSCFG_ROOT}/dot_file_libraries/clbDotUtility.js" "${CLB_SYSCFG_ROOT}" "${BuildDirectory}/syscfg" "${BuildDirectory}/syscfg/clb.dot"
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

  • 你好,参考下工程师的回复:

    The post-build step regarding the clbDotUtility.js is used to generate the diagram for the CLB Tool; if you're not using it you can exclude the step by setting the NODE_TOOL variable to 0 in the Project Properties Build settings.

    If you are trying to generate a diagram for the CLB Tool, verify that the Linked Resources section of the Project Properties lists CLB_SYSCFG_ROOT as something like: C2000Ware_4_XX_XX_XX\utilities\clb_tool\clb_syscfg\dot_file_libraries, because otherwise it will always have this error.