用mplab加C30编译DSPic出现如下错误

[复制链接]
 楼主| yujietangying 发表于 2013-6-19 11:32 | 显示全部楼层 |阅读模式
C:/Users/Administrator/Desktop/1.png第一次用这东西,请问这是啥错误啊,不胜感激。

----------------------------------------------------------------------
Release build of project `D:\mplab\dspicstart\myproject.mcp' started.
Wed Jun 19 11:34:12 2013
----------------------------------------------------------------------
Make: The target "D:\mplab\dspicstart\main.o" is out of date.
Executing: "D:\Program Files\C30\bin\pic30-gcc.exe" -mcpu=30F6014 -x c -c   "main.c" -o"main.o" -g
Make: The target "D:\mplab\dspicstart\myproject.cof" is out of date.
Executing: "D:\Program Files\C30\bin\pic30-gcc.exe" -mcpu=30F6014 "main.o" -o"myproject.cof" -Wl,-L"D:\Program Files\C30\lib",--script="..\..\Program Files\C30\support\gld\p30f6014.gld",--defsym=__MPLAB_BUILD=1,--heap=512,-Map="myproject.map",--report-mem
D:\Program Files\C30\bin\pic30-ld.exe: unrecognized option '--report-mem'
D:\Program Files\C30\bin\pic30-ld.exe: use the --help option for usage information
Link step failed.
----------------------------------------------------------------------
Release build of project `D:\mplab\dspicstart\myproject.mcp' failed.
Wed Jun 19 11:34:15 2013
----------------------------------------------------------------------
BUILD FAILED
 楼主| yujietangying 发表于 2013-6-19 12:54 | 显示全部楼层
发现问题了C30版本太低了。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

2

主题

8

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部