0
我无法从avr-ada的introductory tutorial构建示例代码。我已经改变了在Makefile中的第几行通过本教程的指示:构建AVR-ada应用程序
# MCU name
MCU := atmega2560
# GNAT project file
GPR := build.gpr
# put the names of the target files here (without extension)
ADA_TARGETS := led_on
,并复制示例代码不变。但是,当我运行使我得到以下输出:
D:\build\avr>make
avr-gnatmake -XMCU=atmega2560 -p -Pbuild.gpr -XAVRADA_MAIN=led_on
avr-gnatmake: RTS path not valid: missing adainclude and adalib directories
make: *** [led_on.elf] Error 4
什么可能会导致此问题?
我只在以下位置找到system.ads: – Robin
C:\ GNAT \ 2012 \ lib \ gcc \ avr \ 4.5.4 \ rts-zfp \ adainclude – Robin
您可以添加-v编译标志以查看编译器实际上在寻找。但我认为可能会有安装步骤丢失。查看rts-zfp文件夹中的自述文件和Makefile ... –