utils.tci文件编译错误的解决方法- 正解

问题:
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  */

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值