求助:关于CCS3.3软件编译的问题

时间:2022-01-24 20:51:43
我用的是ICETEK-DM6437-B开发板,原来装CCS3.3时可以正常使用,最近重装系统后发现在编译自带范例video_black_white时总会弹出错误:js: "./xdcpaths.dat", line 5: Couldn't open file "../../../xdcpaths_evmDM6437.dat".
js: "C:/dvsdk_1_01_00_15/xdc_2_95_02/packages/xdc/tools/configuro/ccs/Main.xs", line 72: exception from uncaught JavaScript throw:   Error: your script-based package paths file, xdcpaths.dat, is incorrect.
而我编译其他历程时例如led.prj等等 就不会弹出这样的错误,请问这是怎么回事呢?还请帮助解决一下。。。

4 个解决方案

#1


我也遇到同样的问题,期盼高手的解答( ⊙ o ⊙ )啊!

#2


What if I get an error like: js: "C:/xdc_2_95_01/include/utils.tci", line 826: exception from uncaught JavaScript throw: Error: Can't load ti.bios.tci :Error: Can't find import file: 'ti/bios/bios.tci'"? 
This occurs if the ti.bios repository is not on the XDCPATH. Set your XDCPATH as shown above. An example BIOS repository is: c:/bios_5_31_02/packages 

XDCPATH
XDCPATH is an environment variable used set to be a string of ';' separated directories that contain packages; i.e., repositories. XDCPATH is not the entire package path, it only defines the initial repositories searched. The values contained in XDCPATH may also be specified on the command line of any XDCtools command via the --xdcpath option; for example, see the xs command options documentation. 
It is usually a mistake to put a relative path in XDCPATH. Relative paths in XDCPATH reference directories relative to the package being built rather than the directory where the xdc command was invoked. Thus, a relative path will refer to a different repository for each package being built. 
It is possible, however, to use the '^' character in the XDCPATH definition to refer to the current package's repository. So, if you have a repository that is always in a fixed location relative to all of your package's repositories, it is possible to create a single XDCPATH setting that does not include any absolute paths. Suppose, for example, that your build system places all prerequisite packages in an imports repository prior to building the packages in a src repository and that the imports and src repositories are sibling directories in the file system. The following XDCPATH setting is sufficient to build all packages in the src repository. 
Windows 
  set XDCPATH=^/../imports
Unix 
  export XDCPATH=^/../imports
Note that multiple versions of the same package can appear along the XDCPATH. The package path can name multiple repositories which can contain a package directory with the same name. When searching for a package, the first repository that contains a directory matching the package's name will be used. Thus, even if two packages with the same name appear in the package path, only the first one in the order specified in the package path will be found. 

#3


这个是我在网上查到的,可是还是没有弄明白!请版主剖析剖析,O(∩_∩)O谢谢

#4


点击错误处,进入xdcpaths.dat文件,把这个文件的实际路径修改一下就可以了

#1


我也遇到同样的问题,期盼高手的解答( ⊙ o ⊙ )啊!

#2


What if I get an error like: js: "C:/xdc_2_95_01/include/utils.tci", line 826: exception from uncaught JavaScript throw: Error: Can't load ti.bios.tci :Error: Can't find import file: 'ti/bios/bios.tci'"? 
This occurs if the ti.bios repository is not on the XDCPATH. Set your XDCPATH as shown above. An example BIOS repository is: c:/bios_5_31_02/packages 

XDCPATH
XDCPATH is an environment variable used set to be a string of ';' separated directories that contain packages; i.e., repositories. XDCPATH is not the entire package path, it only defines the initial repositories searched. The values contained in XDCPATH may also be specified on the command line of any XDCtools command via the --xdcpath option; for example, see the xs command options documentation. 
It is usually a mistake to put a relative path in XDCPATH. Relative paths in XDCPATH reference directories relative to the package being built rather than the directory where the xdc command was invoked. Thus, a relative path will refer to a different repository for each package being built. 
It is possible, however, to use the '^' character in the XDCPATH definition to refer to the current package's repository. So, if you have a repository that is always in a fixed location relative to all of your package's repositories, it is possible to create a single XDCPATH setting that does not include any absolute paths. Suppose, for example, that your build system places all prerequisite packages in an imports repository prior to building the packages in a src repository and that the imports and src repositories are sibling directories in the file system. The following XDCPATH setting is sufficient to build all packages in the src repository. 
Windows 
  set XDCPATH=^/../imports
Unix 
  export XDCPATH=^/../imports
Note that multiple versions of the same package can appear along the XDCPATH. The package path can name multiple repositories which can contain a package directory with the same name. When searching for a package, the first repository that contains a directory matching the package's name will be used. Thus, even if two packages with the same name appear in the package path, only the first one in the order specified in the package path will be found. 

#3


这个是我在网上查到的,可是还是没有弄明白!请版主剖析剖析,O(∩_∩)O谢谢

#4


点击错误处,进入xdcpaths.dat文件,把这个文件的实际路径修改一下就可以了