-
-
Notifications
You must be signed in to change notification settings - Fork 795
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IDE integration fails for Eclipse OSX Luna SR2 or MARS - missing builder #272
Comments
Didn't get any better after that...
|
I've had both Windows and now Mac OSX not work in terms of integration - talk about bad luck! |
I think this issue is due to the fact that Mac OS X does not include /usr/local/bin in its default PATH. Therefore, assuming you're using the default bash shell, you need to execute the command (or include in /etc/profile) export PATH=/usr/local/bin:$PATH |
Fixed the problem by adding 'setenv PATH /usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin' to the file /etc/launchd.conf and rebooted.... Eclipse now can find platformio |
Thanks! I've just added info/note to each IDE into docs http://docs.platformio.org/en/latest/ide/eclipse.html#integration |
... and explanation to FAQ http://docs.platformio.org/en/latest/faq.html#faq-troubleshooting-pionotfoundinpath |
In researching this issue, the solution is different for each release of OS X, so I would recommend that you look at some other way of having Eclipse or OS X find the platformio command. It would seem that /usr/local/bin isn't a place where GUI apps commonly have in their path... a problem that starts in early version of OS X and continues into the latest. The solution I use won't work on OS X 10.10 for example. Can you put a sym link into /usr/bin or similar upon installation so that it is found in the GUI app on OS X ???? |
I had this problem again when installing on a Yosemite (10.10) OS X workstation and fixed it in a way that I think you could probably add to your install script.
|
Thanks, docs updated. |
IDE integration fails for Eclipse OSX Luna SR2 or MARS - missing builder with a path not found.
Error is [Program "platformio" not found in PATH]
If I copy full/correct path it works..../usr/local/bin/platformio
Not sure why
The text was updated successfully, but these errors were encountered: