eclipse 你如何将ada安装到eclipse中?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/11283473/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How do you do install ada into eclipse?
提问by Spencer Hire
I've tried loads of sites to get GNATBench into my eclipse ide but can't seem to find the right link. If I could just download it through the help menu in the ide, that would be perfect.
我已经尝试了很多站点来让 GNATBench 进入我的 eclipse ide,但似乎找不到正确的链接。如果我可以通过ide中的帮助菜单下载它,那就完美了。
采纳答案by Spencer Hire
No joy on Eclipse Marketplace site.
Eclipse Marketplace 网站上没有乐趣。
Gnatbench 2.6 is there but no visible/manageable means of downloading it.
Gnatbench 2.6 在那里,但没有可见/可管理的下载方式。
So go to:
所以去:
http://libre.adacore.com/download/configurations
http://libre.adacore.com/download/configurations
Click on GNAT 2012 and GNATBench 2.6.0, ensuring that all constituent packages are also checked. Click on "Sources" for both GNAT and GNATBench. Then select all packages for each.
单击 GNAT 2012 和 GNATBench 2.6.0,确保还检查了所有组成包。单击 GNAT 和 GNATBench 的“Sources”。然后为每个选择所有包。
Select and check all other packages you're interested in by the same procedure.
通过相同的过程选择并检查您感兴趣的所有其他包。
Click on "Download Selected Files" and save the downloads folder on your desktop. Move the downloads folder to your Administrator account, unzip, read the README file and first install GNAT 2012. Then unzip the GNATBench 2.6, read the README and set about installing it from Eclipse :
单击“下载选定的文件”并将下载文件夹保存在桌面上。将下载文件夹移动到您的管理员帐户,解压缩,阅读 README 文件并首先安装 GNAT 2012。然后解压缩 GNATBench 2.6,阅读 README 并开始从 Eclipse 安装它:
Open Eclipse. Help > Add > Local > Now browse to the folder where the unzipped GNATBench is. Click OK.
打开日食。帮助 > 添加 > 本地 > 现在浏览到解压的 GNATBench 所在的文件夹。单击确定。
This should return you to the Eclipse Install window and you'll see GNATBench installation units listed on the centre of this window. Check the GNATBench option for AdaCore Plugins for Eclipse/CDT only. Leave the WindRiver interface unchecked -- unless you have WindRiver installed on your PC. Complete the installation.
这将使您返回到 Eclipse 安装窗口,您将看到该窗口中央列出了 GNATBench 安装单元。仅检查适用于 Eclipse/CDT 的 AdaCore 插件的 GNATBench 选项。不选中 WindRiver 界面——除非您的 PC 上安装了 WindRiver。完成安装。
回答by tale852150
Open Eclipse. Help > Add > Local > Now browse to the folder where the unzipped GNATBench is. Click OK.
打开日食。帮助 > 添加 > 本地 > 现在浏览到解压的 GNATBench 所在的文件夹。单击确定。
Should be
应该
Open Eclipse. Help > Add > Archive and browse folder where the zipped GNATBench is located. At least this worked for me.
打开日食。帮助 > 添加 > 存档并浏览压缩的 GNATBench 所在的文件夹。至少这对我有用。
回答by Malek Hakim
If you are using Mac OS X, you might not find gnatbench available on the list, you will need to get it from x86 Windows (32 bits) and GNAT GPL from 2012 to 2014.
如果您使用的是 Mac OS X,您可能在列表中找不到可用的 gnatbench,您需要从 2012 年到 2014 年从 x86 Windows(32 位)和 GNAT GPL 获取它。
回答by Howard Freeman
Just a few hints I used to finally resolve issues during installation of the GNATbench plugin for Ada under the Eclipse IDE for Windows 10 Professional 64-bit environment...
在用于 Windows 10 专业版 64 位环境的 Eclipse IDE 下为 Ada 安装 GNATbench 插件期间,我使用了一些提示来最终解决问题......
Look at Step 5 for installation instructions:
查看第 5 步的安装说明:
Only use the 32-bit versions of GNATbench (2014: https://www.adacore.com/download/moregnatbench-2.8.1-bin.zip) [Platform is x86 Windows (32-bit)]
Install the latest of both 64-bit and 32-bit versions of the Oracle JDK 8
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.htmlOnly use a 32-bit version of Eclipse (Oxygen.3a Release (4.7.3a): https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/oxygen/3a/eclipse-java-oxygen-3a-win32.zip)
Install the C/C++ Eclipse toolset
Follow installation instructions here: http://docs.adacore.com/live/wave/gnatbench-src/html/gnatbench_ug/src/getting_started/getting_started.html#
仅使用 32 位版本的 GNATbench (2014: https://www.adacore.com/download/moregnatbench-2.8.1-bin.zip) [平台为 x86 Windows (32-bit)]
安装最新的 64 位和 32 位版本的 Oracle JDK 8
https://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html仅使用 32 位版本的 Eclipse(Oxygen.3a Release (4.7.3a):https://www.eclipse.org/downloads/download.php ?file =/technology/epp/downloads/release/oxygen/3a /eclipse-java-oxygen-3a-win32.zip)
安装 C/C++ Eclipse 工具集
按照此处的安装说明进行操作:http: //docs.adacore.com/live/wave/gnatbench-src/html/gnatbench_ug/src/getting_started/getting_started.html#
This is what finally worked for me after many attempts to use the 64-bit version of Eclipse IDE (Version: 2018-09 (4.9))
在多次尝试使用 64 位版本的 Eclipse IDE(版本:2018-09 (4.9))后,这最终对我有用