Skip to content

Duplicate library in sketchbook no longer has precedence over install folder library #38

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

Closed
per1234 opened this issue Oct 29, 2015 · 6 comments
Assignees
Milestone

Comments

@per1234
Copy link
Contributor

per1234 commented Oct 29, 2015

Using Arduino IDE 1.6.6 2015/10/28 05:06 with Windows 7 64 bit

The duplicate library located in the Arduino IDE install folder is now used instead of the one in the sketchbook/libraries folder.

  • copy arduino-nightly/libraries/Servo to sketchbook/libraries
  • Open IDE
  • File > Examples > Servo > Knob
  • Verify - the multiple libraries warning is:
Multiple libraries were found for "Servo.h"
 Used: C:\Program Files (x86)\arduino-nightly\libraries\Servo
 Not used: E:\Stuff\arduino\libraries\Servo

If I repeat this process with Arduino IDE 1.6.6 2015/10/26 06:42 the warning is:

Multiple libraries were found for "Servo.h"
 Used: E:\Stuff\arduino\libraries\Servo
 Not used: C:\Program Files (x86)\arduino-nightly\libraries\Servo
@ffissore ffissore added the bug label Oct 29, 2015
@ffissore ffissore added this to the 1.0.2 milestone Oct 29, 2015
@ffissore ffissore self-assigned this Oct 29, 2015
@ffissore
Copy link
Contributor

Thanks for the heads up, I'm working on it

@ffissore
Copy link
Contributor

Fixed in latest hourly build http://www.arduino.cc/en/Main/Software#hourly. Thank you very much!

@per1234
Copy link
Contributor Author

per1234 commented Oct 30, 2015

@ffissore I'm still having the same issue using Arduino IDE 1.6.6 2015/10/29 11:41

@ffissore
Copy link
Contributor

That's strange. However, I've just pushed another fix. Try downloading the newest hourly again

@per1234
Copy link
Contributor Author

per1234 commented Oct 30, 2015

That fixed it. One difference I noticed, and I'm not saying it's an issue, just mentioning in case it's not your desired result: With the Servo library in both the Arduino install folder and in sketchbook/libraries in IDE versions before Arduino IDE 1.6.6 2015/10/30 09:58 the Servo examples appeared in the Examples from Custom Libraries section of File > Examples but with Arduino IDE 1.6.6 2015/10/30 09:58 they appear in the Examples from Libraries section instead.

@ffissore
Copy link
Contributor

That's because the hourly was probably built before the library listing was updated, so that the IDE didn't recognize that new version of the Servo lib. So it's expected and not an issue. Thanks for the heads up :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants