简体   繁体   English

Eclipse Juno,CDT,ARM,OS X上的路径问题

[英]Eclipse Juno, CDT, ARM, path issues on OS X

I'm using Eclipse Juno, trying to get the ARM toolchain working. 我正在使用Eclipse Juno,试图使ARM工具链正常工作。 What I have installed: 我已经安装了什么:

When I create a new C project using the Summon toolchain, the following error appears: 'Program "arm-none-eabi-gcc" not found in path.' 当我使用Summon工具链创建一个新的C项目时,出现以下错误:'在路径中找不到程序“ arm-none-eabi-gcc”。 The error location is "[Discovery Options] page in project properties." 错误位置为“项目属性中的[发现选项]页面”。 I've tried setting the Eclipse-level (Eclipse->Preferences->C/C++->Build->Environment) PATH and the project-level PATH to include this path, both relatively (~/sat) and absolutely /Users/alterscape/sat), but nothing seems to fix the problem. 我试过设置Eclipse级(Eclipse-> Preferences-> C / C ++-> Build-> Environment)PATH和项目级PATH,以相对(〜/ sat)和绝对/ Users /包含此路径。 alterscape / sat),但似乎无法解决此问题。 I've also tried manually adding the full path in the Discovery Options page. 我还尝试在“发现选项”页面中手动添加完整路径。 Is there a known fix? 有已知的解决方法吗? If not, is there a way to echo $PATH inside Eclipse to see what it thinks its path is? 如果没有,是否有办法在Eclipse中回显$ PATH来查看其认为的路径是什么?

So, here's the story: Eclipse CDT does NOT automatically re-check errors to see if they go away after you apply changes to your path. 因此,这里是故事:Eclipse CDT不会自动重新检查错误以查看在将更改应用于路径后它们是否消失了。 You have to manually re-build. 您必须手动重建。 This came as a surprise to me because I am used to my Java toolchain checking/updating errors as I make configuration changes. 这让我感到惊讶,因为在进行配置更改时,我习惯了Java工具链检查/更新错误。 It isn't entirely obvious that you need to re-run Build Project to see if your changes fixed the error, but that's the path forward. 并非完全显而易见,您需要重新运行Build Project来查看您的更改是否修复了错误,但这就是前进的道路。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM