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.

编译时can't resolve name

Other Parts Discussed in Thread: ADS1118

Description Resource Path Location Type
xdc.tools.configuro: InternalError: ti.platforms.msp430: can't resolve name xdc.platform.IPlatform.peripherals .xdchelp /ADS1118_Grace line 51 C/C++ Problem

这个是我在论坛下载了一个ADS1118的例程的,编译后提示XDC版本不对,我去下载了一个就报这个了

报错位置的代码如下

* ======== error ========
*/
function error(msg)
{
var inst = this.$private;

switch (inst.self.context) {

case Cmdr.SCRIPT:
throw new Error(inst.cmdname
+ ": " + (msg ? msg : 'fatal error'));
break;
case Cmdr.SHELL:
throw new Error(this.$private.cmdname  //51行
+ ": " + (msg ? msg : 'fatal error'));
break;
}
}