avr studio 编译总错???
错误内容为:Buildstarted1.8.2010at00:56:54avr-gcc-mmcu=atmega16-Wall-gdwarf-2-O0-funsigned-...
错误内容为:Build started 1.8.2010 at 00:56:54
avr-gcc -mmcu=atmega16 -Wall -gdwarf-2 -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wp,-M,-MP,-MT,test1.o,-MF,dep/test1.o.d -c ../test1.c -o test1.o
../test1.c:1:20: avr/io.h: No such file or directory
make: *** [test1.o] Error 1
Build failed with 2 errors and 0 warnings...
装了winavr,makefile是默认的,是不是makefile得改下啊???哪位大虾帮忙解决下!!!!小弟不胜感激!!! 展开
avr-gcc -mmcu=atmega16 -Wall -gdwarf-2 -O0 -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wp,-M,-MP,-MT,test1.o,-MF,dep/test1.o.d -c ../test1.c -o test1.o
../test1.c:1:20: avr/io.h: No such file or directory
make: *** [test1.o] Error 1
Build failed with 2 errors and 0 warnings...
装了winavr,makefile是默认的,是不是makefile得改下啊???哪位大虾帮忙解决下!!!!小弟不胜感激!!! 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询