
AVR Studio的C语言编译错误,请高手指点!
../aaaa.c:12:fatalerror:openingdependencyfiledep/aaaa.o.d:Nosuchfileordirectorycompil...
../aaaa.c:12: fatal error: opening dependency file dep/aaaa.o.d: No such file or directory
compilation terminated.
有没有可能是设置问题?
请高手指点!!!!!!!!!!!!
本人是新手第一次使用下列软件:
aStudio4b460.exe
WinAVR-20060421-install.exe
用的最简单的程序如下:
#include<avr/io.h>
int main(void)
{
DDRA=0XFF;
while (1)
{
PORTA=0XEF;
}
}
编译就出错:
Build started 9.12.2008 at 20:31:21
AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x60000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
avr-gcc.exe -mmcu=atmega16 -Wall -gdwarf-2 -O0 -MD -MP -MT aaaa.o -MF dep/aaaa.o.d -c ../aaaa.c
../aaaa.c:12: fatal error: opening dependency file dep/aaaa.o.d: No such file or directory
compilation terminated.
make: *** [aaaa.o] Error 1
Build failed with 1 errors and 0 warnings... 展开
compilation terminated.
有没有可能是设置问题?
请高手指点!!!!!!!!!!!!
本人是新手第一次使用下列软件:
aStudio4b460.exe
WinAVR-20060421-install.exe
用的最简单的程序如下:
#include<avr/io.h>
int main(void)
{
DDRA=0XFF;
while (1)
{
PORTA=0XEF;
}
}
编译就出错:
Build started 9.12.2008 at 20:31:21
AllocationBase 0x0, BaseAddress 0x71590000, RegionSize 0x60000, State 0x10000
C:\WinAVR\utils\bin\sh.exe: *** Couldn't reserve space for cygwin's heap, Win32 error 487
avr-gcc.exe -mmcu=atmega16 -Wall -gdwarf-2 -O0 -MD -MP -MT aaaa.o -MF dep/aaaa.o.d -c ../aaaa.c
../aaaa.c:12: fatal error: opening dependency file dep/aaaa.o.d: No such file or directory
compilation terminated.
make: *** [aaaa.o] Error 1
Build failed with 1 errors and 0 warnings... 展开
1个回答
展开全部
没把文件添加到工程里面去:在编辑文件里右键—>Add to project;或者指定的库不对:Project->option->paths改下Include和Library Path到你实际文件夹位置
试下 很容易的
试下 很容易的

2023-06-12 广告
STM32F103是一款高性能的嵌入式芯片,由意法半导体(STMicroelectronics)公司生产。它是STM32系列芯片之一,具有紧凑、低功耗、高性能等特点,被广泛应用于嵌入式系统中。STM32F103的主要特点包括:1. 集成了A...
点击进入详情页
本回答由意法半导体(中国)投资有限公司提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询