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.

when I "rebuild all" the video_preview project, there are some error appear

Other Parts Discussed in Thread: CCSTUDIO

when I "rebuild all" the video_preview project, there are some error appear. But if I just compile File(press F7, not rebuild all), the compile is OK. 

The errors are as following:

------------------------  video_preview.pjt - Release  ------------------------
[video_preview.tcf] "C:\CCStudio_v3.3\bios_5_31_02\xdctools\tconf" -b -Dconfig.importPath=".;../common;C:/CCStudio_v3.3/bios_5_31_02/packages" video_preview.tcf
js: "C:/CCStudio_v3.3/bios_5_31_02/xdctools/include/utils.tci", line 484: exception from uncaught JavaScript throw: Error: Can't find import file: 'DM6437_common.tci' (not found along 'C:\dvsdk_1_01_00_15\examples\video_preview/;.;../common;C:/CCStudio_v3.3/bios_5_31_02/packages;C:\CCStudio_v3.3\bios_5_31_02\xdctools/include;C:\CCStudio_v3.3\bios_5_31_02\xdctools/packages')
    "./video_preview.tcf", line 18

[i2c_params.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"C:/dvsdk_1_01_00_15/examples/video_preview/Release" -i"C:/dvsdk_1_01_00_15/examples/video_preview" -i"." -i"C:/CCStudio_v3.3/boards/evmdm6437_v1/include" -i"../../PSP_0_05_03/pspdrivers/inc" -i"../../PSP_0_05_03/pspdrivers/drivers/inc" -i"../../PSP_0_05_03/pspdrivers/system/DM6437/bios/dm6437_evm/src/video/src" -i"../../PSP_0_05_03/pspdrivers/soc/dm6437/dsp/inc" -mv6400+ -@"../video_preview/Release.lkf" "i2c_params.c"
"i2c_params.c", line 9: fatal error: could not open source file "psp_i2c.h"
1 fatal error detected in the compilation of "i2c_params.c".
Compilation terminated.

>> Compilation failure

[video_preview.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -fr"C:/dvsdk_1_01_00_15/examples/video_preview/Release" -i"C:/dvsdk_1_01_00_15/examples/video_preview" -i"." -i"C:/CCStudio_v3.3/boards/evmdm6437_v1/include" -i"../../PSP_0_05_03/pspdrivers/inc" -i"../../PSP_0_05_03/pspdrivers/drivers/inc" -i"../../PSP_0_05_03/pspdrivers/system/DM6437/bios/dm6437_evm/src/video/src" -i"../../PSP_0_05_03/pspdrivers/soc/dm6437/dsp/inc" -mv6400+ -@"Release.lkf" "video_preview.c"
"video_preview.c", line 31: fatal error: could not open source file "psp_i2c.h"
1 fatal error detected in the compilation of "video_preview.c".
Compilation terminated.

>> Compilation failure

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

Please help me. Thank you very much!

  • This sounds like a path issue, and in this case it seems the paths are defined within the C:\dvsdk_1_01_00_15\xdcpaths.mak file, you may want to double check your paths as discussed in section 4.2.1 of the getting started guide in C:\dvsdk_1_01_00_15\spruev6.pdf.

  • Bernie Thompson said:

    This sounds like a path issue, and in this case it seems the paths are defined within the C:\dvsdk_1_01_00_15\xdcpaths.mak file, you may want to double check your paths as discussed in section 4.2.1 of the getting started guide in C:\dvsdk_1_01_00_15\spruev6.pdf.

    Hi Bernie,

    I have checked the C:\dvsdk_1_01_00_15\xdcpaths.mak according to C:\dvsdk_1_01_00_15\spruev6.pdf, but I didn't found problem. The default setting are as below. I think it is as the 4.2.1 of spruev6.pdf discrebed.

    DAVINCI6437_INSTALL_DIR := "C:/dvsdk_1_01_00_15/"

    BIOS_INSTALL_DIR  := c:/CCStudio_v3.3/bios_5_31_07

    So I don't know how to fix it. But I have tried that copy the text of evmDM6437_common.tci (C:\CCStudio_v3.3\bios_5_31_07\packages\ti\bios\examples\common\evmDM6437_common.tci) into video_preview.tcf of video_preview project, and rebuild all, it successful compiled.

    How do I fix this problem? Thanks.