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.

I have a Compile problem

Other Parts Discussed in Thread: CCSTUDIO

hi,

I found several reply about this matter.  Now I know this is xdcpath problem.

Although I have tried to solve this matter with several ways, I still don't know why.

 Anyone help me to solve this problem.please 

 

------------  dm648_evm_vport_st_sd_compositor_sample.pjt - Debug  ------------
[dm648_evm_vport_st_sd_compositor_sample.cfg] "C:\xdc_2_95_02\xs.exe" xdc.tools.configuro.ccs  --xdcpathsfile="xdcpaths.dat" -pti.platforms.evmDM648 -rdebug -w --tcf -t ti.targets.C64P -c "C:/CCStudio_v3.3/C6000/cgtools" --bios "C:/CCStudio_v3.3/bios_5_33_06" -o "xdcconfig" dm648_evm_vport_st_sd_compositor_sample.cfg

Info: running XDC configuration using package path:
C:\edma3_lld_1_05_00\packages
Z:\pspdrivers\pspdrivers_\packages
C:\CCStudio_v3.3\bios_5_33_06\packages
C:\xdc_2_95_02\packages


The configuration step is now running:

making package.mak (because of package.bld) ...
generating interfaces for package xdcconfig (because package/package.xdc.xml is older than package.xdc) ...
configuring dm648_evm_vport_st_sd_compositor_sample.x64P from package/cfg/dm648_evm_vport_st_sd_compositor_sample_x64P.cfg ...
js: "C:/xdc_2_95_02/include/utils.tci", line 488: exception from uncaught JavaScript throw: Error: Can't find import file: 'ti/sdo/pspdrivers/system/dm648/bios/evmDM648/i2c/dm648_i2c0.tci' (not found along 'C:\dvsdk_1_11_00_00_DM648\pspdrivers_1_10_00\packages\ti\sdo\pspdrivers\system\dm648\bios\evmDM648\video\sample\build\sd_compositor/;.;C:/edma3_lld_1_05_00/packages;Z:/pspdrivers/pspdrivers_/packages;C:/CCStudio_v3.3/bios_5_33_06/packages;C:/xdc_2_95_02/packages;C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm648/bios/evmDM648/video/sample/build/sd_compositor;C:/xdc_2_95_02/packages;..;C:/xdc_2_95_02;C:/xdc_2_95_02/etc;C:/CCStudio_v3.3/bios_5_33_06/packages/ti/bios/include;c:\xdc_2_95_02/include;c:\xdc_2_95_02/packages')
    "C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm648/bios/evmDM648/video/sample/build/sd_compositor/dm648_evm_vport_st_sd_compositor_sample.tcf", line 26
    "C:/xdc_2_95_02/include/utils.tci", line 566
    "C:/xdc_2_95_02/include/utils.tci", line 484
    "./dm648_evm_vport_st_sd_compositor_sample.tcf", line 2
    "C:/xdc_2_95_02/include/utils.tci", line 566
    "C:/xdc_2_95_02/include/utils.tci", line 484
    "./package/cfg/dm648_evm_vport_st_sd_compositor_sample_x64P.cfg", line 634
    "./package/cfg/dm648_evm_vport_st_sd_compositor_sample_x64P.cfg", line 605
    "C:/xdc_2_95_02/packages/xdc/cfg/Main.xs", line 182
    "C:/xdc_2_95_02/packages/xdc/cfg/Main.xs", line 151
    "C:/xdc_2_95_02/packages/xdc/xs.js", line 137
gmake.exe: *** [package/cfg/dm648_evm_vport_st_sd_compositor_sample_x64P.c] Error 1

*************************
Configuration step failed.
*************************

Explanation:
-----------
XDC tools could not find file 'ti/sdo/pspdrivers/system/dm648/bios/evmDM648/i2c/dm648_i2c0.tci' in your package path.
If this is a valid script name --
To correct this error, you must locate a directory on your system
that contains that script and add it to your package path.
(You can use an absolute path or one relative to your project,
e.g. '../../myTconfScripts/'.)
If you are unsure which script attempted to load the missing script,
please look at the list of scripts located below the original error line above.\n

Please review the above information carefully to correct this configuration error.

[psp_bios_vport_byte_swap.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -@"=C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm648/bios/evmDM648/video/sample/build/sd_compositor/xdcconfig/compiler.opt" -fr"./Debug" -i"C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages" -d"_DEBUG" -d"CHIP_DM648" -mv6400+ -mv64+ -@"../build/sd_compositor/Debug.lkf" "psp_bios_vport_byte_swap.c"

[psp_bios_vport_sd_compositor.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -@"=C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm648/bios/evmDM648/video/sample/build/sd_compositor/xdcconfig/compiler.opt" -fr"./Debug" -i"C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages" -d"_DEBUG" -d"CHIP_DM648" -mv6400+ -mv64+ -@"../build/sd_compositor/Debug.lkf" "psp_bios_vport_sd_compositor.c"
"C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/drivers/vport/vportdis.h", line 45: fatal error: could not open source file "ti/sdo/edma3/drv/edma3_drv.h"
1 fatal error detected in the compilation of "psp_bios_vport_sd_compositor.c".
Compilation terminated.

>> Compilation failure

[psp_bios_vport_st_sample_main.c] "C:\CCStudio_v3.3\C6000\cgtools\bin\cl6x" -g -q -@"=C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages/ti/sdo/pspdrivers/system/dm648/bios/evmDM648/video/sample/build/sd_compositor/xdcconfig/compiler.opt" -fr"./Debug" -i"C:/dvsdk_1_11_00_00_DM648/pspdrivers_1_10_00/packages" -d"_DEBUG" -d"CHIP_DM648" -mv6400+ -mv64+ -@"../build/sd_compositor/Debug.lkf" "psp_bios_vport_st_sample_main.c"

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

  • problem solved. If anyone has same problem, modify psp_xdcpaths_common.dat file like below.

     

    // DO NOT MOVE OR DELETE THIS LINE [JavaScript xdcpaths]
    // Note: Use /FORWARD/ slashes for all directories!


    //Section for non-DVSDK users
    //Section 1 Starts

     

     

    // Root directory for the PSP Drivers installation
    // User should modify this variable to point it to the ROOT directory
    // of PSP installation directory.
    pspRootDir = "C:/dvsdk_1_11_00_00/";     -->  here, check your dir


    // PSP version number
    // If working from clearcase, this variable should be NULL as shown below:
    //pspversion = "";
    pspversion = "1_10_00";                      ---->  here, check your version

    // PSP installation directory
    // It is the directory where PSP is installed.
    pspInstallDir ="pspdrivers_" + pspversion ;

     


    // EDMA3 installation directory
    // It is the directory where EDMA3 LLD is installed.
    edma3InstallDir = "C:/dvsdk_1_11_00_00/edma3_lld_1_05_00";      ----> here, check your dir

    xdcpaths =
               // EDMA3 build directory
               edma3InstallDir + "/packages;" +

               // PSP Drivers build directory
               pspRootDir + pspInstallDir + "/packages;" +

               "";

    //Section 1 Ends


    //Section for DVSDK users
    //Section 2 Starts

    /**
     * For making a release to the DVSDK, Section 1 above needs to be commented and
     * the code below needs to be un-commented. This is needed in order to include
     * the DVSDK dat file, so that the standalone sample apps can be built.


     */
    /*
    //var    xdcPathsFile;

    //function getWindowsEnvironmentVar( envvarName )
    //{
    //    var temp = java.io.File.createTempFile("envVarEchoer", ".bat");
    //    temp.deleteOnExit();
    //    var out = new java.io.BufferedWriter(new java.io.FileWriter(temp));
    //    out.write( "@echo %" + envvarName + "%" );       
    //    out.close();
    //
    //    var runtime = java.lang.Runtime.getRuntime();
    //    var proc = runtime.exec( temp.getPath() );
    //    var status = proc.waitFor();
    //
    //    var envvar = java.io.BufferedReader(new
    //java.io.InputStreamReader(proc.getInputStream())).readLine();
    //    if (envvar == "ECHO is on.") {
    //        envvar = "";
    //    }
    //    return (envvar + "").replace( "\\", "/", "g" );
    //}
    //
    //    xdcPathsFile = this.xdcPathsFile;
    //
    //this.xdcPathsFile = getWindowsEnvironmentVar("BIOSDVSDK_INSTALL_DIR");
    //
    //print( "xdcpaths-common.dat> using BIOSDVSDK_INSTALL_DIR=" + this.xdcPathsFile );
    //
    //if (xdcPathsFile == "") {
    //    throw "Error: Windows environment variable BIOSDVSDK_INSTALL_DIR is not set. Please run Start->Control Panel-> ..."
    //}
    //
    //load (xdcPathsFile + "/xdcpaths_evmDM648.dat");

    //Section 2 Ends  */

  • I'm glad you found this and I am sorry you had to figure it out yourself. Just for the sake of getting this info out there this is mentioned in the Additional Information section of the Release Notes.

  • js: "C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02/include/utils.tci", line 488: exception from uncaught JavaScript throw: Error: Can't find import file: 'ti/sdo/pspdrivers/system/dm648/bios/evmDM648/uart/dm648_uart0.tci' (not found along 'C:\CCStudio_v3.3\sdo\pspdrivers\system\dm648\bios\evmDM648\uart\build/;.;C:/edma3_lld_1_03_01_01/packages;Z:/pspdrivers/pspdrivers_/packages;C:/CCStudio_v3.3/bios_5_31_02/packages;C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02/packages;C:/CCStudio_v3.3/sdo/pspdrivers/system/dm648/bios/evmDM648/uart/build;C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02/packages;..;C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02;C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02/etc;C:/CCStudio_v3.3/bios_5_31_02/packages/ti/bios/include;c:\dvsdk_1_10_00_26_DM648\xdc_2_95_02/include;c:\dvsdk_1_10_00_26_DM648\xdc_2_95_02/packages') --> build option/ xdc_path/ C:\dvsdk_1_11_00_00_DM648\pspdrivers_1_10_00\packages

    configuring dm648_evm_uart_st_sample.x64P from package/cfg/dm648_evm_uart_st_sample_x64P.cfg ...
    js: "C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02/packages/xdc/xdc.tci", line 254: exception from uncaught JavaScript throw: Error: xdc.loadPackage: can't find package 'ti.sdo.edma3.drv.sample' along the path 'C:/edma3_lld_1_03_01_01/packages;Z:/pspdrivers/pspdrivers_/packages;C:/dvsdk_1_10_00_26_DM648/pspdrivers_1_10_00_09/packages;C:/CCStudio_v3.3/bios_5_31_02/packages;C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02/packages;C:/CCStudio_v3.3/sdo/pspdrivers/system/dm648/bios/evmDM648/uart/build;C:/dvsdk_1_10_00_26_DM648/xdc_2_95_02/packages;C:/CCStudio_v3.3/sdo/pspdrivers/system/dm648/bios/evmDM648/uart/build/xdcconfig/./..;'; try redefining the package path (XDCPATH). --> psp_xdcpaths_common modify

     

  • dsp/bios update --> build clean

  • Same problem here.

    of the next post: dsp/bios update ????

    please help.

    Regards,

    Theo

  • hi,

    ok, if you have followed my instruction above, do these actions.

    1. resave dsp/bios confiuration

    2. build clean

    3. rebuild

    good luck!!!

     

  • 1. resave dsp/bios confiuration

    how ???

    2. build clean

    how ???

     

  • Hi,

    ..problem solved :-)

    I stil had some typo's in the psp_xdcpaths_common.dat

    Thanks for your support !!

    regards,

    The0