无法编译AdaControl:项目文件未知:“ asis” [英] Unable to compile AdaControl: unknown project file: "asis"
问题描述
我从 AdaControl 下载了源代码: //sourceforge.net/projects/adacontrol/ rel = nofollow noreferrer> SourceForge存储库。使用GNAT 2017 CE,我在 make
上遇到以下错误:
I downloaded the source for AdaControl from the SourceForge Repo. Using GNAT 2017 CE, I get the following error on make
:
$ make build
gprbuild build.gpr adactl -cargs -bargs -largs
build.gpr:1:06: unknown project file: "asis"
gprbuild: "build.gpr" processing failed
make: *** [adactl] Error 4
说明听起来像是我需要做的,并且没有提供任何故障排除建议:
The instructions make it sound like this is all I need to do, and offer no troubleshooting suggestions:
转到发行版的根目录并键入:
Go to the root directory of the distribution and type:
make build make install
make build make install
以此相关问题注意,尽管它也与GNAT 2017 CE打包在一起,但我设法使ASIS得以构建。
As this related question notes, I have managed to get ASIS to build, though it also comes packaged with GNAT 2017 CE.
推荐答案
Tha t消息表示ASIS4GNAT未安装在 gprbuild
(以及您的GCC / Ada工具链的其余部分)可以找到的位置。
That message means that ASIS4GNAT isn't installed in a place where gprbuild
(and the rest of your GCC/Ada tool-chain) can find it.
您可以使用命令 gnatls -v
来了解GCC / Ada工具链期望项目文件位于何处。
You can use the command gnatls -v
to get an idea about where your GCC/Ada tool-chain expects project files to be located.
将其与实际安装ASIS4GNAT的位置进行比较,您可能会更接近解决方案。
Compare that to where you actually installed ASIS4GNAT, and you may be closer to a solution.
这篇关于无法编译AdaControl:项目文件未知:“ asis”的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!