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.

OpenMP例程编译错误“can't find specified XDCROOT: D:/Program Files/ti/xdctools_3_25_03_72.”

CCS 5.5

Compiler 7.4.4

omp 1.01.03.02

mcsdk 2.01.02.06

XDCTools 3.25.03.72

CCS自带的omp helloworld例程,编译时报错如下:

D:/Program Files/ti/xdctools_3_25_03_72\packages\xdc\bld\xdc.mak:235: *** can't find specified XDCROOT: D:/Program Files/ti/xdctools_3_25_03_72. Stop.
js: "D:/Program Files/ti/xdctools_3_25_03_72/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.

另外打开omp_config.cfg同样报错:

调了半天,不知如何解决?

  • 你看下omp的release notes,里面对需要的package的依赖有介绍,最好按照里面的要求来配置环境。

  • 谢谢Xiang的回答!

    以下是release notes中的依赖部分:

    Dependencies

    This release requires the following other software components and tools versions to successfully function:

    • CCS 5.1.0 M6 (or later)
    • SYS/BIOS 6.33.04.39
    • XDCTools 3.23.02.47
    • IPC 1.24.02.27
    • PDK 1.1.0.03

    我对照了一下各个包的版本应该都是满足要求的。另外我在另一台PC上就可以正常运行(两台都是win8),用的都是同样的环境,究竟可能是什么问题?

  • 老铁,不知道这个问题您现在解决了么?

    我也是碰到了这个问题,跟你的几乎一摸一样,至今未曾解决,不过我发现一个规律,只要是安装在AMDCPU的电脑下,好像都不行,Intel的CPU就没啥问题了。不知道是不是这个原因造成的。希望对你有所帮助。

  • 路径不能有空格