lizexi486 发表于 2010-8-2 13:20:13

PM 编译软件总是出错

用PM 6.30编译软件编译程序,总是出现下面的错误,提示文件名非法,是怎么回事呢?

"C:\Program Files\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF053564 -y"c:\program files\nec electronics tools\dev" -_msgoff -zpc pll.c

78K0 C Compiler V4.00[ 6 Apr 2007]
   Copyright(C) NEC Electronics Corporation 1991,2007

CC78K0 error F0004: Illegal file name 'pll.c'
Program aborted.
"C:\Program Files\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF053564 -y"c:\program files\nec electronics tools\dev" -_msgoff -zpc systeminit.c

78K0 C Compiler V4.00[ 6 Apr 2007]
   Copyright(C) NEC Electronics Corporation 1991,2007

CC78K0 error F0004: Illegal file name 'systeminit.c'
Program aborted.
"C:\Program Files\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF053564 -y"c:\program files\nec electronics tools\dev" -_msgoff -zpc keyscan.c

78K0 C Compiler V4.00[ 6 Apr 2007]
   Copyright(C) NEC Electronics Corporation 1991,2007

CC78K0 error F0004: Illegal file name 'keyscan.c'
Program aborted.
"C:\Program Files\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF053564 -y"c:\program files\nec electronics tools\dev" -_msgoff -zpc main.c

78K0 C Compiler V4.00[ 6 Apr 2007]
   Copyright(C) NEC Electronics Corporation 1991,2007

CC78K0 error F0004: Illegal file name 'main.c'
Program aborted.
"C:\Program Files\NEC Electronics Tools\RA78K0\V4.00\bin\ra78k0.exe" -cF053564 -y"c:\program files\nec electronics tools\dev" -_msgoffoption.asm

78K0 Assembler V4.00[ 4 Jul 2007]
   Copyright(C) NEC Electronics Corporation 1990,2007

RA78K0 error F2004: Illegal file name 'OPTION.ASM'
Program aborted.
"C:\Program Files\NEC Electronics Tools\CC78K0\V4.00\bin\cc78k0.exe" -cF053564 -y"c:\program files\nec electronics tools\dev" -_msgoff -zpc Ad.c

78K0 C Compiler V4.00[ 6 Apr 2007]
   Copyright(C) NEC Electronics Corporation 1991,2007

CC78K0 error F0004: Illegal file name 'Ad.c'

yuyetufu 发表于 2010-8-2 15:39:51

你的项目文件保存在哪里?记得不能在中文路径下

chenhuayuan 发表于 2010-8-2 21:41:39

建议只使用 /**/ 进行注释,用//注释时有时会将其下一行一起注释掉(出错)即使是设置了支持用//注释。

yunqian09 发表于 2010-8-2 22:08:32

回复【2楼】chenhuayuan
建议只使用 /**/ 进行注释,用//注释时有时会将其下一行一起注释掉(出错)即使是设置了支持用//注释。
-----------------------------------------------------------------------

真的假的? 设置了支持用//注释,还会出错?


不如IAR好用

lizexi486 发表于 2010-8-2 23:16:40

回复【1楼】yuyetufu
-----------------------------------------------------------------------

项目文件是保存在中文目录下,我再试试吧,谢谢了。

55953797 发表于 2011-5-14 16:25:21

回复【2楼】chenhuayuan
-----------------------------------------------------------------------

怎么设置支持用//注释

ztfswpu 发表于 2011-6-30 18:47:19

回复【5楼】55953797
-----------------------------------------------------------------------

打开PM+ V6.30
tool\compliler options\extend\勾选Enable c++Comment,ignore.....
页: [1]
查看完整版本: PM 编译软件总是出错