系统配置:
- Linux 3.19(Mint)
- GPS版本:GPS 2016(20160515),运行在i686-pc-linux-gnu上,使用GNAT 4.6
已安装的软件包:
- libaws-bin
- libaws-dbg
- libaws2.10.2
- libaws2.10.2-dev
- gnat-gps
- gnat-gps-common
- gnat-4.6
- gnat-4.6-base
- gnat-4.8-base
- gnat
故障描述:
当尝试使用GNAT编程工具(GPS)编译aws_hello_world项目时,出现以下错误信息:
错误文本:default.gpr:2:6 未知的项目文件:“aws”
default.gpr
with "aws"; -- This is the line with the error --
project Default is
for Source_Dirs use ("src");
for Object_Dir use "obj";
for Exec_Dir use ".";
for Main use ("default-main.adb");
package Builder is
for Executable ("default-main.adb") use "default";
end Builder;
package Compiler is
for Switches ("Ada") use ("-gnat05");
end Compiler;
end Default;
尝试使用命令行构建项目也失败了:
ada_n00b@wasted_planet ~/Desktop/aws_hello_world $ gprbuild
using project file default.gpr
Error: no native compiler found for language 'ada', default runtime
default.gpr:2:06: unknown project file: "aws"
gprbuild: "default.gpr" processing failed
任何有关如何构建它的帮助都将不胜感激!提前致谢。